aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Rehsack <sno@netbsd.org>2018-08-27 13:07:34 +0200
committerKhem Raj <raj.khem@gmail.com>2018-08-27 10:53:58 -0700
commit9c94983d17b05c3f246b348155d5b64c8f4f6629 (patch)
treed9b12f4d3f6bde3cc302cf012de9eb91ba530baa
parentda5a541d5e5b1bad466d2c6fefb2c347a9ecef41 (diff)
downloadmeta-python2-9c94983d17b05c3f246b348155d5b64c8f4f6629.tar.gz
python{, 3}-intervals: add recipes for python2/3
Add recipe for interval arithmetic for python supporting python2 as well as python3 infrastructure of Yocto. (From meta-openembedded commit: 218c1e74b78068031c77df2c712a754d1e7ff160) Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com>
-rw-r--r--recipes-devtools/python/python-intervals.inc15
-rw-r--r--recipes-devtools/python/python-intervals_1.5.4.bb2
2 files changed, 17 insertions, 0 deletions
diff --git a/recipes-devtools/python/python-intervals.inc b/recipes-devtools/python/python-intervals.inc
new file mode 100644
index 0000000..1ecca35
--- /dev/null
+++ b/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/recipes-devtools/python/python-intervals_1.5.4.bb b/recipes-devtools/python/python-intervals_1.5.4.bb
new file mode 100644
index 0000000..3c2a33b
--- /dev/null
+++ b/recipes-devtools/python/python-intervals_1.5.4.bb
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-intervals.inc