summaryrefslogtreecommitdiff
path: root/www/py-gunicorn
diff options
context:
space:
mode:
authorwiz <wiz>2015-08-28 15:18:24 +0000
committerwiz <wiz>2015-08-28 15:18:24 +0000
commiteb0b53cc679b805af52b30f8629edcbe208dabe3 (patch)
treeaa5485d2abe6be3c238943233193cdbee3720bfc /www/py-gunicorn
parent7addc2e02aa2bb1836dac639ba51d36891033886 (diff)
downloadpkgsrc-eb0b53cc679b805af52b30f8629edcbe208dabe3.tar.gz
Upstream claims that it doesn't matter that one file does not compile.
Allow python-2.x again and adapt PLIST.
Diffstat (limited to 'www/py-gunicorn')
-rw-r--r--www/py-gunicorn/Makefile10
-rw-r--r--www/py-gunicorn/PLIST6
2 files changed, 6 insertions, 10 deletions
diff --git a/www/py-gunicorn/Makefile b/www/py-gunicorn/Makefile
index 5d17dfaa431..45eedff0209 100644
--- a/www/py-gunicorn/Makefile
+++ b/www/py-gunicorn/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2015/08/28 10:37:15 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2015/08/28 15:18:24 wiz Exp $
DISTNAME= gunicorn-19.3.0
PKGREVISION= 1
@@ -17,13 +17,9 @@ DOCDIR= ${PREFIX}/share/doc/py-gunicorn
EXAMPLESDIR= ${PREFIX}/share/examples/py-gunicorn
AUTO_MKDIRS= yes
-# File "/usr/pkg/lib/python2.7/site-packages/gunicorn/workers/_gaiohttp.py", line 68
-# yield from self.wsgi.close()
-# ^
-# SyntaxError: invalid syntax
-#
# https://github.com/benoitc/gunicorn/issues/1108
-PYTHON_VERSIONS_INCOMPATIBLE= 27
+# according to upstream it is fine that one file does not
+# compile with python-2.x because it won't be used there
post-install:
cd ${WRKSRC}/docs/source && pax -wr -pma *.rst \
diff --git a/www/py-gunicorn/PLIST b/www/py-gunicorn/PLIST
index 3802a6d7138..f095bda7141 100644
--- a/www/py-gunicorn/PLIST
+++ b/www/py-gunicorn/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2015/08/28 10:34:07 wiz Exp $
+@comment $NetBSD: PLIST,v 1.5 2015/08/28 15:18:24 wiz Exp $
bin/gunicorn
bin/gunicorn_django
bin/gunicorn_paster
@@ -111,8 +111,8 @@ ${PYSITELIB}/gunicorn/workers/__init__.py
${PYSITELIB}/gunicorn/workers/__init__.pyc
${PYSITELIB}/gunicorn/workers/__init__.pyo
${PYSITELIB}/gunicorn/workers/_gaiohttp.py
-${PYSITELIB}/gunicorn/workers/_gaiohttp.pyc
-${PYSITELIB}/gunicorn/workers/_gaiohttp.pyo
+${PLIST.py3x}${PYSITELIB}/gunicorn/workers/_gaiohttp.pyc
+${PLIST.py3x}${PYSITELIB}/gunicorn/workers/_gaiohttp.pyo
${PYSITELIB}/gunicorn/workers/async.py
${PYSITELIB}/gunicorn/workers/async.pyc
${PYSITELIB}/gunicorn/workers/async.pyo