pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-falcon py-falcon: updated to 1.3.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/106596b9d58d
branches: trunk
changeset: 372975:106596b9d58d
user: adam <adam%pkgsrc.org@localhost>
date: Fri Dec 22 05:53:05 2017 +0000
description:
py-falcon: updated to 1.3.0
Changelog for Falcon 1.3.0
Changes to Supported Platforms
- CPython 3.6 is now fully supported.
- Falcon appears to work well on PyPy3.5, but we are waiting until
that platform is out of beta before officially supporting it.
- Support for both CPython 2.6 and Jython 2.7 is now deprecated and
will be discontinued in Falcon 2.0.
New & Improved
- We added built-in resource representation serialization and
deserialization, including input validation based on JSON Schema.
(See also: :ref:`Media <media>`)
- URI template field converters are now supported. We expect to expand
this feature over time. (See also:
:ref:`Field Converters <routing_field_converters>`)
- A new method, :meth:`~.Request.get_param_as_datetime`, was added to
:class:`~.Request`.
- A number of attributes were added to :class:`~.Request` to
make proxy information easier to consume. These include the
:attr:`~.Request.forwarded`, :attr:`~.Request.forwarded_uri`,
:attr:`~.Request.forwarded_scheme`, :attr:`~.Request.forwarded_host`,
and :attr:`~.Request.forwarded_prefix` attributes. The
:attr:`~.Request.prefix` attribute was also added as part of this
work.
- A :attr:`~.Request.referer` attribute was added to
:class:`~.Request`.
- We implemented ``__repr__()`` for :class:`~.Request`,
:class:`~.Response`, and :class:`~.HTTPError` to aid in
debugging.
- A number of Internet media type constants were defined to make it
easier to check and set content type headers. (See also:
:ref:`Media Type Constants <media_type_constants>`)
- Several new 5xx error classes were implemented. (See also:
:ref:`Error Handling <errors>`)
Fixed
- If even a single cookie in the request to the server is malformed,
none of the cookies will be parsed (all-or-nothing). Change the
parser to simply skip bad cookies (best-effort).
- :class:`~.API` instances are not pickleable. Modify the default router
to fix this.
diffstat:
devel/py-falcon/Makefile | 15 +-
devel/py-falcon/PLIST | 268 +++++++++++++++++++++++++++++-----------------
devel/py-falcon/distinfo | 10 +-
3 files changed, 179 insertions(+), 114 deletions(-)
diffs (truncated from 419 to 300 lines):
diff -r cd4bbd2b092b -r 106596b9d58d devel/py-falcon/Makefile
--- a/devel/py-falcon/Makefile Thu Dec 21 14:55:44 2017 +0000
+++ b/devel/py-falcon/Makefile Fri Dec 22 05:53:05 2017 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2017/05/21 06:54:13 adam Exp $
+# $NetBSD: Makefile,v 1.3 2017/12/22 05:53:05 adam Exp $
-DISTNAME= falcon-1.2.0
+DISTNAME= falcon-1.3.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= devel
+CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=f/falcon/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -13,9 +13,7 @@
DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
DEPENDS+= ${PYPKGPREFIX}-python-mimeparse>=1.5.2:../../www/py-python-mimeparse
DEPENDS+= ${PYPKGPREFIX}-six>=1.4.0:../../lang/py-six
-
# TEST_DEPENDS
-BUILD_DEPENDS+= ${PYPKGPREFIX}-ddt-[0-9]*:../../devel/py-ddt
BUILD_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
@@ -23,10 +21,9 @@
BUILD_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
post-install:
- ${MV} ${DESTDIR}${PREFIX}/bin/falcon-bench \
- ${DESTDIR}${PREFIX}/bin/falcon-bench-${PYVERSSUFFIX} || ${TRUE}
- ${MV} ${DESTDIR}${PREFIX}/bin/falcon-print-routes \
- ${DESTDIR}${PREFIX}/bin/falcon-print-routes-${PYVERSSUFFIX} || ${TRUE}
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} falcon-bench falcon-bench-${PYVERSSUFFIX} && \
+ ${MV} falcon-print-routes falcon-print-routes-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r cd4bbd2b092b -r 106596b9d58d devel/py-falcon/PLIST
--- a/devel/py-falcon/PLIST Thu Dec 21 14:55:44 2017 +0000
+++ b/devel/py-falcon/PLIST Fri Dec 22 05:53:05 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/04/25 20:55:35 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/12/22 05:53:05 adam Exp $
bin/falcon-bench-${PYVERSSUFFIX}
bin/falcon-print-routes-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -9,188 +9,256 @@
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/falcon/__init__.py
+${PYSITELIB}/falcon/__init__.pyc
${PYSITELIB}/falcon/__init__.pyo
-${PYSITELIB}/falcon/__init__.pyc
-${PYSITELIB}/falcon/api.pyo
+${PYSITELIB}/falcon/api.py
${PYSITELIB}/falcon/api.pyc
-${PYSITELIB}/falcon/api_helpers.pyo
-${PYSITELIB}/falcon/api_helpers.pyc
-${PYSITELIB}/falcon/errors.pyo
-${PYSITELIB}/falcon/errors.pyc
-${PYSITELIB}/falcon/hooks.pyo
-${PYSITELIB}/falcon/hooks.pyc
-${PYSITELIB}/falcon/http_error.pyo
-${PYSITELIB}/falcon/http_error.pyc
-${PYSITELIB}/falcon/http_status.pyo
-${PYSITELIB}/falcon/http_status.pyc
-${PYSITELIB}/falcon/redirects.pyo
-${PYSITELIB}/falcon/redirects.pyc
-${PYSITELIB}/falcon/request.pyo
-${PYSITELIB}/falcon/request.pyc
-${PYSITELIB}/falcon/request_helpers.pyo
-${PYSITELIB}/falcon/request_helpers.pyc
-${PYSITELIB}/falcon/responders.pyo
-${PYSITELIB}/falcon/responders.pyc
-${PYSITELIB}/falcon/response.pyo
-${PYSITELIB}/falcon/response.pyc
-${PYSITELIB}/falcon/response_helpers.pyo
-${PYSITELIB}/falcon/response_helpers.pyc
-${PYSITELIB}/falcon/status_codes.pyo
-${PYSITELIB}/falcon/status_codes.pyc
-${PYSITELIB}/falcon/uri.pyo
-${PYSITELIB}/falcon/uri.pyc
-${PYSITELIB}/falcon/version.pyo
-${PYSITELIB}/falcon/version.pyc
-${PYSITELIB}/falcon/api.py
+${PYSITELIB}/falcon/api.pyo
${PYSITELIB}/falcon/api.so
${PYSITELIB}/falcon/api_helpers.py
+${PYSITELIB}/falcon/api_helpers.pyc
+${PYSITELIB}/falcon/api_helpers.pyo
${PYSITELIB}/falcon/api_helpers.so
${PYSITELIB}/falcon/bench/__init__.py
+${PYSITELIB}/falcon/bench/__init__.pyc
${PYSITELIB}/falcon/bench/__init__.pyo
-${PYSITELIB}/falcon/bench/__init__.pyc
-${PYSITELIB}/falcon/bench/bench.pyo
+${PYSITELIB}/falcon/bench/bench.py
${PYSITELIB}/falcon/bench/bench.pyc
-${PYSITELIB}/falcon/bench/create.pyo
+${PYSITELIB}/falcon/bench/bench.pyo
+${PYSITELIB}/falcon/bench/create.py
${PYSITELIB}/falcon/bench/create.pyc
-${PYSITELIB}/falcon/bench/bench.py
-${PYSITELIB}/falcon/bench/create.py
+${PYSITELIB}/falcon/bench/create.pyo
+${PYSITELIB}/falcon/bench/dj/__init__.py
+${PYSITELIB}/falcon/bench/dj/__init__.pyc
+${PYSITELIB}/falcon/bench/dj/__init__.pyo
+${PYSITELIB}/falcon/bench/dj/dj/__init__.py
+${PYSITELIB}/falcon/bench/dj/dj/__init__.pyc
+${PYSITELIB}/falcon/bench/dj/dj/__init__.pyo
+${PYSITELIB}/falcon/bench/dj/dj/settings.py
+${PYSITELIB}/falcon/bench/dj/dj/settings.pyc
+${PYSITELIB}/falcon/bench/dj/dj/settings.pyo
+${PYSITELIB}/falcon/bench/dj/dj/urls.py
+${PYSITELIB}/falcon/bench/dj/dj/urls.pyc
+${PYSITELIB}/falcon/bench/dj/dj/urls.pyo
+${PYSITELIB}/falcon/bench/dj/dj/wsgi.py
+${PYSITELIB}/falcon/bench/dj/dj/wsgi.pyc
+${PYSITELIB}/falcon/bench/dj/dj/wsgi.pyo
+${PYSITELIB}/falcon/bench/dj/hello/__init__.py
+${PYSITELIB}/falcon/bench/dj/hello/__init__.pyc
+${PYSITELIB}/falcon/bench/dj/hello/__init__.pyo
+${PYSITELIB}/falcon/bench/dj/hello/admin.py
+${PYSITELIB}/falcon/bench/dj/hello/admin.pyc
+${PYSITELIB}/falcon/bench/dj/hello/admin.pyo
+${PYSITELIB}/falcon/bench/dj/hello/apps.py
+${PYSITELIB}/falcon/bench/dj/hello/apps.pyc
+${PYSITELIB}/falcon/bench/dj/hello/apps.pyo
+${PYSITELIB}/falcon/bench/dj/hello/migrations/__init__.py
+${PYSITELIB}/falcon/bench/dj/hello/migrations/__init__.pyc
+${PYSITELIB}/falcon/bench/dj/hello/migrations/__init__.pyo
+${PYSITELIB}/falcon/bench/dj/hello/models.py
+${PYSITELIB}/falcon/bench/dj/hello/models.pyc
+${PYSITELIB}/falcon/bench/dj/hello/models.pyo
+${PYSITELIB}/falcon/bench/dj/hello/tests.py
+${PYSITELIB}/falcon/bench/dj/hello/tests.pyc
+${PYSITELIB}/falcon/bench/dj/hello/tests.pyo
+${PYSITELIB}/falcon/bench/dj/hello/views.py
+${PYSITELIB}/falcon/bench/dj/hello/views.pyc
+${PYSITELIB}/falcon/bench/dj/hello/views.pyo
+${PYSITELIB}/falcon/bench/dj/manage.py
+${PYSITELIB}/falcon/bench/dj/manage.pyc
+${PYSITELIB}/falcon/bench/dj/manage.pyo
${PYSITELIB}/falcon/bench/nuts/__init__.py
+${PYSITELIB}/falcon/bench/nuts/__init__.pyc
${PYSITELIB}/falcon/bench/nuts/__init__.pyo
-${PYSITELIB}/falcon/bench/nuts/__init__.pyc
-${PYSITELIB}/falcon/bench/nuts/config.pyo
+${PYSITELIB}/falcon/bench/nuts/config.py
${PYSITELIB}/falcon/bench/nuts/config.pyc
-${PYSITELIB}/falcon/bench/nuts/setup.pyo
-${PYSITELIB}/falcon/bench/nuts/setup.pyc
-${PYSITELIB}/falcon/bench/nuts/config.py
+${PYSITELIB}/falcon/bench/nuts/config.pyo
${PYSITELIB}/falcon/bench/nuts/nuts/__init__.py
+${PYSITELIB}/falcon/bench/nuts/nuts/__init__.pyc
${PYSITELIB}/falcon/bench/nuts/nuts/__init__.pyo
-${PYSITELIB}/falcon/bench/nuts/nuts/__init__.pyc
-${PYSITELIB}/falcon/bench/nuts/nuts/app.pyo
+${PYSITELIB}/falcon/bench/nuts/nuts/app.py
${PYSITELIB}/falcon/bench/nuts/nuts/app.pyc
-${PYSITELIB}/falcon/bench/nuts/nuts/app.py
+${PYSITELIB}/falcon/bench/nuts/nuts/app.pyo
${PYSITELIB}/falcon/bench/nuts/nuts/controllers/__init__.py
+${PYSITELIB}/falcon/bench/nuts/nuts/controllers/__init__.pyc
${PYSITELIB}/falcon/bench/nuts/nuts/controllers/__init__.pyo
-${PYSITELIB}/falcon/bench/nuts/nuts/controllers/__init__.pyc
-${PYSITELIB}/falcon/bench/nuts/nuts/controllers/root.pyo
+${PYSITELIB}/falcon/bench/nuts/nuts/controllers/root.py
${PYSITELIB}/falcon/bench/nuts/nuts/controllers/root.pyc
-${PYSITELIB}/falcon/bench/nuts/nuts/controllers/root.py
+${PYSITELIB}/falcon/bench/nuts/nuts/controllers/root.pyo
${PYSITELIB}/falcon/bench/nuts/nuts/model/__init__.py
-${PYSITELIB}/falcon/bench/nuts/nuts/model/__init__.pyo
${PYSITELIB}/falcon/bench/nuts/nuts/model/__init__.pyc
+${PYSITELIB}/falcon/bench/nuts/nuts/model/__init__.pyo
${PYSITELIB}/falcon/bench/nuts/nuts/tests/__init__.py
+${PYSITELIB}/falcon/bench/nuts/nuts/tests/__init__.pyc
${PYSITELIB}/falcon/bench/nuts/nuts/tests/__init__.pyo
-${PYSITELIB}/falcon/bench/nuts/nuts/tests/__init__.pyc
-${PYSITELIB}/falcon/bench/nuts/nuts/tests/config.pyo
+${PYSITELIB}/falcon/bench/nuts/nuts/tests/config.py
${PYSITELIB}/falcon/bench/nuts/nuts/tests/config.pyc
-${PYSITELIB}/falcon/bench/nuts/nuts/tests/test_functional.pyo
+${PYSITELIB}/falcon/bench/nuts/nuts/tests/config.pyo
+${PYSITELIB}/falcon/bench/nuts/nuts/tests/test_functional.py
${PYSITELIB}/falcon/bench/nuts/nuts/tests/test_functional.pyc
-${PYSITELIB}/falcon/bench/nuts/nuts/tests/test_units.pyo
+${PYSITELIB}/falcon/bench/nuts/nuts/tests/test_functional.pyo
+${PYSITELIB}/falcon/bench/nuts/nuts/tests/test_units.py
${PYSITELIB}/falcon/bench/nuts/nuts/tests/test_units.pyc
-${PYSITELIB}/falcon/bench/nuts/nuts/tests/config.py
-${PYSITELIB}/falcon/bench/nuts/nuts/tests/test_functional.py
-${PYSITELIB}/falcon/bench/nuts/nuts/tests/test_units.py
+${PYSITELIB}/falcon/bench/nuts/nuts/tests/test_units.pyo
${PYSITELIB}/falcon/bench/nuts/setup.py
+${PYSITELIB}/falcon/bench/nuts/setup.pyc
+${PYSITELIB}/falcon/bench/nuts/setup.pyo
${PYSITELIB}/falcon/bench/queues/__init__.py
+${PYSITELIB}/falcon/bench/queues/__init__.pyc
${PYSITELIB}/falcon/bench/queues/__init__.pyo
-${PYSITELIB}/falcon/bench/queues/__init__.pyc
-${PYSITELIB}/falcon/bench/queues/api.pyo
+${PYSITELIB}/falcon/bench/queues/api.py
${PYSITELIB}/falcon/bench/queues/api.pyc
-${PYSITELIB}/falcon/bench/queues/claims.pyo
+${PYSITELIB}/falcon/bench/queues/api.pyo
+${PYSITELIB}/falcon/bench/queues/claims.py
${PYSITELIB}/falcon/bench/queues/claims.pyc
+${PYSITELIB}/falcon/bench/queues/claims.pyo
+${PYSITELIB}/falcon/bench/queues/messages.py
+${PYSITELIB}/falcon/bench/queues/messages.pyc
${PYSITELIB}/falcon/bench/queues/messages.pyo
-${PYSITELIB}/falcon/bench/queues/messages.pyc
+${PYSITELIB}/falcon/bench/queues/queues.py
+${PYSITELIB}/falcon/bench/queues/queues.pyc
${PYSITELIB}/falcon/bench/queues/queues.pyo
-${PYSITELIB}/falcon/bench/queues/queues.pyc
-${PYSITELIB}/falcon/bench/queues/stats.pyo
+${PYSITELIB}/falcon/bench/queues/stats.py
${PYSITELIB}/falcon/bench/queues/stats.pyc
-${PYSITELIB}/falcon/bench/queues/api.py
-${PYSITELIB}/falcon/bench/queues/claims.py
-${PYSITELIB}/falcon/bench/queues/messages.py
-${PYSITELIB}/falcon/bench/queues/queues.py
-${PYSITELIB}/falcon/bench/queues/stats.py
+${PYSITELIB}/falcon/bench/queues/stats.pyo
${PYSITELIB}/falcon/cmd/__init__.py
+${PYSITELIB}/falcon/cmd/__init__.pyc
${PYSITELIB}/falcon/cmd/__init__.pyo
-${PYSITELIB}/falcon/cmd/__init__.pyc
+${PYSITELIB}/falcon/cmd/bench.py
+${PYSITELIB}/falcon/cmd/bench.pyc
${PYSITELIB}/falcon/cmd/bench.pyo
-${PYSITELIB}/falcon/cmd/bench.pyc
+${PYSITELIB}/falcon/cmd/print_routes.py
+${PYSITELIB}/falcon/cmd/print_routes.pyc
${PYSITELIB}/falcon/cmd/print_routes.pyo
-${PYSITELIB}/falcon/cmd/print_routes.pyc
-${PYSITELIB}/falcon/cmd/bench.py
-${PYSITELIB}/falcon/cmd/print_routes.py
+${PYSITELIB}/falcon/constants.py
+${PYSITELIB}/falcon/constants.pyc
+${PYSITELIB}/falcon/constants.pyo
+${PYSITELIB}/falcon/constants.so
${PYSITELIB}/falcon/errors.py
+${PYSITELIB}/falcon/errors.pyc
+${PYSITELIB}/falcon/errors.pyo
${PYSITELIB}/falcon/errors.so
${PYSITELIB}/falcon/hooks.py
+${PYSITELIB}/falcon/hooks.pyc
+${PYSITELIB}/falcon/hooks.pyo
${PYSITELIB}/falcon/hooks.so
${PYSITELIB}/falcon/http_error.py
+${PYSITELIB}/falcon/http_error.pyc
+${PYSITELIB}/falcon/http_error.pyo
${PYSITELIB}/falcon/http_error.so
${PYSITELIB}/falcon/http_status.py
+${PYSITELIB}/falcon/http_status.pyc
+${PYSITELIB}/falcon/http_status.pyo
${PYSITELIB}/falcon/http_status.so
+${PYSITELIB}/falcon/media/__init__.py
+${PYSITELIB}/falcon/media/__init__.pyc
+${PYSITELIB}/falcon/media/__init__.pyo
+${PYSITELIB}/falcon/media/base.py
+${PYSITELIB}/falcon/media/base.pyc
+${PYSITELIB}/falcon/media/base.pyo
+${PYSITELIB}/falcon/media/handlers.py
+${PYSITELIB}/falcon/media/handlers.pyc
+${PYSITELIB}/falcon/media/handlers.pyo
+${PYSITELIB}/falcon/media/json.py
+${PYSITELIB}/falcon/media/json.pyc
+${PYSITELIB}/falcon/media/json.pyo
+${PYSITELIB}/falcon/media/msgpack.py
+${PYSITELIB}/falcon/media/msgpack.pyc
+${PYSITELIB}/falcon/media/msgpack.pyo
+${PYSITELIB}/falcon/media/validators/__init__.py
+${PYSITELIB}/falcon/media/validators/__init__.pyc
+${PYSITELIB}/falcon/media/validators/__init__.pyo
+${PYSITELIB}/falcon/media/validators/jsonschema.py
+${PYSITELIB}/falcon/media/validators/jsonschema.pyc
+${PYSITELIB}/falcon/media/validators/jsonschema.pyo
${PYSITELIB}/falcon/redirects.py
+${PYSITELIB}/falcon/redirects.pyc
+${PYSITELIB}/falcon/redirects.pyo
${PYSITELIB}/falcon/redirects.so
${PYSITELIB}/falcon/request.py
+${PYSITELIB}/falcon/request.pyc
+${PYSITELIB}/falcon/request.pyo
${PYSITELIB}/falcon/request.so
${PYSITELIB}/falcon/request_helpers.py
+${PYSITELIB}/falcon/request_helpers.pyc
+${PYSITELIB}/falcon/request_helpers.pyo
${PYSITELIB}/falcon/request_helpers.so
${PYSITELIB}/falcon/responders.py
+${PYSITELIB}/falcon/responders.pyc
+${PYSITELIB}/falcon/responders.pyo
Home |
Main Index |
Thread Index |
Old Index