summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python
diff options
context:
space:
mode:
authorZheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>2019-08-26 15:39:43 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-08-30 00:16:17 -0400
commit9edcb663531220fd65e11ed387b86ea48cfe37ef (patch)
treed96f8e916c428480b6df8252b8404668f49c89eb /meta-openstack/recipes-devtools/python
parentd259c731036996986394145482b341332075f028 (diff)
downloadmeta-cloud-services-9edcb663531220fd65e11ed387b86ea48cfe37ef.tar.gz
python-debtcollector: Add python3 version
Providing a python3 version of python-debtcollector. Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
-rw-r--r--meta-openstack/recipes-devtools/python/python-debtcollector.inc25
-rw-r--r--meta-openstack/recipes-devtools/python/python-debtcollector_1.21.0.bb25
-rw-r--r--meta-openstack/recipes-devtools/python/python3-debtcollector_1.21.0.bb2
3 files changed, 30 insertions, 22 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-debtcollector.inc b/meta-openstack/recipes-devtools/python/python-debtcollector.inc
new file mode 100644
index 0000000..629a059
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-debtcollector.inc
@@ -0,0 +1,25 @@
1DESCRIPTION = "A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner."
2HOMEPAGE = "http://docs.openstack.org/developer/debtcollector/"
3SECTION = "devel/python"
4LICENSE = "Apache-2"
5LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
6
7SRC_URI[md5sum] = "ec899623b37fdee65b888243f0a46735"
8SRC_URI[sha256sum] = "f6ce5a383ad73c23e1138dbb69bf45d33f4a4bdec38f02dbf2b89477ec5e55bc"
9
10inherit pypi
11
12DEPENDS += " \
13 ${PYTHON_PN}-pip \
14 ${PYTHON_PN}-pbr \
15 "
16
17# Satisfy setup.py 'setup_requires'
18DEPENDS += " \
19 ${PYTHON_PN}-pbr-native \
20 "
21
22# RDEPENDS_default:
23RDEPENDS_${PN} += " \
24 ${PYTHON_PN}-pbr \
25 "
diff --git a/meta-openstack/recipes-devtools/python/python-debtcollector_1.21.0.bb b/meta-openstack/recipes-devtools/python/python-debtcollector_1.21.0.bb
index 18b910b..8381109 100644
--- a/meta-openstack/recipes-devtools/python/python-debtcollector_1.21.0.bb
+++ b/meta-openstack/recipes-devtools/python/python-debtcollector_1.21.0.bb
@@ -1,26 +1,7 @@
1DESCRIPTION = "A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner." 1inherit setuptools
2HOMEPAGE = "http://docs.openstack.org/developer/debtcollector/" 2require python-debtcollector.inc
3SECTION = "devel/python"
4LICENSE = "Apache-2"
5LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
6 3
7SRC_URI[md5sum] = "ec899623b37fdee65b888243f0a46735" 4# Only for Python2 depends on funcsigs
8SRC_URI[sha256sum] = "f6ce5a383ad73c23e1138dbb69bf45d33f4a4bdec38f02dbf2b89477ec5e55bc"
9
10inherit setuptools pypi
11
12DEPENDS += " \
13 python-pip \
14 python-pbr \
15 "
16
17# Satisfy setup.py 'setup_requires'
18DEPENDS += " \
19 python-pbr-native \
20 "
21
22# RDEPENDS_default:
23RDEPENDS_${PN} += " \ 5RDEPENDS_${PN} += " \
24 python-pbr \
25 python-funcsigs \ 6 python-funcsigs \
26 " 7 "
diff --git a/meta-openstack/recipes-devtools/python/python3-debtcollector_1.21.0.bb b/meta-openstack/recipes-devtools/python/python3-debtcollector_1.21.0.bb
new file mode 100644
index 0000000..7947185
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-debtcollector_1.21.0.bb
@@ -0,0 +1,2 @@
1inherit setuptools3
2require python-debtcollector.inc