pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-waitress 1.0.2:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8332735d7aef
branches:  trunk
changeset: 365046:8332735d7aef
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jul 09 21:24:24 2017 +0000

description:
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:

 www/py-waitress/ALTERNATIVES |   1 +
 www/py-waitress/Makefile     |  11 +++++++++--
 www/py-waitress/PLIST        |   4 ++--
 www/py-waitress/distinfo     |  10 +++++-----
 4 files changed, 17 insertions(+), 9 deletions(-)

diffs (58 lines):

diff -r 2b8785a8a9d3 -r 8332735d7aef www/py-waitress/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-waitress/ALTERNATIVES      Sun Jul 09 21:24:24 2017 +0000
@@ -0,0 +1,1 @@
+bin/waitress-serve @PREFIX@/bin/waitress-serve@PYVERSSUFFIX@
diff -r 2b8785a8a9d3 -r 8332735d7aef www/py-waitress/Makefile
--- a/www/py-waitress/Makefile  Sun Jul 09 21:16:41 2017 +0000
+++ b/www/py-waitress/Makefile  Sun Jul 09 21:24:24 2017 +0000
@@ -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 @@
 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 -r 2b8785a8a9d3 -r 8332735d7aef www/py-waitress/PLIST
--- a/www/py-waitress/PLIST     Sun Jul 09 21:16:41 2017 +0000
+++ b/www/py-waitress/PLIST     Sun Jul 09 21:24:24 2017 +0000
@@ -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 -r 2b8785a8a9d3 -r 8332735d7aef www/py-waitress/distinfo
--- a/www/py-waitress/distinfo  Sun Jul 09 21:16:41 2017 +0000
+++ b/www/py-waitress/distinfo  Sun Jul 09 21:24:24 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index