summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
-rw-r--r--meta-openstack/recipes-devtools/python/python-testtools.inc23
-rw-r--r--meta-openstack/recipes-devtools/python/python-testtools_2.3.0.bb25
-rw-r--r--meta-openstack/recipes-devtools/python/python3-testtools_2.3.0.bb2
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 @@
1DESCRIPTION = "Extensions to the Python standard library unit testing framework"
2HOMEPAGE = "https://pypi.python.org/pypi/testtools/"
3SECTION = "devel/python"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c9d3e8ba7141c83bfef190e0b9379a"
6
7SRC_URI[md5sum] = "0f0feb915497816cb99e39437494217e"
8SRC_URI[sha256sum] = "5827ec6cf8233e0f29f51025addd713ca010061204fdea77484a2934690a0559"
9
10inherit pypi
11DEPENDS += " \
12 ${PYTHON_PN}-pbr \
13 "
14
15# Satisfy setup.py 'setup_requires'
16DEPENDS += " \
17 ${PYTHON_PN}-pbr-native \
18 "
19
20RDEPENDS_${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 @@
1DESCRIPTION = "Extensions to the Python standard library unit testing framework" 1inherit setuptools
2HOMEPAGE = "https://pypi.python.org/pypi/testtools/" 2require python-testtools.inc
3SECTION = "devel/python"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c9d3e8ba7141c83bfef190e0b9379a"
6
7SRC_URI[md5sum] = "0f0feb915497816cb99e39437494217e"
8SRC_URI[sha256sum] = "5827ec6cf8233e0f29f51025addd713ca010061204fdea77484a2934690a0559"
9
10inherit setuptools pypi
11DEPENDS += " \
12 python-pbr \
13 "
14
15# Satisfy setup.py 'setup_requires'
16DEPENDS += " \
17 python-pbr-native \
18 "
19
20RDEPENDS_${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 @@
1inherit setuptools3
2require python-testtools.inc