All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization] [PATCH] python-semantic-version: Add python3 version
@ 2020-01-14  1:27 zangrc
  0 siblings, 0 replies; only message in thread
From: zangrc @ 2020-01-14  1:27 UTC (permalink / raw)
  To: meta-virtualization

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
 .../python/python-semantic-version.inc        | 24 +++++++++++++++++
 .../python/python-semantic-version_2.4.2.bb   | 26 ++-----------------
 .../python/python3-semantic-version_2.4.2.bb  |  2 ++
 3 files changed, 28 insertions(+), 24 deletions(-)
 create mode 100644 meta-openstack/recipes-devtools/python/python-semantic-version.inc
 create mode 100644 meta-openstack/recipes-devtools/python/python3-semantic-version_2.4.2.bb

diff --git a/meta-openstack/recipes-devtools/python/python-semantic-version.inc b/meta-openstack/recipes-devtools/python/python-semantic-version.inc
new file mode 100644
index 0000000..e003c0c
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-semantic-version.inc
@@ -0,0 +1,24 @@
+DESCRIPTION = "A library which provides a few tools to handle SemVer in Python."
+HOMEPAGE = "http://pypi.python.org/pypi/semantic_version"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a7dcaa0740d59f8f13ef05a3d0ed7313"
+
+PYPI_PACKAGE = "semantic_version"
+
+SRC_URI[md5sum] = "fd7d5ade76e78d8540b9a4044496a57c"
+SRC_URI[sha256sum] = "7e8b7fa74a3bc9b6e90b15b83b9bc2377c78eaeae3447516425f475d5d6932d2"
+
+#export BUILD_SYS
+#export HOST_SYS
+
+inherit pypi
+
+# DEPENDS_default: python-pip
+
+DEPENDS += " \
+        "
+
+# RDEPENDS_default: 
+RDEPENDS_${PN} += " \
+        "
diff --git a/meta-openstack/recipes-devtools/python/python-semantic-version_2.4.2.bb b/meta-openstack/recipes-devtools/python/python-semantic-version_2.4.2.bb
index a038abb..2ca2d92 100644
--- a/meta-openstack/recipes-devtools/python/python-semantic-version_2.4.2.bb
+++ b/meta-openstack/recipes-devtools/python/python-semantic-version_2.4.2.bb
@@ -1,24 +1,2 @@
-DESCRIPTION = "A library which provides a few tools to handle SemVer in Python."
-HOMEPAGE = "http://pypi.python.org/pypi/semantic_version"
-SECTION = "devel/python"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a7dcaa0740d59f8f13ef05a3d0ed7313"
-
-PYPI_PACKAGE = "semantic_version"
-
-SRC_URI[md5sum] = "fd7d5ade76e78d8540b9a4044496a57c"
-SRC_URI[sha256sum] = "7e8b7fa74a3bc9b6e90b15b83b9bc2377c78eaeae3447516425f475d5d6932d2"
-
-#export BUILD_SYS
-#export HOST_SYS
-
-inherit setuptools pypi
-
-# DEPENDS_default: python-pip
-
-DEPENDS += " \
-        "
-
-# RDEPENDS_default: 
-RDEPENDS_${PN} += " \
-        "
+require python-semantic-version.inc
+inherit setuptools
diff --git a/meta-openstack/recipes-devtools/python/python3-semantic-version_2.4.2.bb b/meta-openstack/recipes-devtools/python/python3-semantic-version_2.4.2.bb
new file mode 100644
index 0000000..f4191f5
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-semantic-version_2.4.2.bb
@@ -0,0 +1,2 @@
+require python-semantic-version.inc
+inherit setuptools3
-- 
2.20.1




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-14  1:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-14  1:27 [meta-virtualization] [PATCH] python-semantic-version: Add python3 version zangrc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.