Signed-off-by: Zang Ruochen <[email protected]>
---
 .../recipes-devtools/python/python-deprecation.inc   | 10 ++++++++++
 .../python/python-deprecation_1.0.1.bb               | 12 ++----------
 .../python/python3-deprecation_1.0.1.bb              |  2 ++
 3 files changed, 14 insertions(+), 10 deletions(-)
 create mode 100644 
meta-openstack/recipes-devtools/python/python-deprecation.inc
 create mode 100644 
meta-openstack/recipes-devtools/python/python3-deprecation_1.0.1.bb

diff --git a/meta-openstack/recipes-devtools/python/python-deprecation.inc 
b/meta-openstack/recipes-devtools/python/python-deprecation.inc
new file mode 100644
index 0000000..eec4dd1
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-deprecation.inc
@@ -0,0 +1,10 @@
+DESCRIPTION = "A library to handle automated deprecations"
+HOMEPAGE = "http://deprecation.readthedocs.io/en/latest/";
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
+
+SRC_URI[md5sum] = "d8a318c66d442dc4b900e070267ed9aa"
+SRC_URI[sha256sum] = 
"b9bff5cc91f601ef2a8a0200bc6cde3f18a48c2ed3d1ecbfc16076b14b3ad935"
+
+inherit pypi
diff --git a/meta-openstack/recipes-devtools/python/python-deprecation_1.0.1.bb 
b/meta-openstack/recipes-devtools/python/python-deprecation_1.0.1.bb
index 53e3665..9f155a2 100644
--- a/meta-openstack/recipes-devtools/python/python-deprecation_1.0.1.bb
+++ b/meta-openstack/recipes-devtools/python/python-deprecation_1.0.1.bb
@@ -1,10 +1,2 @@
-DESCRIPTION = "A library to handle automated deprecations"
-HOMEPAGE = "http://deprecation.readthedocs.io/en/latest/";
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
-
-SRC_URI[md5sum] = "d8a318c66d442dc4b900e070267ed9aa"
-SRC_URI[sha256sum] = 
"b9bff5cc91f601ef2a8a0200bc6cde3f18a48c2ed3d1ecbfc16076b14b3ad935"
-
-inherit setuptools pypi
+require python-deprecation.inc
+inherit setuptools
diff --git 
a/meta-openstack/recipes-devtools/python/python3-deprecation_1.0.1.bb 
b/meta-openstack/recipes-devtools/python/python3-deprecation_1.0.1.bb
new file mode 100644
index 0000000..d2e0f1c
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-deprecation_1.0.1.bb
@@ -0,0 +1,2 @@
+require python-deprecation.inc
+inherit setuptools3
-- 
2.20.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#4779): 
https://lists.yoctoproject.org/g/meta-virtualization/message/4779
Mute This Topic: https://lists.yoctoproject.org/mt/64313865/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to