diff options
author | zangrc <zangrc.fnst@cn.fujitsu.com> | 2020-01-14 09:59:37 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-01-15 16:23:55 -0500 |
commit | 4b7a13ec30d6a83ddd6527ea55f73168963c5886 (patch) | |
tree | a1248e17a6a51417978a4cff446ffcc27076e71c | |
parent | 5a98de8c6596433829545483f676c4d56afa44f6 (diff) | |
download | meta-cloud-services-4b7a13ec30d6a83ddd6527ea55f73168963c5886.tar.gz |
python-testrepository: Add python3 version
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
3 files changed, 22 insertions, 16 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-testrepository.inc b/meta-openstack/recipes-devtools/python/python-testrepository.inc new file mode 100644 index 0000000..673141d --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-testrepository.inc | |||
@@ -0,0 +1,17 @@ | |||
1 | DESCRIPTION = "A repository of test results" | ||
2 | HOMEPAGE = "https://pypi.python.org/pypi/testrepository/" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=f19071a777e237c55ec3ab83284b31b8" | ||
6 | |||
7 | SRC_URI[md5sum] = "f648b0aceeca4fcd5f8a62eeedea289b" | ||
8 | SRC_URI[sha256sum] = "752449bc98c20253ec4611c40564aea93d435a5bf3ff672208e01cc10e5858eb" | ||
9 | |||
10 | inherit pypi | ||
11 | |||
12 | RDEPENDS_${PN} += "${PYTHON_PN}-subunit \ | ||
13 | ${PYTHON_PN}-extras \ | ||
14 | " | ||
15 | |||
16 | CLEANBROKEN = "1" | ||
17 | |||
diff --git a/meta-openstack/recipes-devtools/python/python-testrepository_0.0.20.bb b/meta-openstack/recipes-devtools/python/python-testrepository_0.0.20.bb index 79be868..3788ce1 100644 --- a/meta-openstack/recipes-devtools/python/python-testrepository_0.0.20.bb +++ b/meta-openstack/recipes-devtools/python/python-testrepository_0.0.20.bb | |||
@@ -1,17 +1,3 @@ | |||
1 | DESCRIPTION = "A repository of test results" | 1 | require python-testrepository.inc |
2 | HOMEPAGE = "https://pypi.python.org/pypi/testrepository/" | 2 | inherit setuptools |
3 | SECTION = "devel/python" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=f19071a777e237c55ec3ab83284b31b8" | ||
6 | |||
7 | SRC_URI[md5sum] = "f648b0aceeca4fcd5f8a62eeedea289b" | ||
8 | SRC_URI[sha256sum] = "752449bc98c20253ec4611c40564aea93d435a5bf3ff672208e01cc10e5858eb" | ||
9 | |||
10 | inherit setuptools pypi | ||
11 | |||
12 | RDEPENDS_${PN} += "python-subunit \ | ||
13 | python-extras \ | ||
14 | " | ||
15 | |||
16 | CLEANBROKEN = "1" | ||
17 | 3 | ||
diff --git a/meta-openstack/recipes-devtools/python/python3-testrepository_0.0.20.bb b/meta-openstack/recipes-devtools/python/python3-testrepository_0.0.20.bb new file mode 100644 index 0000000..a01b4c2 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python3-testrepository_0.0.20.bb | |||
@@ -0,0 +1,3 @@ | |||
1 | require python-testrepository.inc | ||
2 | inherit setuptools3 | ||
3 | |||