summaryrefslogtreecommitdiff
path: root/www/py-waitress
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-07-09 21:24:24 +0000
committeradam <adam@pkgsrc.org>2017-07-09 21:24:24 +0000
commit86f89f0bba6132e61dd363915b79a80ddb3c6e15 (patch)
tree31f3bb4199286e65c284ca020fab9a46e109c977 /www/py-waitress
parentfe45dc85ffbd582c5220e943dfe52db0d3f24734 (diff)
downloadpkgsrc-86f89f0bba6132e61dd363915b79a80ddb3c6e15.tar.gz
1.0.2:
Features - Python 3.6 is now officially supported in Waitress Bugfixes - Add a work-around for libc issue on Linux not following the documented standards. If getnameinfo() fails because of DNS not being available it should return the IP address instead of the reverse DNS entry, however instead getnameinfo() raises. We catch this, and ask getnameinfo() for the same information again, explicitly asking for IP address instead of reverse DNS hostname.
Diffstat (limited to 'www/py-waitress')
-rw-r--r--www/py-waitress/ALTERNATIVES1
-rw-r--r--www/py-waitress/Makefile11
-rw-r--r--www/py-waitress/PLIST4
-rw-r--r--www/py-waitress/distinfo10
4 files changed, 17 insertions, 9 deletions
diff --git a/www/py-waitress/ALTERNATIVES b/www/py-waitress/ALTERNATIVES
new file mode 100644
index 00000000000..b8676e9373e
--- /dev/null
+++ b/www/py-waitress/ALTERNATIVES
@@ -0,0 +1 @@
+bin/waitress-serve @PREFIX@/bin/waitress-serve@PYVERSSUFFIX@
diff --git a/www/py-waitress/Makefile b/www/py-waitress/Makefile
index 17d762bca8e..4b1269061d2 100644
--- a/www/py-waitress/Makefile
+++ b/www/py-waitress/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2016/06/08 17:43:43 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2017/07/09 21:24:24 adam Exp $
-DISTNAME= waitress-0.8.9
+DISTNAME= waitress-1.0.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=w/waitress/}
@@ -10,7 +10,14 @@ HOMEPAGE= https://github.com/Pylons/waitress
COMMENT= Production-quality pure-Python WSGI server
LICENSE= zpl-2.1
+BUILD_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
+BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+
USE_LANGUAGES= # none
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} waitress-serve waitress-serve${PYVERSSUFFIX} || ${TRUE}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-waitress/PLIST b/www/py-waitress/PLIST
index 317190c75f2..c745af519a5 100644
--- a/www/py-waitress/PLIST
+++ b/www/py-waitress/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2015/07/15 18:23:55 wiz Exp $
-bin/waitress-serve
+@comment $NetBSD: PLIST,v 1.2 2017/07/09 21:24:24 adam Exp $
+bin/waitress-serve${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
diff --git a/www/py-waitress/distinfo b/www/py-waitress/distinfo
index 2c7d24ef2fb..661083a2977 100644
--- a/www/py-waitress/distinfo
+++ b/www/py-waitress/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/04 02:47:31 agc Exp $
+$NetBSD: distinfo,v 1.3 2017/07/09 21:24:24 adam Exp $
-SHA1 (waitress-0.8.9.tar.gz) = 36e79bac29311e864ff69dcb07bc618f9a0f5c07
-RMD160 (waitress-0.8.9.tar.gz) = ffb554c5e30d7849b688258d80b96d0fd81a8c70
-SHA512 (waitress-0.8.9.tar.gz) = e9459b8806389fcdbd6f7cfc4fc908c2076f1fcc306315c5375c872c1a0c43c2537347322f7becf1ad36aec0050dca7b2f713f35318fe3a371e544cc880b7d8c
-Size (waitress-0.8.9.tar.gz) = 121048 bytes
+SHA1 (waitress-1.0.2.tar.gz) = f139ee2138b865e098abdd7fc1df168928b43174
+RMD160 (waitress-1.0.2.tar.gz) = d57a2ceaf0427e13ec220a914994638b66cf9b63
+SHA512 (waitress-1.0.2.tar.gz) = b7000e1198ac306ce189f70c5dcfcf41318e5ec47c8d6183cdbc360c8759ca726405d5da70f1c7fe3cfeb39d528af94d693767c2a7a1a7fe460c6407857ec6f0
+Size (waitress-1.0.2.tar.gz) = 124685 bytes