pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-falcon



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat May 16 17:08:53 UTC 2020

Modified Files:
        pkgsrc/devel/py-falcon: Makefile PLIST distinfo

Log Message:
py-falcon: updated to 2.0.0

Changelog for Falcon 2.0.0
Summary
Many thanks to all of our awesome contributors (listed down below) who made this release possible!

In 2.0 we added a number of new convenience methods and properties. We also made it a lot cleaner and less error-prone to assign multiple routes to the same resource class via suffixed responders.

Also noteworthy is the significant effort we invested in improving the accuracy, clarity, and breadth of the docs. We hope these changes will help make the framework easier to learn for newcomers.

Middleware methods can now short-circuit request processing, and we improved cookie and ETag handling. Plus, the testing framework received several improvements to make it easier to simulate certain 
types of requests.

As this is the first major release that we have had in quite a while, we have taken the opportunity to clean up many parts of the framework. Deprecated variables, methods, and classes have been 
removed, along with all backwards-compatibility shims for old method signatures. We also changed the defaults for a number of request options based on community feedback.

Please carefully review the list of breaking changes below to see what you may need to tweak in your app to make it compatible with this release.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-falcon/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-falcon/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-falcon/distinfo

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

Modified files:

Index: pkgsrc/devel/py-falcon/Makefile
diff -u pkgsrc/devel/py-falcon/Makefile:1.5 pkgsrc/devel/py-falcon/Makefile:1.6
--- pkgsrc/devel/py-falcon/Makefile:1.5 Sun Jan 26 17:31:02 2020
+++ pkgsrc/devel/py-falcon/Makefile     Sat May 16 17:08:53 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2020/01/26 17:31:02 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2020/05/16 17:08:53 adam Exp $
 
-DISTNAME=      falcon-1.4.1
+DISTNAME=      falcon-2.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=f/falcon/}
@@ -11,14 +11,10 @@ COMMENT=    Unladen web framework for build
 LICENSE=       apache-2.0
 
 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}-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
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
+TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TEST_DEPENDS+= ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools
+TEST_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \

Index: pkgsrc/devel/py-falcon/PLIST
diff -u pkgsrc/devel/py-falcon/PLIST:1.3 pkgsrc/devel/py-falcon/PLIST:1.4
--- pkgsrc/devel/py-falcon/PLIST:1.3    Thu Feb 22 11:14:19 2018
+++ pkgsrc/devel/py-falcon/PLIST        Sat May 16 17:08:53 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2018/02/22 11:14:19 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/05/16 17:08:53 adam Exp $
 bin/falcon-bench-${PYVERSSUFFIX}
 bin/falcon-print-routes-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -6,7 +6,6 @@ ${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}/falcon/__init__.py
 ${PYSITELIB}/falcon/__init__.pyc
@@ -145,7 +144,6 @@ ${PYSITELIB}/falcon/forwarded.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
@@ -229,9 +227,6 @@ ${PYSITELIB}/falcon/status_codes.so
 ${PYSITELIB}/falcon/testing/__init__.py
 ${PYSITELIB}/falcon/testing/__init__.pyc
 ${PYSITELIB}/falcon/testing/__init__.pyo
-${PYSITELIB}/falcon/testing/base.py
-${PYSITELIB}/falcon/testing/base.pyc
-${PYSITELIB}/falcon/testing/base.pyo
 ${PYSITELIB}/falcon/testing/client.py
 ${PYSITELIB}/falcon/testing/client.pyc
 ${PYSITELIB}/falcon/testing/client.pyo
@@ -254,6 +249,10 @@ ${PYSITELIB}/falcon/uri.so
 ${PYSITELIB}/falcon/util/__init__.py
 ${PYSITELIB}/falcon/util/__init__.pyc
 ${PYSITELIB}/falcon/util/__init__.pyo
+${PYSITELIB}/falcon/util/compat.py
+${PYSITELIB}/falcon/util/compat.pyc
+${PYSITELIB}/falcon/util/compat.pyo
+${PYSITELIB}/falcon/util/compat.so
 ${PYSITELIB}/falcon/util/misc.py
 ${PYSITELIB}/falcon/util/misc.pyc
 ${PYSITELIB}/falcon/util/misc.pyo
@@ -270,6 +269,16 @@ ${PYSITELIB}/falcon/util/uri.py
 ${PYSITELIB}/falcon/util/uri.pyc
 ${PYSITELIB}/falcon/util/uri.pyo
 ${PYSITELIB}/falcon/util/uri.so
+${PYSITELIB}/falcon/vendor/__init__.py
+${PYSITELIB}/falcon/vendor/__init__.pyc
+${PYSITELIB}/falcon/vendor/__init__.pyo
+${PYSITELIB}/falcon/vendor/mimeparse/__init__.py
+${PYSITELIB}/falcon/vendor/mimeparse/__init__.pyc
+${PYSITELIB}/falcon/vendor/mimeparse/__init__.pyo
+${PYSITELIB}/falcon/vendor/mimeparse/mimeparse.py
+${PYSITELIB}/falcon/vendor/mimeparse/mimeparse.pyc
+${PYSITELIB}/falcon/vendor/mimeparse/mimeparse.pyo
+${PYSITELIB}/falcon/vendor/mimeparse/mimeparse.so
 ${PYSITELIB}/falcon/version.py
 ${PYSITELIB}/falcon/version.pyc
 ${PYSITELIB}/falcon/version.pyo

Index: pkgsrc/devel/py-falcon/distinfo
diff -u pkgsrc/devel/py-falcon/distinfo:1.4 pkgsrc/devel/py-falcon/distinfo:1.5
--- pkgsrc/devel/py-falcon/distinfo:1.4 Thu Feb 22 11:14:19 2018
+++ pkgsrc/devel/py-falcon/distinfo     Sat May 16 17:08:53 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2018/02/22 11:14:19 adam Exp $
+$NetBSD: distinfo,v 1.5 2020/05/16 17:08:53 adam Exp $
 
-SHA1 (falcon-1.4.1.tar.gz) = c29979a1fcb1b3149f1e54cc587d9582a61c947d
-RMD160 (falcon-1.4.1.tar.gz) = 7362c91cc2253d2b6b7a3a1bd44dd62de52ce2df
-SHA512 (falcon-1.4.1.tar.gz) = ac509dd1f6ddb48bff2364d47cea31ee83182104969a330265398c82331ae2c3b9e7602f83472f6de28cde89509b444103cdd40e89ccb868f702c6fbe6a2515c
-Size (falcon-1.4.1.tar.gz) = 354158 bytes
+SHA1 (falcon-2.0.0.tar.gz) = 04cc91d672ab40c229002862e1c4be091acb91ad
+RMD160 (falcon-2.0.0.tar.gz) = 27954bce1bc1651056c4bd3dbb2af6610fea069a
+SHA512 (falcon-2.0.0.tar.gz) = 1b821d96452208dcfbaa978ecc9340b0b531878aeb362a5b27668fea5f354315275afc7c2ba3012b2cf86c8e32b52d10c932bcf2cc91789a1b4f5a458da5078b
+Size (falcon-2.0.0.tar.gz) = 397801 bytes



Home | Main Index | Thread Index | Old Index