diff options
author | wiz <wiz> | 2015-08-28 15:18:24 +0000 |
---|---|---|
committer | wiz <wiz> | 2015-08-28 15:18:24 +0000 |
commit | 5de0bb1eb98df4cd2b2b25aa472fd4abc1aa3775 (patch) | |
tree | aa5485d2abe6be3c238943233193cdbee3720bfc | |
parent | b66db5cab9cf34cafbcfa1cf0776a94d5ea0cc78 (diff) | |
download | pkgsrc-5de0bb1eb98df4cd2b2b25aa472fd4abc1aa3775.tar.gz |
Upstream claims that it doesn't matter that one file does not compile.
Allow python-2.x again and adapt PLIST.
-rw-r--r-- | www/py-gunicorn/Makefile | 10 | ||||
-rw-r--r-- | www/py-gunicorn/PLIST | 6 |
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 |