pkgsrc/devel/py-falcon/Makefile
adam f62add1e91 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.
2020-05-16 17:08:53 +00:00

25 lines
938 B
Makefile

# $NetBSD: Makefile,v 1.6 2020/05/16 17:08:53 adam Exp $
DISTNAME= falcon-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=f/falcon/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://falconframework.org/
COMMENT= Unladen web framework for building APIs and app backends
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
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 && \
${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"