diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
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 @@ | |||
| 1 | DESCRIPTION = "A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner." | ||
| 2 | HOMEPAGE = "http://docs.openstack.org/developer/debtcollector/" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2" | ||
| 5 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "ec899623b37fdee65b888243f0a46735" | ||
| 8 | SRC_URI[sha256sum] = "f6ce5a383ad73c23e1138dbb69bf45d33f4a4bdec38f02dbf2b89477ec5e55bc" | ||
| 9 | |||
| 10 | inherit pypi | ||
| 11 | |||
| 12 | DEPENDS += " \ | ||
| 13 | ${PYTHON_PN}-pip \ | ||
| 14 | ${PYTHON_PN}-pbr \ | ||
| 15 | " | ||
| 16 | |||
| 17 | # Satisfy setup.py 'setup_requires' | ||
| 18 | DEPENDS += " \ | ||
| 19 | ${PYTHON_PN}-pbr-native \ | ||
| 20 | " | ||
| 21 | |||
| 22 | # RDEPENDS_default: | ||
| 23 | RDEPENDS_${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 @@ | |||
| 1 | DESCRIPTION = "A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner." | 1 | inherit setuptools |
| 2 | HOMEPAGE = "http://docs.openstack.org/developer/debtcollector/" | 2 | require python-debtcollector.inc |
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2" | ||
| 5 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
| 6 | 3 | ||
| 7 | SRC_URI[md5sum] = "ec899623b37fdee65b888243f0a46735" | 4 | # Only for Python2 depends on funcsigs |
| 8 | SRC_URI[sha256sum] = "f6ce5a383ad73c23e1138dbb69bf45d33f4a4bdec38f02dbf2b89477ec5e55bc" | ||
| 9 | |||
| 10 | inherit setuptools pypi | ||
| 11 | |||
| 12 | DEPENDS += " \ | ||
| 13 | python-pip \ | ||
| 14 | python-pbr \ | ||
| 15 | " | ||
| 16 | |||
| 17 | # Satisfy setup.py 'setup_requires' | ||
| 18 | DEPENDS += " \ | ||
| 19 | python-pbr-native \ | ||
| 20 | " | ||
| 21 | |||
| 22 | # RDEPENDS_default: | ||
| 23 | RDEPENDS_${PN} += " \ | 5 | RDEPENDS_${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 @@ | |||
| 1 | inherit setuptools3 | ||
| 2 | require python-debtcollector.inc | ||
