[oe] [meta-python][PATCH] python-semver: add new recipe

Dennis Menschel menschel-d at posteo.de
Fri Jul 20 23:29:37 UTC 2018


This small python module provides a way to manage and compare version
strings which adhere to the Semantic Versioning specification [1].

[1] https://semver.org

Signed-off-by: Dennis Menschel <menschel-d at posteo.de>
---
 .../recipes-devtools/python/python-semver.inc        | 12 ++++++++++++
 .../recipes-devtools/python/python-semver_2.8.1.bb   |  2 ++
 .../recipes-devtools/python/python3-semver_2.8.1.bb  |  2 ++
 3 files changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-semver.inc
 create mode 100644 meta-python/recipes-devtools/python/python-semver_2.8.1.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-semver_2.8.1.bb

diff --git a/meta-python/recipes-devtools/python/python-semver.inc b/meta-python/recipes-devtools/python/python-semver.inc
new file mode 100644
index 000000000..3c95c06ea
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-semver.inc
@@ -0,0 +1,12 @@
+DESCRIPTION = "Python module for Semantic Versioning"
+HOMEPAGE = "https://github.com/k-bx/python-semver"
+BUGTRACKER = "https://github.com/k-bx/python-semver/issues"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709"
+
+SRC_URI[md5sum] = "dc579ba9d0bb2137bad5324d4bdb7e40"
+SRC_URI[sha256sum] = "5b09010a66d9a3837211bb7ae5a20d10ba88f8cb49e92cb139a69ef90d5060d8"
+
+inherit pypi
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-semver_2.8.1.bb b/meta-python/recipes-devtools/python/python-semver_2.8.1.bb
new file mode 100644
index 000000000..0572feb31
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-semver_2.8.1.bb
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-semver.inc
diff --git a/meta-python/recipes-devtools/python/python3-semver_2.8.1.bb b/meta-python/recipes-devtools/python/python3-semver_2.8.1.bb
new file mode 100644
index 000000000..77925ae2b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-semver_2.8.1.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-semver.inc
-- 
2.17.1




More information about the Openembedded-devel mailing list