pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-gunicorn



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Apr 30 08:48:07 UTC 2018

Modified Files:
        pkgsrc/www/py-gunicorn: Makefile PLIST distinfo
        pkgsrc/www/py-gunicorn/patches: patch-requirements__test.txt

Log Message:
py-gunicorn: updated to 19.8.0

19.8.0:
Eventlet 0.21.0 support
Tornado 5 support
support watching additional files with --reload-extra-file
support configuring logging with a dictionary with --logging-config-dict
add support for the --config flag in the GUNICORN_CMD_ARGS environment variable
disable SO_REUSEPORT by default and add the --reuse-port setting
fix: installing inotify on MacOS no longer breaks the reloader
fix: do not throw TypeError when SO_REUSEPORT is not available
fix: properly decode HTTP paths containing certain non-ASCII characters
fix: remove whitespace when logging header values under gevent
fix: close unlinked temporary files
fix: parse --umask=0 correctly
fix: allow loading applications using relative file paths
fix: force blocking mode on the gevent sockets
fix: preserve leading / in request path
fix: forbid contradictory secure scheme headers
fix: handle malformed basic authentication headers in access log
fix: defer handling of USR1 signal to a new greenlet under gevent
fix: the threaded worker would sometimes close the wrong keep-alive connection under Python 2
fix: re-open log files on USR1 signal using handler._open to support subclasses of FileHandler
deprecation: the gaiohttp worker is deprecated, see the worker_class documentation for more information


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/www/py-gunicorn/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/py-gunicorn/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-gunicorn/distinfo
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/www/py-gunicorn/patches/patch-requirements__test.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-gunicorn/Makefile
diff -u pkgsrc/www/py-gunicorn/Makefile:1.11 pkgsrc/www/py-gunicorn/Makefile:1.12
--- pkgsrc/www/py-gunicorn/Makefile:1.11        Tue Nov 14 00:28:00 2017
+++ pkgsrc/www/py-gunicorn/Makefile     Mon Apr 30 08:48:07 2018
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2017/11/14 00:28:00 minskim Exp $
+# $NetBSD: Makefile,v 1.12 2018/04/30 08:48:07 adam Exp $
 
-DISTNAME=      gunicorn-19.7.1
-PKGREVISION=   1
-CATEGORIES=    www
+DISTNAME=      gunicorn-19.8.0
+CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/gunicorn/}
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 
@@ -11,24 +10,15 @@ HOMEPAGE=   http://gunicorn.org/
 COMMENT=       Python WSGI HTTP server
 LICENSE=       mit
 
-# These depends is used for test
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-cov>=0:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0.5:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=2.4.0:../../devel/py-test-cov
 
-USE_TOOLS+=    pax
-
-DOCDIR=                ${PREFIX}/share/doc/${PKGBASE}
-EXAMPLESDIR=   ${PREFIX}/share/examples/${PKGBASE}
-AUTO_MKDIRS=   yes
-
-INSTALLATION_DIRS+=    share/doc/${PKGBASE} share/examples/${PKGBASE}
+USE_LANGUAGES= # none
 
 post-install:
