From 6db9a21fcac9ed4c14ab48b18e17e1d97af61c38 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 16 Jul 2015 11:36:20 +0000 Subject: [PATCH] Update to 2.0.2: 2.0.2 ----- * #22: Fix improper commas in request headers in wsgi_environ (https://bitbucket.org/ianb/paste/pull-request/22/fix-improper-commas-in-request-headers-in) Fixes issue #4 ("WSGI environ totally borked") (https://bitbucket.org/ianb/paste/issue/4/wsgi-environ-totally-borked) * #24: test_wsgirequest_charset: Use UTF-8 instead of iso-8859-1 (https://bitbucket.org/ianb/paste/pull-request/24/test_wsgirequest_charset-use-utf-8-instead) Fixes issue #7 ("Python 3 test failure") (https://bitbucket.org/ianb/paste/issue/7/python-3-test-failure) * #23: Replace cgi.parse_qsl w/ six.moves.urllib.parse.parse_qsl (https://bitbucket.org/ianb/paste/pull-request/23/replace-cgiparse_qsl-w) Fixes issue #8 ("cgi.parse_qsl is pending deprecation") (https://bitbucket.org/ianb/paste/issue/8/cgiparse_qsl-is-pending-deprecation) * #20: Escape CGI environment variables in HTTP 404 responses (https://bitbucket.org/ianb/paste/pull-request/20/escape-cgi-environment-variables-in-http) * #6: Add HTTP exception for new code 429 "Too Many Requests" (https://bitbucket.org/ianb/paste/pull-request/6/add-http-exception-for-new-code-429-too) * #25: replace ``has_key`` method to ``in`` operator #9 (https://bitbucket.org/ianb/paste/pull-request/25/replace-has_key-method-to-in-operator-9) Fixes #9 ("used methods removed from py3") (https://bitbucket.org/ianb/paste/issue/9/used-methods-removed-from-py3) * #5: Invalid error message when the socket is already in use (https://bitbucket.org/ianb/paste/issue/5/invalid-error-message-when-the-socket-is) 2.0.1 ----- * Fix setup.py for six dependency: move the six dependency from extras_require to install_requires. * Port paste.proxy to Python 3. * Fix paste.exceptions.serial_number_generator.hash_identifier() on Python 3. * Fix paste.util.threadedprint.uninstall(). Rename duplicated uninstall() function to uninstall_stdin() and fix typo in variable name (_oldstin => _oldstdin). * Add README.rst file. 2.0 --- * Experimental Python 3 support. * paste now requires the six module. * Drop support of Python 2.5 and older. * Fixed ``egg:Paste#cgi`` * In ``paste.httpserver``: give a 100 Continue response even when the server has been configured as an HTTP/1.0 server (clients may send ``Expect: 100-Continue`` before they know the version), and wrap 100 Continue ``environ['wsgi.input']`` files with LimitedLengthFile just like normal request bodies are wrapped, keeping WSGI applications from over-reading from the socket. * Fixed parsing of paths beginning with multiple forward slashes. * Add tox.ini to run tests with tox on Python 2.6, 2.7 and 3.4. --- www/py-paste/Makefile | 8 ++++---- www/py-paste/PLIST | 21 +++++++-------------- www/py-paste/distinfo | 8 ++++---- 3 files changed, 15 insertions(+), 22 deletions(-) diff --git a/www/py-paste/Makefile b/www/py-paste/Makefile index cb4bd2de95131..a3642fae345f7 100644 --- a/www/py-paste/Makefile +++ b/www/py-paste/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.12 2014/05/09 07:37:25 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2015/07/16 11:36:20 wiz Exp $ -DISTNAME= Paste-1.7.5.1 +DISTNAME= Paste-2.0.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www MASTER_SITES= http://pypi.python.org/packages/source/P/Paste/ @@ -10,9 +10,9 @@ HOMEPAGE= http://pythonpaste.org/ COMMENT= Middleware for Python WSGI applications LICENSE= mit -USE_LANGUAGES= # none +DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six -PYTHON_VERSIONS_INCOMPATIBLE= 33 34 +USE_LANGUAGES= # none .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/py-paste/PLIST b/www/py-paste/PLIST index 2c78a84592a5e..dffe67796d96b 100644 --- a/www/py-paste/PLIST +++ b/www/py-paste/PLIST @@ -1,5 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2010/07/26 12:38:42 obache Exp $ -${PYSITELIB}/${EGG_NAME}-nspkg.pth +@comment $NetBSD: PLIST,v 1.6 2015/07/16 11:36:20 wiz Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -8,6 +7,7 @@ ${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe ${PYSITELIB}/${EGG_INFODIR}/requires.txt ${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/${EGG_NAME}-nspkg.pth ${PYSITELIB}/paste/auth/__init__.py ${PYSITELIB}/paste/auth/__init__.pyc ${PYSITELIB}/paste/auth/__init__.pyo @@ -53,6 +53,8 @@ ${PYSITELIB}/paste/config.pyo ${PYSITELIB}/paste/cowbell/__init__.py ${PYSITELIB}/paste/cowbell/__init__.pyc ${PYSITELIB}/paste/cowbell/__init__.pyo +${PYSITELIB}/paste/cowbell/bell-ascending.png +${PYSITELIB}/paste/cowbell/bell-descending.png ${PYSITELIB}/paste/debug/__init__.py ${PYSITELIB}/paste/debug/__init__.pyc ${PYSITELIB}/paste/debug/__init__.pyo @@ -178,6 +180,7 @@ ${PYSITELIB}/paste/url.py ${PYSITELIB}/paste/url.pyc ${PYSITELIB}/paste/url.pyo ${PYSITELIB}/paste/urlmap.py +${PYSITELIB}/paste/urlmap.py.orig ${PYSITELIB}/paste/urlmap.pyc ${PYSITELIB}/paste/urlmap.pyo ${PYSITELIB}/paste/urlparser.py @@ -186,9 +189,6 @@ ${PYSITELIB}/paste/urlparser.pyo ${PYSITELIB}/paste/util/PySourceColor.py ${PYSITELIB}/paste/util/PySourceColor.pyc ${PYSITELIB}/paste/util/PySourceColor.pyo -${PYSITELIB}/paste/util/UserDict24.py -${PYSITELIB}/paste/util/UserDict24.pyc -${PYSITELIB}/paste/util/UserDict24.pyo ${PYSITELIB}/paste/util/__init__.py ${PYSITELIB}/paste/util/__init__.pyc ${PYSITELIB}/paste/util/__init__.pyo @@ -207,9 +207,6 @@ ${PYSITELIB}/paste/util/dateinterval.pyo ${PYSITELIB}/paste/util/datetimeutil.py ${PYSITELIB}/paste/util/datetimeutil.pyc ${PYSITELIB}/paste/util/datetimeutil.pyo -${PYSITELIB}/paste/util/doctest24.py -${PYSITELIB}/paste/util/doctest24.pyc -${PYSITELIB}/paste/util/doctest24.pyo ${PYSITELIB}/paste/util/filemixin.py ${PYSITELIB}/paste/util/filemixin.pyc ${PYSITELIB}/paste/util/filemixin.pyo @@ -246,13 +243,9 @@ ${PYSITELIB}/paste/util/quoting.pyo ${PYSITELIB}/paste/util/scgiserver.py ${PYSITELIB}/paste/util/scgiserver.pyc ${PYSITELIB}/paste/util/scgiserver.pyo -${PYSITELIB}/paste/util/string24.py -${PYSITELIB}/paste/util/string24.pyc -${PYSITELIB}/paste/util/string24.pyo -${PYSITELIB}/paste/util/subprocess24.py -${PYSITELIB}/paste/util/subprocess24.pyc -${PYSITELIB}/paste/util/subprocess24.pyo ${PYSITELIB}/paste/util/template.py +${PYSITELIB}/paste/util/template.py.2015-04-30-123224 +${PYSITELIB}/paste/util/template.py.orig ${PYSITELIB}/paste/util/template.pyc ${PYSITELIB}/paste/util/template.pyo ${PYSITELIB}/paste/util/threadedprint.py diff --git a/www/py-paste/distinfo b/www/py-paste/distinfo index 5e9173a313b01..a557e6c4bfa2b 100644 --- a/www/py-paste/distinfo +++ b/www/py-paste/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.4 2013/01/28 20:17:43 adam Exp $ +$NetBSD: distinfo,v 1.5 2015/07/16 11:36:20 wiz Exp $ -SHA1 (Paste-1.7.5.1.tar.gz) = 11d3c5a2dc52c5e725139a9334574291a0f9d04f -RMD160 (Paste-1.7.5.1.tar.gz) = 554304c4a45b208a77281dff3705cee5f9d6b2be -Size (Paste-1.7.5.1.tar.gz) = 523304 bytes +SHA1 (Paste-2.0.2.tar.gz) = 7fe739fbe391bb09afe1bd3327f320e29f27e2cc +RMD160 (Paste-2.0.2.tar.gz) = 94d13e6db579a24ffde59c667ff0a1bb680316fa +Size (Paste-2.0.2.tar.gz) = 627842 bytes