[oe] [meta-python][PATCH 5/6] python-pyjwt: add initial recipe for version 1.5.3

André Draszik git at andred.net
Mon Jan 15 09:17:06 UTC 2018


From: André Draszik <andre.draszik at jci.com>

Signed-off-by: André Draszik <andre.draszik at jci.com>
---
 meta-python/recipes-devtools/python/python-pyjwt.inc    | 17 +++++++++++++++++
 .../recipes-devtools/python/python-pyjwt_1.5.3.bb       |  2 ++
 .../recipes-devtools/python/python3-pyjwt_1.5.3.bb      |  2 ++
 3 files changed, 21 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pyjwt.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pyjwt_1.5.3.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pyjwt_1.5.3.bb

diff --git a/meta-python/recipes-devtools/python/python-pyjwt.inc b/meta-python/recipes-devtools/python/python-pyjwt.inc
new file mode 100644
index 000000000..dda4b942d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyjwt.inc
@@ -0,0 +1,17 @@
+SUMMARY = "JSON Web Token implementation in Python"
+SUMMARY = "JSON Web Token implementation in Python"
+DESCRIPTION = "A Python implementation of JSON Web Token draft 32.\
+ Original implementation was written by https://github.com/progrium"
+HOMEPAGE = "http://github.com/jpadilla/pyjwt"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=68626705a7b513ca8d5f44a3e200ed0c"
+
+SRC_URI[md5sum] = "739494379f582ca98c89fb7ac229915b"
+SRC_URI[sha256sum] = "500be75b17a63f70072416843dc80c8821109030be824f4d14758f114978bae7"
+
+PYPI_PACKAGE = "PyJWT"
+inherit pypi
+
+RDEPENDS_${PN} = "${PYTHON_PN}-cryptography"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-pyjwt_1.5.3.bb b/meta-python/recipes-devtools/python/python-pyjwt_1.5.3.bb
new file mode 100644
index 000000000..f0a77b674
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyjwt_1.5.3.bb
@@ -0,0 +1,2 @@
+require python-pyjwt.inc
+inherit setuptools
diff --git a/meta-python/recipes-devtools/python/python3-pyjwt_1.5.3.bb b/meta-python/recipes-devtools/python/python3-pyjwt_1.5.3.bb
new file mode 100644
index 000000000..dc16d2282
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyjwt_1.5.3.bb
@@ -0,0 +1,2 @@
+require python-pyjwt.inc
+inherit setuptools3
-- 
2.15.1




More information about the Openembedded-devel mailing list