diff options
Diffstat (limited to 'meta-openstack')
3 files changed, 28 insertions, 24 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-testscenarios.inc b/meta-openstack/recipes-devtools/python/python-testscenarios.inc new file mode 100644 index 0000000..1008f11 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-testscenarios.inc | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | DESCRIPTION = "testscenarios: a pyunit extension for dependency injection" | ||
| 2 | HOMEPAGE = "https://pypi.python.org/pypi/testscenarios" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "BSD" | ||
| 5 | LIC_FILES_CHKSUM = "file://BSD;md5=0805e4f024d089a52dca0671a65b8b66" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "859073d9e7b049aee2e6704c51f6001a" | ||
| 8 | SRC_URI[sha256sum] = "c257cb6b90ea7e6f8fef3158121d430543412c9a87df30b5dde6ec8b9b57a2b6" | ||
| 9 | |||
| 10 | inherit pypi | ||
| 11 | |||
| 12 | DEPENDS += "\ | ||
| 13 | ${PYTHON_PN}-pbr \ | ||
| 14 | " | ||
| 15 | |||
| 16 | # Satisfy setup.py 'setup_requires' | ||
| 17 | DEPENDS += " \ | ||
| 18 | ${PYTHON_PN}-pbr-native \ | ||
| 19 | " | ||
| 20 | |||
| 21 | RDEPENDS_${PN} += "\ | ||
| 22 | ${PYTHON_PN}-testtools \ | ||
| 23 | ${PYTHON_PN}-pbr \ | ||
| 24 | " | ||
diff --git a/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb b/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb index 18971d6..868a5b9 100644 --- a/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb +++ b/meta-openstack/recipes-devtools/python/python-testscenarios_0.5.0.bb | |||
| @@ -1,24 +1,2 @@ | |||
| 1 | DESCRIPTION = "testscenarios: a pyunit extension for dependency injection" | 1 | inherit setuptools |
| 2 | HOMEPAGE = "https://pypi.python.org/pypi/testscenarios" | 2 | require python-testscenarios.inc |
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "BSD" | ||
| 5 | LIC_FILES_CHKSUM = "file://BSD;md5=0805e4f024d089a52dca0671a65b8b66" | ||
| 6 | |||
| 7 | SRC_URI[md5sum] = "859073d9e7b049aee2e6704c51f6001a" | ||
| 8 | SRC_URI[sha256sum] = "c257cb6b90ea7e6f8fef3158121d430543412c9a87df30b5dde6ec8b9b57a2b6" | ||
| 9 | |||
| 10 | inherit setuptools pypi | ||
| 11 | |||
| 12 | DEPENDS += "\ | ||
| 13 | python-pbr \ | ||
| 14 | " | ||
| 15 | |||
| 16 | # Satisfy setup.py 'setup_requires' | ||
| 17 | DEPENDS += " \ | ||
| 18 | python-pbr-native \ | ||
| 19 | " | ||
| 20 | |||
| 21 | RDEPENDS_${PN} += "\ | ||
| 22 | python-testtools \ | ||
| 23 | python-pbr \ | ||
| 24 | " | ||
diff --git a/meta-openstack/recipes-devtools/python/python3-testscenarios_0.5.0.bb b/meta-openstack/recipes-devtools/python/python3-testscenarios_0.5.0.bb new file mode 100644 index 0000000..6f7d418 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-testscenarios_0.5.0.bb | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | inherit setuptools3 | ||
| 2 | require python-testscenarios.inc | ||
