Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2013 15:45:50 +1000 (EST)
From:      Kubilay Kocak <koobs.freebsd@gmail.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/178768: [PATCH] www/py-feedgenerator: update to 1.5, Use setuptools
Message-ID:  <20130519054550.DC43739F05@freebsd-RELENG_9-amd64.elysium>
Resent-Message-ID: <201305190550.r4J5o0jk015077@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         178768
>Category:       ports
>Synopsis:       [PATCH] www/py-feedgenerator: update to 1.5, Use setuptools
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 19 05:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Kubilay Kocak
>Release:        FreeBSD 9.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD freebsd-RELENG_9-amd64.elysium 9.1-STABLE FreeBSD 9.1-STABLE #1 r250655: Wed May 15 15:28:38 EST
>Description:
This is an update to py-feedgenerator so we can update www/pelican!

CommitLog:

www/py-feedgenerator: Update to 1.5, Use setuptools

- Update to 1.5
- Use setuptools instead of distutils
- Update pkg-plist
- Add RUN_DEPENDS on pytz and six
- Patch setup.py to fix test_suite and add zip_safe=False
- Trim Makefile header
- Whitespace alignment
- Update WWW location and change Tab->space in pkg-descr

QA:

portlint: OK - looks fine.
porttest: OK - 9-STABLE amd6)
unittest: OK - Ran 4 tests in 0.001s
testport: OK - poudriere - All versions & archs

Port maintainer (jlaffaye@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_7 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:

--- py27-feedgenerator-1.5.patch begins here ---
diff -ruN /usr/ports/www/py-feedgenerator/Makefile ./Makefile
--- /usr/ports/www/py-feedgenerator/Makefile	2012-11-17 17:03:00.000000000 +1100
+++ ./Makefile	2013-05-19 14:56:24.185255252 +1000
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	py-feedgenerator
-# Date created:		2011-06-19
-# Whom:			Julien Laffaye <jlaffaye@FreeBSD.org>
-#
-# $FreeBSD: ports/www/py-feedgenerator/Makefile,v 1.2 2012/11/17 06:03:00 svnexp Exp $
-#
+# Created by: Julien Laffaye <jlaffaye@FreeBSD.org>
+# $FreeBSD: head/www/py-feedgenerator/Makefile 300897 2012-07-14 14:29:18Z beat $
 
 PORTNAME=	feedgenerator
-PORTVERSION=	1.2.1
+PORTVERSION=	1.5
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,7 +12,10 @@
 
 LICENSE=	BSD
 
-USE_PYTHON=	yes
-USE_PYDISTUTILS=yes
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz \
+		${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six
+
+USE_PYTHON=		yes
+USE_PYDISTUTILS=	easy_install
 
 .include <bsd.port.mk>
diff -ruN /usr/ports/www/py-feedgenerator/distinfo ./distinfo
--- /usr/ports/www/py-feedgenerator/distinfo	2011-06-20 04:13:08.000000000 +1000
+++ ./distinfo	2013-05-19 14:37:20.415918280 +1000
@@ -1,2 +1,2 @@
-SHA256 (feedgenerator-1.2.1.tar.gz) = e099309847086ac6092ac498cf0bcc0abf9cdaa037fc3a6d245a03429cbb78e7
-SIZE (feedgenerator-1.2.1.tar.gz) = 5555
+SHA256 (feedgenerator-1.5.tar.gz) = 7bc7dae02d5ca37f305311ca1696f2945625b08db70056b35f18727894bc5a3e
+SIZE (feedgenerator-1.5.tar.gz) = 909738
diff -ruN /usr/ports/www/py-feedgenerator/files/patch-setup.py ./files/patch-setup.py
--- /usr/ports/www/py-feedgenerator/files/patch-setup.py	1970-01-01 10:00:00.000000000 +1000
+++ ./files/patch-setup.py	2013-05-19 14:41:43.516976829 +1000
@@ -0,0 +1,17 @@
+--- ./setup.py.orig	2013-01-11 11:56:38.000000000 +1100
++++ ./setup.py	2013-05-19 14:41:39.961240204 +1000
+@@ -32,7 +32,7 @@
+ KEYWORDS = "feed atom rss".split(' ')
+ VERSION = '1.5'
+ 
+-TEST_SUITE = 'tests'
++TEST_SUITE = 'tests_feedgenerator'
+ 
+ REQUIRES = ['pytz', 'six']
+ 
+@@ -52,4 +52,5 @@
+     keywords=KEYWORDS,
+     url=URL,
+     classifiers=CLASSIFIERS,
++    zip_safe=False,
+ )
diff -ruN /usr/ports/www/py-feedgenerator/pkg-descr ./pkg-descr
--- /usr/ports/www/py-feedgenerator/pkg-descr	2011-06-20 04:13:08.000000000 +1000
+++ ./pkg-descr	2013-05-19 14:36:54.226004572 +1000
@@ -1,3 +1,3 @@
 Standalone version of django.utils.feedgenerator
 
-WWW:	http://hg.lolnet.org/feedgenerator/
+WWW: https://github.com/dmdm/feedgenerator-py3k
diff -ruN /usr/ports/www/py-feedgenerator/pkg-plist ./pkg-plist
--- /usr/ports/www/py-feedgenerator/pkg-plist	2012-11-17 17:03:00.000000000 +1100
+++ ./pkg-plist	2013-05-19 14:43:54.028203155 +1000
@@ -1,4 +1,42 @@
-@comment $FreeBSD: ports/www/py-feedgenerator/pkg-plist,v 1.2 2012/11/17 06:03:00 svnexp Exp $
-%%PYTHON_SITELIBDIR%%/feedgenerator.py
-%%PYTHON_SITELIBDIR%%/feedgenerator.pyc
-%%PYTHON_SITELIBDIR%%/feedgenerator.pyo
+@comment $FreeBSD: head/www/py-feedgenerator/pkg-plist 300897 2012-07-14 14:29:18Z beat $
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/datetime_safe.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/datetime_safe.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/datetime_safe.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/encoding.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/encoding.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/encoding.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/feedgenerator.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/feedgenerator.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/feedgenerator.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/functional.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/functional.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/functional.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/six.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/six.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/six.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/timezone.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/timezone.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/timezone.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/xmlutils.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/xmlutils.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils/xmlutils.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django/utils
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator/django
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/feedgenerator
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
--- py27-feedgenerator-1.5.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130519054550.DC43739F05>