aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzangrc <zangrc.fnst@cn.fujitsu.com>2020-01-14 10:06:15 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-01-15 16:23:55 -0500
commit5a98de8c6596433829545483f676c4d56afa44f6 (patch)
tree6be746e57a8da3e64f24b0d127a8d6f149e31fd8
parenta8dbbbeda1f6ae65e6a2239c3d2c504ca1c37bc7 (diff)
downloadmeta-cloud-services-5a98de8c6596433829545483f676c4d56afa44f6.zip
meta-cloud-services-5a98de8c6596433829545483f676c4d56afa44f6.tar.gz
meta-cloud-services-5a98de8c6596433829545483f676c4d56afa44f6.tar.bz2
python-testresources: Add python3 version
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--meta-openstack/recipes-devtools/python/python-testresources.inc10
-rw-r--r--meta-openstack/recipes-devtools/python/python-testresources_0.2.7.bb12
-rw-r--r--meta-openstack/recipes-devtools/python/python3-testresources_0.2.7.bb2
3 files changed, 14 insertions, 10 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-testresources.inc b/meta-openstack/recipes-devtools/python/python-testresources.inc
new file mode 100644
index 0000000..67ad6c4
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-testresources.inc
@@ -0,0 +1,10 @@
+DESCRIPTION = "Testresources, a pyunit extension for managing expensive test resources"
+HOMEPAGE = "https://pypi.python.org/pypi/testtools/"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://README;md5=038679cd2cf27bb2acc70257bfee0f41"
+
+SRC_URI[md5sum] = "db2e774be2a6f5754cbbf4c537f823d0"
+SRC_URI[sha256sum] = "ad0a117383dd463827b199eaa92829b4d6a3147fbd97459820df53bae81d7231"
+
+inherit pypi
diff --git a/meta-openstack/recipes-devtools/python/python-testresources_0.2.7.bb b/meta-openstack/recipes-devtools/python/python-testresources_0.2.7.bb
index fe8dbb1..d939405 100644
--- a/meta-openstack/recipes-devtools/python/python-testresources_0.2.7.bb
+++ b/meta-openstack/recipes-devtools/python/python-testresources_0.2.7.bb
@@ -1,10 +1,2 @@
-DESCRIPTION = "Testresources, a pyunit extension for managing expensive test resources"
-HOMEPAGE = "https://pypi.python.org/pypi/testtools/"
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://README;md5=038679cd2cf27bb2acc70257bfee0f41"
-
-SRC_URI[md5sum] = "db2e774be2a6f5754cbbf4c537f823d0"
-SRC_URI[sha256sum] = "ad0a117383dd463827b199eaa92829b4d6a3147fbd97459820df53bae81d7231"
-
-inherit setuptools pypi
+require python-testresources.inc
+inherit setuptools
diff --git a/meta-openstack/recipes-devtools/python/python3-testresources_0.2.7.bb b/meta-openstack/recipes-devtools/python/python3-testresources_0.2.7.bb
new file mode 100644
index 0000000..79a535c
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python3-testresources_0.2.7.bb
@@ -0,0 +1,2 @@
+require python-testresources.inc
+inherit setuptools3