python-falcon: add optional dependency on host-python-cython
PATCH 1/2 python-falcon: add optional dependency on host-python-cython
Falcon can be compiled into shared objects using Cython. Compiled version works much faster than pure-python one.
--- package/python-falcon/python-falcon.mk | 4 ++++ 1 file changed, 4 insertions(+)
package/python-falcon/python-falcon.mk +4 -0
@@ -11,4 +11,8 @@ PYTHON_FALCON_SETUP_TYPE = setuptools PYTHON_FALCON_LICENSE = Apache-2.0 PYTHON_FALCON_LICENSE_FILES = LICENSE +ifeq ($(BR2_PACKAGE_HOST_PYTHON_CYTHON),y) +PYTHON_FALCON_DEPENDENCIES += host-python-cython +endif + $(eval $(python-package))
Signature · 1 line
2.17.1
PATCH 2/2 python-pyjwt: new package
PyJWT is a Python library which allows you to encode and decode JSON Web Tokens (JWT). JWT is an open, industry-standard (RFC 7519) for representing claims securely between two parties.
https://github.com/jpadilla/pyjwt
--- DEVELOPERS | 1 + package/Config.in | 1 + package/python-pyjwt/Config.in | 6 ++++++ package/python-pyjwt/python-pyjwt.hash | 5 +++++ package/python-pyjwt/python-pyjwt.mk | 14 ++++++++++++++ 5 files changed, 27 insertions(+) create mode 100644 package/python-pyjwt/Config.in create mode 100644 package/python-pyjwt/python-pyjwt.hash create mode 100644 package/python-pyjwt/python-pyjwt.mk
DEVELOPERS +1 -0
@@ -879,6 +879,7 @@ F: package/sofia-sip/ N: Grzegorz Blach <[email protected]> F: package/python-falcon/ F: package/python-mimeparse/ +F: package/python-pyjwt/ N: Guillaume Gardet <[email protected]> F: package/c-icap/
package/Config.in +1 -0
@@ -919,6 +919,7 @@ menu "External python modules" source "package/python-pygments/Config.in" source "package/python-pyicu/Config.in" source "package/python-pyinotify/Config.in" + source "package/python-pyjwt/Config.in" source "package/python-pylibftdi/Config.in" source "package/python-pylru/Config.in" source "package/python-pymodbus/Config.in"
package/python-pyjwt/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_PYJWT + bool "python-pyjwt" + help + JSON Web Token implementation in Python. + + http://github.com/jpadilla/pyjwt
package/python-pyjwt/python-pyjwt.hash new file +5 -0
@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pyjwt/json +md5 2731c6b66b67b95d1944f072f5fa35a9 PyJWT-1.6.4.tar.gz +sha256 4ee413b357d53fd3fb44704577afac88e72e878716116270d722723d65b42176 PyJWT-1.6.4.tar.gz +# Locally computed sha256 checksums +sha256 ec82af815b5f9da8685afb300cc5beb7949e1c22b79b6c1c054796cefdf6cac6 LICENSE
package/python-pyjwt/python-pyjwt.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-pyjwt +# +################################################################################ + +PYTHON_PYJWT_VERSION = 1.6.4 +PYTHON_PYJWT_SOURCE = PyJWT-$(PYTHON_PYJWT_VERSION).tar.gz +PYTHON_PYJWT_SITE = https://files.pythonhosted.org/packages/00/5e/b358c9bb24421e6155799d995b4aa3aa3307ffc7ecae4ad9d29fd7e07a73 +PYTHON_PYJWT_SETUP_TYPE = setuptools +PYTHON_PYJWT_LICENSE = MIT +PYTHON_PYJWT_LICENSE_FILES = LICENSE + +$(eval $(python-package))
Signature · 1 line
2.17.1
Arnout Vandecappelle
AppliedPATCH 2/2 python-pyjwt: new package
Quoted 7 lines · Grzegorz Blach
PyJWT is a Python library which allows you to encode and decode JSON Web Tokens (JWT). JWT is an open, industry-standard (RFC 7519) for representing claims securely between two parties.
https://github.com/jpadilla/pyjwt
Signed-off-by Grzegorz Blach <[email protected]>
Applied to master after bumping to 1.7.1, thanks.
Regards,
Arnout
Thomas Petazzoni
AppliedPATCH 1/2 python-falcon: add optional dependency on host-python-cython
In reply to Grzegorz BlachHello,
Quoted 7 lines · Grzegorz Blach
Falcon can be compiled into shared objects using Cython. Compiled version works much faster than pure-python one.
Signed-off-by Grzegorz Blach <[email protected]>--- package/python-falcon/python-falcon.mk | 4 ++++ 1 file changed, 4 insertions(+)
Applied to next, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com