[oe] [meta-python][PATCH 1/2] python-pyrsistent: add recipe

Ricardo Salveti ricardo at foundries.io
Tue Sep 17 19:09:12 UTC 2019


Persistent/immutable/functional data structures for python, now required
by python-jsonschema.

Signed-off-by: Ricardo Salveti <ricardo at foundries.io>
---
 .../recipes-devtools/python/python-pyrsistent.inc   | 13 +++++++++++++
 .../python/python-pyrsistent_0.15.4.bb              |  2 ++
 .../python/python3-pyrsistent_0.15.4.bb             |  2 ++
 3 files changed, 17 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pyrsistent.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pyrsistent_0.15.4.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pyrsistent_0.15.4.bb

diff --git a/meta-python/recipes-devtools/python/python-pyrsistent.inc b/meta-python/recipes-devtools/python/python-pyrsistent.inc
new file mode 100644
index 000000000..2add037de
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyrsistent.inc
@@ -0,0 +1,13 @@
+SUMMARY = "Persistent/Immutable/Functional data structures for Python"
+HOMEPAGE = "https://github.com/tobgu/pyrsistent"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENCE.mit;md5=ca574f2891cf528b3e7a2ee570337e7c"
+
+SRC_URI[md5sum] = "0298efae86e009e24136d39dc8b2d33e"
+SRC_URI[sha256sum] = "34b47fa169d6006b32e99d4b3c4031f155e6e68ebcc107d6454852e8e0ee6533"
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-six \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-pyrsistent_0.15.4.bb b/meta-python/recipes-devtools/python/python-pyrsistent_0.15.4.bb
new file mode 100644
index 000000000..832eb8038
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pyrsistent_0.15.4.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-pyrsistent.inc
diff --git a/meta-python/recipes-devtools/python/python3-pyrsistent_0.15.4.bb b/meta-python/recipes-devtools/python/python3-pyrsistent_0.15.4.bb
new file mode 100644
index 000000000..2e567e9f9
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyrsistent_0.15.4.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-pyrsistent.inc
-- 
2.23.0



More information about the Openembedded-devel mailing list