-       cd ${WRKSRC}/docs/source && pax -wr -pma *.rst  \
-               ${DESTDIR}${DOCDIR}
-       cd ${WRKSRC}/examples && pax -wr -pma *         \
-               ${DESTDIR}${EXAMPLESDIR}
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} gunicorn gunicorn-${PYVERSSUFFIX} || ${TRUE}
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} gunicorn_paster gunicorn_paster-${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+               ${MV} gunicorn gunicorn-${PYVERSSUFFIX} && \
+               ${MV} gunicorn_paster gunicorn_paster-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-gunicorn/PLIST
diff -u pkgsrc/www/py-gunicorn/PLIST:1.8 pkgsrc/www/py-gunicorn/PLIST:1.9
--- pkgsrc/www/py-gunicorn/PLIST:1.8    Fri Nov  3 14:39:27 2017
+++ pkgsrc/www/py-gunicorn/PLIST        Mon Apr 30 08:48:07 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2017/11/03 14:39:27 leot Exp $
+@comment $NetBSD: PLIST,v 1.9 2018/04/30 08:48:07 adam Exp $
 bin/gunicorn-${PYVERSSUFFIX}
 bin/gunicorn_paster-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -6,6 +6,7 @@ ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
 ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/gunicorn/__init__.py
 ${PYSITELIB}/gunicorn/__init__.pyc
@@ -127,74 +128,3 @@ ${PYSITELIB}/gunicorn/workers/sync.pyo
 ${PYSITELIB}/gunicorn/workers/workertmp.py
 ${PYSITELIB}/gunicorn/workers/workertmp.pyc
 ${PYSITELIB}/gunicorn/workers/workertmp.pyo
-share/doc/${PKGBASE}/2010-news.rst
-share/doc/${PKGBASE}/2011-news.rst
-share/doc/${PKGBASE}/2012-news.rst
-share/doc/${PKGBASE}/2013-news.rst
-share/doc/${PKGBASE}/2014-news.rst
-share/doc/${PKGBASE}/2015-news.rst
-share/doc/${PKGBASE}/2016-news.rst
-share/doc/${PKGBASE}/2017-news.rst
-share/doc/${PKGBASE}/community.rst
-share/doc/${PKGBASE}/configure.rst
-share/doc/${PKGBASE}/custom.rst
-share/doc/${PKGBASE}/deploy.rst
-share/doc/${PKGBASE}/design.rst
-share/doc/${PKGBASE}/faq.rst
-share/doc/${PKGBASE}/index.rst
-share/doc/${PKGBASE}/install.rst
-share/doc/${PKGBASE}/instrumentation.rst
-share/doc/${PKGBASE}/news.rst
-share/doc/${PKGBASE}/run.rst
-share/doc/${PKGBASE}/settings.rst
-share/doc/${PKGBASE}/signals.rst
-share/examples/${PKGBASE}/alt_spec.py
-share/examples/${PKGBASE}/bad.py
-share/examples/${PKGBASE}/boot_fail.py
-share/examples/${PKGBASE}/echo.py
-share/examples/${PKGBASE}/example_config.py
-share/examples/${PKGBASE}/frameworks/cherryapp.py
-share/examples/${PKGBASE}/frameworks/django/README
-share/examples/${PKGBASE}/frameworks/django/testing/manage.py
-share/examples/${PKGBASE}/frameworks/django/testing/testing/__init__.py
-share/examples/${PKGBASE}/frameworks/django/testing/testing/apps/__init__.py
-share/examples/${PKGBASE}/frameworks/django/testing/testing/apps/someapp/__init__.py
-share/examples/${PKGBASE}/frameworks/django/testing/testing/apps/someapp/middleware.py
-share/examples/${PKGBASE}/frameworks/django/testing/testing/apps/someapp/models.py
-share/examples/${PKGBASE}/frameworks/django/testing/testing/apps/someapp/templates/base.html
-share/examples/${PKGBASE}/frameworks/django/testing/testing/apps/someapp/templates/home.html
-share/examples/${PKGBASE}/frameworks/django/testing/testing/apps/someapp/tests.py
-share/examples/${PKGBASE}/frameworks/django/testing/testing/apps/someapp/urls.py
-share/examples/${PKGBASE}/frameworks/django/testing/testing/apps/someapp/views.py
-share/examples/${PKGBASE}/frameworks/django/testing/testing/settings.py
-share/examples/${PKGBASE}/frameworks/django/testing/testing/urls.py
-share/examples/${PKGBASE}/frameworks/django/testing/testing/wsgi.py
-share/examples/${PKGBASE}/frameworks/flask_sendfile.py
-share/examples/${PKGBASE}/frameworks/flaskapp.py
-share/examples/${PKGBASE}/frameworks/pyramidapp.py
-share/examples/${PKGBASE}/frameworks/tornadoapp.py
-share/examples/${PKGBASE}/frameworks/webpyapp.py
-share/examples/${PKGBASE}/gunicorn_rc
-share/examples/${PKGBASE}/hello.txt
-share/examples/${PKGBASE}/log_app.ini
-share/examples/${PKGBASE}/log_app.py
-share/examples/${PKGBASE}/logging.conf
-share/examples/${PKGBASE}/longpoll.py
-share/examples/${PKGBASE}/multiapp.py
-share/examples/${PKGBASE}/multidomainapp.py
-share/examples/${PKGBASE}/nginx.conf
-share/examples/${PKGBASE}/read_django_settings.py
-share/examples/${PKGBASE}/readline.py
-share/examples/${PKGBASE}/sendfile.py
-share/examples/${PKGBASE}/server.crt
-share/examples/${PKGBASE}/server.key
-share/examples/${PKGBASE}/slowclient.py
-share/examples/${PKGBASE}/standalone_app.py
-share/examples/${PKGBASE}/supervisor.conf
-share/examples/${PKGBASE}/test.py
-share/examples/${PKGBASE}/timeout.py
-share/examples/${PKGBASE}/websocket/gevent_websocket.py
-share/examples/${PKGBASE}/websocket/websocket.html
-share/examples/${PKGBASE}/websocket/websocket.py
-share/examples/${PKGBASE}/when_ready.conf.py
-@pkgdir share/examples/${PKGBASE}/frameworks/django/djangotest/testing/templates

Index: pkgsrc/www/py-gunicorn/distinfo
diff -u pkgsrc/www/py-gunicorn/distinfo:1.6 pkgsrc/www/py-gunicorn/distinfo:1.7
--- pkgsrc/www/py-gunicorn/distinfo:1.6 Fri Apr 14 13:24:30 2017
+++ pkgsrc/www/py-gunicorn/distinfo     Mon Apr 30 08:48:07 2018
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2017/04/14 13:24:30 adam Exp $
+$NetBSD: distinfo,v 1.7 2018/04/30 08:48:07 adam Exp $
 
-SHA1 (gunicorn-19.7.1.tar.gz) = e4d9f55744bf4198f71d29f61f9eeaf9d216ecac
-RMD160 (gunicorn-19.7.1.tar.gz) = d5c2505b8de371a5b9fd9c3512c217e3666f5b63
-SHA512 (gunicorn-19.7.1.tar.gz) = ee01276028ad65c72076f09d95b6801a720700ec55d9b0bf929e0a6c0db546178a21c34f584ef1780f329218b2cfa3dc1e0c2d81bd4f7fcb0b328fbdfb0b9f0e
-Size (gunicorn-19.7.1.tar.gz) = 402658 bytes
-SHA1 (patch-requirements__test.txt) = 4ba4d4af3e979932694bb6b2d434d584ffdc7563
+SHA1 (gunicorn-19.8.0.tar.gz) = b4dba91239090c6e873da0001e1d494afb52846a
+RMD160 (gunicorn-19.8.0.tar.gz) = b785297cc897f5396e9017b2b521b9ca53c4f11b
+SHA512 (gunicorn-19.8.0.tar.gz) = 09afc2718ab2193742dca5cf725de959d4968c0e5e7ddef91a9b506306028dc056a9462ada12e1e449a6dfad03619c32fd9e9693ae24ec0abc3149ed5f946a1c
+Size (gunicorn-19.8.0.tar.gz) = 415472 bytes
+SHA1 (patch-requirements__test.txt) = 1c8ca2e7c0d63ffab0be9b4371fd42be6e207613

Index: pkgsrc/www/py-gunicorn/patches/patch-requirements__test.txt
diff -u pkgsrc/www/py-gunicorn/patches/patch-requirements__test.txt:1.2 pkgsrc/www/py-gunicorn/patches/patch-requirements__test.txt:1.3
--- pkgsrc/www/py-gunicorn/patches/patch-requirements__test.txt:1.2     Fri Apr 14 13:24:30 2017
+++ pkgsrc/www/py-gunicorn/patches/patch-requirements__test.txt Mon Apr 30 08:48:07 2018
@@ -1,10 +1,12 @@
-$NetBSD: patch-requirements__test.txt,v 1.2 2017/04/14 13:24:30 adam Exp $
+$NetBSD: patch-requirements__test.txt,v 1.3 2018/04/30 08:48:07 adam Exp $
 
-Use pytest and pytest-con in pkgsrc to avoid download.
+'coverage' is not (yet) needed for testing.
+Relax pytest requirements.
 
---- requirements_test.txt.orig 2016-10-01 14:02:06.000000000 +0000
+--- requirements_test.txt.orig 2017-10-27 02:50:06.000000000 +0000
 +++ requirements_test.txt
-@@ -1,2 +1,2 @@
+@@ -1,3 +1,2 @@
+-coverage>=4.0,<4.4  # TODO: https://github.com/benoitc/gunicorn/issues/1548
 -pytest==3.0.5
 -pytest-cov==2.4.0
 +pytest>=3.0.5



Home | Main Index | Thread Index | Old Index