From 4b7a13ec30d6a83ddd6527ea55f73168963c5886 Mon Sep 17 00:00:00 2001 From: zangrc Date: Tue, 14 Jan 2020 09:59:37 +0800 Subject: python-testrepository: Add python3 version Signed-off-by: Zang Ruochen Signed-off-by: Bruce Ashfield --- .../recipes-devtools/python/python-testrepository.inc | 17 +++++++++++++++++ .../python/python-testrepository_0.0.20.bb | 18 ++---------------- .../python/python3-testrepository_0.0.20.bb | 3 +++ 3 files changed, 22 insertions(+), 16 deletions(-) create mode 100644 meta-openstack/recipes-devtools/python/python-testrepository.inc create mode 100644 meta-openstack/recipes-devtools/python/python3-testrepository_0.0.20.bb 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 @@ +DESCRIPTION = "A repository of test results" +HOMEPAGE = "https://pypi.python.org/pypi/testrepository/" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=f19071a777e237c55ec3ab83284b31b8" + +SRC_URI[md5sum] = "f648b0aceeca4fcd5f8a62eeedea289b" +SRC_URI[sha256sum] = "752449bc98c20253ec4611c40564aea93d435a5bf3ff672208e01cc10e5858eb" + +inherit pypi + +RDEPENDS_${PN} += "${PYTHON_PN}-subunit \ + ${PYTHON_PN}-extras \ +" + +CLEANBROKEN = "1" + 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 @@ -DESCRIPTION = "A repository of test results" -HOMEPAGE = "https://pypi.python.org/pypi/testrepository/" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://COPYING;md5=f19071a777e237c55ec3ab83284b31b8" - -SRC_URI[md5sum] = "f648b0aceeca4fcd5f8a62eeedea289b" -SRC_URI[sha256sum] = "752449bc98c20253ec4611c40564aea93d435a5bf3ff672208e01cc10e5858eb" - -inherit setuptools pypi - -RDEPENDS_${PN} += "python-subunit \ - python-extras \ -" - -CLEANBROKEN = "1" +require python-testrepository.inc +inherit setuptools 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 @@ +require python-testrepository.inc +inherit setuptools3 + -- cgit v1.2.3-54-g00ecf