diff options
author | zhengruoqin <zhengrq.fnst@cn.fujitsu.com> | 2020-10-20 14:43:04 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-10-27 23:27:51 -0400 |
commit | 03b8a9cd67cca4cd7fe9ca3a03f58ab5c66f7254 (patch) | |
tree | 51f0f98f8e6c5abd82883873d8866b7f9bedcc24 | |
parent | 251bd05a888f2439c59fabd61af7454ff521baba (diff) | |
download | meta-cloud-services-03b8a9cd67cca4cd7fe9ca3a03f58ab5c66f7254.tar.gz |
python3-testscenarios: Consolidate in a single file
Consolidate inc and bb files into a single bb file.
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-testscenarios.inc | 24 | ||||
-rw-r--r-- | meta-openstack/recipes-devtools/python/python3-testscenarios_0.5.0.bb | 26 |
2 files changed, 24 insertions, 26 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-testscenarios.inc b/meta-openstack/recipes-devtools/python/python-testscenarios.inc deleted file mode 100644 index 1008f11..0000000 --- a/meta-openstack/recipes-devtools/python/python-testscenarios.inc +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
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/python3-testscenarios_0.5.0.bb b/meta-openstack/recipes-devtools/python/python3-testscenarios_0.5.0.bb index 6f7d418..92523c2 100644 --- a/meta-openstack/recipes-devtools/python/python3-testscenarios_0.5.0.bb +++ b/meta-openstack/recipes-devtools/python/python3-testscenarios_0.5.0.bb | |||
@@ -1,2 +1,24 @@ | |||
1 | inherit setuptools3 | 1 | DESCRIPTION = "testscenarios: a pyunit extension for dependency injection" |
2 | require python-testscenarios.inc | 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 setuptools3 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 | " | ||