Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Nov 2012 19:14:57 +1100 (EST)
From:      Kubilay Kocak <koobs.freebsd@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/173901: [MAINTAINER] www/py-gunicorn: update to 0.16.1, Use GITHUB mastersite, Test changes
Message-ID:  <20121125081457.85B3739E80@freebsd-9-amd64.localdomain>
Resent-Message-ID: <201211250820.qAP8K2jm039085@freefall.freebsd.org>

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

>Number:         173901
>Category:       ports
>Synopsis:       [MAINTAINER] www/py-gunicorn: update to 0.16.1, Use GITHUB mastersite, Test changes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 25 08:20:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kubilay Kocak
>Release:        FreeBSD 9.0-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD freebsd-9-amd64 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Sat Jul  7 21:26:56 EST
>Description:
- Update to 0.16.1
- Update pkg-plist
- Use GITHUB mastersite (remove CHEESESHOP)
- Remove USE_PYTHON version limit (Python3 Ready)
- Tweak TESTS_DESC
- Allow OPTIONSFILE to be overridden
- Re-order TEST_DEPENDS
- Replace py-nose with py-test in TEST_DEPENDS
- Add {TEST,RUN}_DEPENDS to BUILD_DEPENDS when TESTS option is selected
- Patch out pytest-cov from requirements_dev.txt
- Update regression-test target bits

Changes: https://github.com/benoitc/gunicorn/blob/0.16.1/docs/source/news.rst

====[QA]====
portlint: WARN: Makefile: only one MASTER_SITE configured (FP)
porttest: OK
unittest: 48 passed in 4.35 seconds
poudriere:

VERSION              ARCH    
8.3-RELEASE          amd64  OK
8.3-RELEASE          i386   OK
9.0-RELEASE          amd64  OK
9.0-RELEASE          i386   OK
9.1-RC3              amd64  OK
============

Added file(s):
- files/patch-requirements_dev.txt

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

--- py27-gunicorn-0.16.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/py-gunicorn/Makefile ./Makefile
--- /usr/ports/www/py-gunicorn/Makefile	2012-11-17 17:03:00.000000000 +1100
+++ ./Makefile	2012-11-25 18:40:51.000000000 +1100
@@ -1,10 +1,9 @@
 # Created by: Kristaps Kulis <kristaps.kulis@gmail.com>
-# $FreeBSD: ports/www/py-gunicorn/Makefile,v 1.8 2012/11/17 06:03:00 svnexp Exp $
+# $FreeBSD: ports/www/py-gunicorn/Makefile,v 1.6 2012/07/18 17:18:25 olivierd Exp $
 
 PORTNAME=	gunicorn
-PORTVERSION=	0.15.0
+PORTVERSION=	0.16.1
 CATEGORIES=	www python
-MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	koobs.freebsd@gmail.com
@@ -12,9 +11,13 @@
 
 LICENSE=	MIT
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose
+USE_GITHUB=	yes
+GH_ACCOUNT=	benoitc
+GH_TAGNAME=	0.16.1
+GH_COMMIT=	faf2cc5
 
-USE_PYTHON=		-2.7
+# Python3 Ready
+USE_PYTHON=		yes
 USE_PYDISTUTILS=	easy_install
 
 OPTIONS_DEFINE=	EVENTLET GEVENT TORNADO SETPROC TESTS
@@ -22,9 +25,9 @@
 GEVENT_DESC=	Add Gevent async worker
 TORNADO_DESC=	Add Tornado async worker
 SETPROC_DESC=	Support changing process title (setproctitle)
-TESTS_DESC=	Install nose for running unittests
+TESTS_DESC=	Install tools for running unittests
 
-OPTIONSFILE=		${PORT_DBDIR}/py-${PORTNAME}/options
+OPTIONSFILE?=		${PORT_DBDIR}/py-${PORTNAME}/options
 NO_OPTIONS_SORT=	yes
 
 .include <bsd.port.options.mk>
@@ -46,10 +49,13 @@
 .endif
 
 .if ${PORT_OPTIONS:MTESTS}
-BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose
+BUILD_DEPENDS:=	${TEST_DEPENDS} \
+		${RUN_DEPENDS}
 .endif
 
+TEST_DEPENDS:=	${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
+
 regression-test: build
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} nosetests
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/www/py-gunicorn/distinfo ./distinfo
--- /usr/ports/www/py-gunicorn/distinfo	2012-10-20 01:26:05.000000000 +1100
+++ ./distinfo	2012-11-20 18:44:28.000000000 +1100
@@ -1,2 +1,2 @@
-SHA256 (gunicorn-0.15.0.tar.gz) = 811f7e9b6b81f5ef4ba07ba071ee8f09ce2c9b16824b75fcaf6452af8bc9a9ad
-SIZE (gunicorn-0.15.0.tar.gz) = 119108
+SHA256 (gunicorn-0.16.1.tar.gz) = eef92b6a530f6596e1b3e25de69a1914920b345d897a40d917395023c8e563f9
+SIZE (gunicorn-0.16.1.tar.gz) = 333228
diff -ruN --exclude=CVS /usr/ports/www/py-gunicorn/files/patch-requirements_dev.txt ./files/patch-requirements_dev.txt
--- /usr/ports/www/py-gunicorn/files/patch-requirements_dev.txt	1970-01-01 10:00:00.000000000 +1000
+++ ./files/patch-requirements_dev.txt	2012-11-20 18:50:26.000000000 +1100
@@ -0,0 +1,5 @@
+--- ./requirements_dev.txt.orig	2012-11-20 18:50:15.000000000 +1100
++++ ./requirements_dev.txt	2012-11-20 18:50:21.000000000 +1100
+@@ -1,2 +1 @@
+ pytest
+-pytest-cov
diff -ruN --exclude=CVS /usr/ports/www/py-gunicorn/pkg-plist ./pkg-plist
--- /usr/ports/www/py-gunicorn/pkg-plist	2012-04-23 16:59:52.000000000 +1000
+++ ./pkg-plist	2012-11-17 00:22:26.000000000 +1100
@@ -67,9 +67,6 @@
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/http/wsgi.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/http/wsgi.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/http/wsgi.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/logging_config.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/logging_config.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/logging_config.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/management/__init__.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/management/__init__.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/management/__init__.pyo
@@ -82,6 +79,9 @@
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/pidfile.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/pidfile.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/pidfile.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/six.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/six.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/six.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/sock.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/sock.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/gunicorn/sock.pyo
--- py27-gunicorn-0.16.1.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?20121125081457.85B3739E80>