[oe] [meta-python][PATCH 5/6] python{, 3}-intervals: add recipes for python2/3

Jens Rehsack sno at netbsd.org
Mon Aug 27 11:07:34 UTC 2018


Add recipe for interval arithmetic for python supporting python2
as well as python3 infrastructure of Yocto.

Signed-off-by: Jens Rehsack <sno at netbsd.org>
---
 .../recipes-devtools/python/python-intervals.inc  | 15 +++++++++++++++
 .../python/python-intervals_1.5.4.bb              |  2 ++
 .../python/python3-intervals_1.5.4.bb             |  2 ++
 3 files changed, 19 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-intervals.inc
 create mode 100644 meta-python/recipes-devtools/python/python-intervals_1.5.4.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-intervals_1.5.4.bb

diff --git a/meta-python/recipes-devtools/python/python-intervals.inc b/meta-python/recipes-devtools/python/python-intervals.inc
new file mode 100644
index 000000000..1ecca3524
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-intervals.inc
@@ -0,0 +1,15 @@
+DESCRIPTION = "Interval arithmetic for Python"
+HOMEPAGE = "https://github.com/AlexandreDecan/python-intervals"
+SECTION = "devel/python"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
+
+PYPI_PACKAGE := "python-intervals"
+
+inherit pypi
+
+SRC_URI[md5sum] = "a35dd44269fdb134bf19cfd80cb2c120"
+SRC_URI[sha256sum] = "a8a15b7c2fadb8465310f44aa96e384828b35a29de38ac74738cd665924cb8ac"
+
+BBCLASSEXTEND = "native"
diff --git a/meta-python/recipes-devtools/python/python-intervals_1.5.4.bb b/meta-python/recipes-devtools/python/python-intervals_1.5.4.bb
new file mode 100644
index 000000000..3c2a33bbc
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-intervals_1.5.4.bb
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-intervals.inc
diff --git a/meta-python/recipes-devtools/python/python3-intervals_1.5.4.bb b/meta-python/recipes-devtools/python/python3-intervals_1.5.4.bb
new file mode 100644
index 000000000..8cbe1090f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-intervals_1.5.4.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-intervals.inc
-- 
2.17.1




More information about the Openembedded-devel mailing list