summaryrefslogtreecommitdiff
path: root/www/py-gunicorn
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-08-28 10:34:07 +0000
committerwiz <wiz@pkgsrc.org>2015-08-28 10:34:07 +0000
commit7611a7ed3d290d72af815e7312dd11c964b8ee20 (patch)
tree0a342250a75989cb024935a0ab589ec7d3050610 /www/py-gunicorn
parent8bcf172800f10f2ea3350de51407ad45deb1e6d6 (diff)
downloadpkgsrc-7611a7ed3d290d72af815e7312dd11c964b8ee20.tar.gz
Mark as not-for-python-2.x. Add compiled files for 3.x to PLIST.
Bump PKGREVISION.
Diffstat (limited to 'www/py-gunicorn')
-rw-r--r--www/py-gunicorn/Makefile9
-rw-r--r--www/py-gunicorn/PLIST4
2 files changed, 11 insertions, 2 deletions
diff --git a/www/py-gunicorn/Makefile b/www/py-gunicorn/Makefile
index 22382dcb32c..a14bd73d5f8 100644
--- a/www/py-gunicorn/Makefile
+++ b/www/py-gunicorn/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2015/08/09 18:41:58 gls Exp $
+# $NetBSD: Makefile,v 1.4 2015/08/28 10:34:07 wiz Exp $
DISTNAME= gunicorn-19.3.0
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= https://pypi.python.org/packages/source/g/gunicorn/
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -16,6 +17,12 @@ 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
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
post-install:
cd ${WRKSRC}/docs/source && pax -wr -pma *.rst \
${DESTDIR}${DOCDIR}
diff --git a/www/py-gunicorn/PLIST b/www/py-gunicorn/PLIST
index 6e88b2e512c..3802a6d7138 100644
--- a/www/py-gunicorn/PLIST
+++ b/www/py-gunicorn/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2015/08/09 18:41:58 gls Exp $
+@comment $NetBSD: PLIST,v 1.4 2015/08/28 10:34:07 wiz Exp $
bin/gunicorn
bin/gunicorn_django
bin/gunicorn_paster
@@ -111,6 +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
${PYSITELIB}/gunicorn/workers/async.py
${PYSITELIB}/gunicorn/workers/async.pyc
${PYSITELIB}/gunicorn/workers/async.pyo