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: fix wheel name for latest setuptools and depend on it Bump PKGREVISION.
py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays
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.5.3 3.5.3 * Use importlib instead of imp with Python 3.
py-paste: updated to 3.5.2 3.5.2 * Additional fixes to next in iterators.
py-paste: updated to 3.5.1 3.5.1 * Replace deprecated threading.currentThread, getName and setDaemon with threading.current_thread, name and daemon.
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
py-paste: updated to 3.5.0 3.5.0 Python 3 fixes to auth and wsgi.errors handling; notably making wsgi.errors text. 3.4.6 Explicit pkg_resource dependency to easy packaging. 3.4.5 Remove deprecated dependencies paste/fixture.py.
py-paste: updated to 3.4.4 3.4.4: Unknown changes
py-paste: updated to 3.4.3 3.4.3 * Patch auth ticket to be python3 compatible.
py-paste: updated to 3.4.2 3.4.2: * Correct sorting of items() in EvalHTMLFormatter.
py-paste: updated to 3.4.1 3.4.1 Fix next in iterators in wsgilib.py.
py-paste: updated to 3.4.0 3.4.0 Allow binding IPv6 address when starting a server. 3.3.0 Use six.BytesIO when reading wsgi.input. Remove use of pytest-runner. 3.2.7 Python 3 updates for use of StringIO and auth_tkt.py.
py-paste: updated to 3.2.6 3.2.6: * Correctly handle HEAD requests (to send empty body) when gzip encoding requested. 3.2.4 * Use is_alive instead of isAlive for Python 3.9 compatibility. * Use encodebytes instead of deprecated encodestring. * Fix Python 2 and 3 compatibility for base64.
py-paste: updated to 3.2.3 3.2.3 * Correct ``100 Continue`` in Python 3
py-paste: updated to 3.2.2 3.2.2 * Avoid some reference cycles through tracebacks in httpserver.py 3.2.1 * Handle io.UnsupportedOperation from socket.tell() 3.2.0 * Ensure unicode URLs work in TestApp. * Make LimitedLengthFile file return empty bytes. * Protect against accidental close in FieldStorage. 3.1.1 * TestApp.encode_multipart handles bytes filenames and params. 3.1.0 * Allow anything that can read() for a file-like response, not just a ``file`` instance.
py-paste: updated to 3.0.8 3.0.8: * Fix quoting of bytestrings
py-paste: updated to 3.0.7 3.0.7: * Send bytestrings when writing chunks from paste/httpserver.py.
py-paste: update to 3.0.9 3.0.6 * Revert the changes in the 3.0.5, which introduced unexpected errors in paste/httpserver.py when using SSL.
py-paste: updated to 3.0.5 3.0.5: * Quiet a deprecation warning in OpenSSL.
py-paste: updated to 3.0.4 3.0.4 * Python 3 fix for deleting items from a dict.
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.
Comment out dead sites.
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
Switch to MASTER_SITES_PYPI.
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.
Mark packages that are not ready for python-3.3 also not ready for 3.4, until proven otherwise.
Mark packages as not ready for python-3.x where applicable; either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
Changes 1.7.5.1: Bug fixes.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
no compiler languages is required to build.
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/>`_.
Update to 1.7.2 ----- * In :mod:`paste.proxy`, added some more headers that are disallowed in WSGI (e.g., Keep-Alive). Send Content-Length. Also fix the missing query string when using :class:`paste.proxy.Proxy` (:class:`paste.proxy.TransparentProxy` already worked). * Make :mod:`paste.debug.prints` work with Google App Engine. * Make ``environ['wsgi.input']`` with :mod:`paste.httpserver` only have a ``seek`` method if it is wrapping something with a seek method (which usually it is not). * In :mod:`paste.httpserver` re-raise KeyboardInterrupt in worker threads. * Added support for the ``HttpOnly`` Cookie property to :mod:`paste.wsgiwrappers` * Added :func:`paste.reloader.add_file_callback`, which lets you watch files based on a callback. * Quiet Python 2.6 deprecation warnings. * Fix :mod:`paste.auth.cookie` generating bad headers. * Added :class:`paste.reloader.JythonMonitor` for an experimental, optimized reloader on Jython.
Default EGG_NAME to ${DISTNAME} in egg.mk and drop EGG_NAME from packages that set it to ${DISTNAME}.
Use egg.mk, cutting the Makefile in half (and fixing semi-automatic PLIST generation, now that egg.mk does it).
py-setuptools is only support for 2.4+
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