Up to [cvs.NetBSD.org] / pkgsrc / www / py-paste
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Fix PLIST after py-setuptools update; bump depends and revision
py-paste: updated to 3.10.1 3.10.1 * Correct packaging and testing when not in a clean virtualenv. 3.10.0 * Move development to https://github.com/pasteorg/paste * Vendor cgi.FieldStorage and cgitb.Hook * More cleaning of Python 2 style code. With version 3.10.0 Paste development moves to the pasteorg GitHub organization and will be going deeper into maintenance mode unless more active maintainers step forward to take over. "Deeper" in this case means that releases will be much less frequent and patches will only be accepted for security issues or major problems. Current consumers of Paste should prepare to migrate away to more modern solutions. 3.9.0 * Remove dead format_environ code in watchthread.py app. 3.8.0 * Remove remainder of Python 2 code. Thanks a-detiste.
py-paste: updated to 3.7.1 3.7.0 * End Python 2 support. * Remove use of distutils. * Fix double query processing in parse_formvars. 3.6.1 * Tiny release to confirm release automation. 3.6.0 * Provide kwarg for timestamp format in Translogger.
py-paste: updated to 3.0.3 3.0.3 * Ensure pytest requirements set properly. 3.0.2 * Encoding fixes in paste.fixture. 3.0.1 * Remove use of future for sake of html.escape and use own. Using future was causing installation loops. 3.0.0 * Fixes for use with Python 3.7, mostly to do with StopIteration. * Moving to https://github.com/cdent/paste to keep things maintained.
2.0.3 ----- * 26: Change six requirement to >=1.4.0 * 28: Py3k fixes * 29: paste.wsgilib.add_close: Add __next__ method to support using `add_close` objects as iterators on Python 3. * 30: tox.ini: Add py35 to envlist * 31: Enable testing with pypy * 33: tox.ini: Measure test coveraage
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.
Pullup ticket #3190 - requested by obache www/py-paste: security update Revisions pulled up: - www/py-paste/Makefile 1.7 - www/py-paste/PLIST 1.5 - www/py-paste/distinfo 1.3 --- Module Name: pkgsrc Committed By: obache Date: Mon Jul 26 12:38:42 UTC 2010 Modified Files: pkgsrc/www/py-paste: Makefile PLIST distinfo Log Message: Update py-Paste to 1.7.4. While here, set LICENSE=mit. 1.7.4 ----- * Fix XSS bug (security issue) with not found handlers for :class:`paste.urlparser.StaticURLParser` and :class:`paste.urlmap.URLMap`. If you ask for a path with ``/--><script>...`` that will be inserted in the error page and can execute Javascript. Reported by Tim Wintle. * Replaced :func:`paste.util.mimeparse.desired_match` 1.7.3.1 ------- * Removed directory name from 404 errors in :class:`paste.urlparser.StaticURLParser`. * Fixed packaging to include Javascript and images for :mod:`paste.evalexception` 1.7.3 ----- * I got a fever and the only prescription is more :mod:`paste.cowbell`! * Fix :mod:`paste.httpserver` on Python 2.6. * Fix :mod:`paste.auth.cookie`, which would insert newlines for long cookies. * :mod:`paste.util.mimeparse` parses a single ``*`` in Accept headers (sent by IE 6). * Fix some problems with the ``wdg_validate`` middleware. * Improvements to :mod:`paste.auth.auth_tkt`: add httponly support, don't always aggressively set cookies without the ``wildcard_cookie`` option. Also on logout, make cookies expire. * In :class:`paste.proxy.Proxy` handle Content-Length of -1. * In :mod:`paste.httpexceptions` avoid some unicode errors. * In :mod:`paste.httpserver` handle ``.read()`` from 100 Continue properly (because of a typo it was doing a readline). * Update ``paste.util.mimeparse`` from `upstream <http://code.google.com/p/mimeparse/>`_.
Update py-Paste to 1.7.4. While here, set LICENSE=mit. 1.7.4 ----- * Fix XSS bug (security issue) with not found handlers for :class:`paste.urlparser.StaticURLParser` and :class:`paste.urlmap.URLMap`. If you ask for a path with ``/--><script>...`` that will be inserted in the error page and can execute Javascript. Reported by Tim Wintle. * Replaced :func:`paste.util.mimeparse.desired_match` 1.7.3.1 ------- * Removed directory name from 404 errors in :class:`paste.urlparser.StaticURLParser`. * Fixed packaging to include Javascript and images for :mod:`paste.evalexception` 1.7.3 ----- * I got a fever and the only prescription is more :mod:`paste.cowbell`! * Fix :mod:`paste.httpserver` on Python 2.6. * Fix :mod:`paste.auth.cookie`, which would insert newlines for long cookies. * :mod:`paste.util.mimeparse` parses a single ``*`` in Accept headers (sent by IE 6). * Fix some problems with the ``wdg_validate`` middleware. * Improvements to :mod:`paste.auth.auth_tkt`: add httponly support, don't always aggressively set cookies without the ``wildcard_cookie`` option. Also on logout, make cookies expire. * In :class:`paste.proxy.Proxy` handle Content-Length of -1. * In :mod:`paste.httpexceptions` avoid some unicode errors. * In :mod:`paste.httpserver` handle ``.read()`` from 100 Continue properly (because of a typo it was doing a readline). * Update ``paste.util.mimeparse`` from `upstream <http://code.google.com/p/mimeparse/>`_.
Convert @exec/@unexec to @pkgdir or drop it.
Use egg.mk, cutting the Makefile in half (and fixing semi-automatic PLIST generation, now that egg.mk does it).
Oops, this doesn't require 2.5; DEPEND on setuptools and drop PYTHON_VERSIONS_ACCEPTED (should work with any).
Import py-Paste-1.7.1. These provide several pieces of "middleware" (or filters) that can be nested to build web applications. Each piece of middleware uses the WSGI (`PEP 333`_) interface, and should be compatible with other middleware based on those interfaces.
Initial revision