diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
3 files changed, 27 insertions, 23 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-testtools.inc b/meta-openstack/recipes-devtools/python/python-testtools.inc new file mode 100644 index 0000000..7cc63f4 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-testtools.inc | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | DESCRIPTION = "Extensions to the Python standard library unit testing framework" | ||
| 2 | HOMEPAGE = "https://pypi.python.org/pypi/testtools/" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c9d3e8ba7141c83bfef190e0b9379a" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "0f0feb915497816cb99e39437494217e" | ||
| 8 | SRC_URI[sha256sum] = "5827ec6cf8233e0f29f51025addd713ca010061204fdea77484a2934690a0559" | ||
| 9 | |||
| 10 | inherit pypi | ||
| 11 | DEPENDS += " \ | ||
| 12 | ${PYTHON_PN}-pbr \ | ||
| 13 | " | ||
| 14 | |||
| 15 | # Satisfy setup.py 'setup_requires' | ||
| 16 | DEPENDS += " \ | ||
| 17 | ${PYTHON_PN}-pbr-native \ | ||
| 18 | " | ||
| 19 | |||
| 20 | RDEPENDS_${PN} += "\ | ||
| 21 | ${PYTHON_PN}-extras \ | ||
| 22 | ${PYTHON_PN}-pbr \ | ||
| 23 | " | ||
diff --git a/meta-openstack/recipes-devtools/python/python-testtools_2.3.0.bb b/meta-openstack/recipes-devtools/python/python-testtools_2.3.0.bb index bbf1d01..56ff9de 100644 --- a/meta-openstack/recipes-devtools/python/python-testtools_2.3.0.bb +++ b/meta-openstack/recipes-devtools/python/python-testtools_2.3.0.bb | |||
| @@ -1,23 +1,2 @@ | |||
| 1 | DESCRIPTION = "Extensions to the Python standard library unit testing framework" | 1 | inherit setuptools |
| 2 | HOMEPAGE = "https://pypi.python.org/pypi/testtools/" | 2 | require python-testtools.inc |
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c9d3e8ba7141c83bfef190e0b9379a" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "0f0feb915497816cb99e39437494217e" | ||
| 8 | SRC_URI[sha256sum] = "5827ec6cf8233e0f29f51025addd713ca010061204fdea77484a2934690a0559" | ||
| 9 | |||
| 10 | inherit setuptools pypi | ||
| 11 | DEPENDS += " \ | ||
| 12 | python-pbr \ | ||
| 13 | " | ||
| 14 | |||
| 15 | # Satisfy setup.py 'setup_requires' | ||
| 16 | DEPENDS += " \ | ||
| 17 | python-pbr-native \ | ||
| 18 | " | ||
| 19 | |||
| 20 | RDEPENDS_${PN} += "\ | ||
| 21 | python-extras \ | ||
| 22 | python-pbr \ | ||
| 23 | " | ||
diff --git a/meta-openstack/recipes-devtools/python/python3-testtools_2.3.0.bb b/meta-openstack/recipes-devtools/python/python3-testtools_2.3.0.bb new file mode 100644 index 0000000..896ecee --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-testtools_2.3.0.bb | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | inherit setuptools3 | ||
| 2 | require python-testtools.inc | ||
