summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-testtools.inc
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2018-07-27 15:36:17 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-30 12:44:35 +0100
commitc9224cc637d2616d6bdc40d03f71d6e3b20dddc5 (patch)
treef6927c4ed2882a764dab4b4d5a73786ed42873fa /meta/recipes-devtools/python/python-testtools.inc
parent288af6c687e9fc8f95f05075fd6e792015b76fee (diff)
downloadpoky-c9224cc637d2616d6bdc40d03f71d6e3b20dddc5.tar.gz
python3-testtools: add it for oeqa
- It is required by oeqa, add it so that we can add nativesdk-python3-testtools to buildtools-tarball. - The original one is python-testtools_2.3.0.bb which is from meta-openstack layer, I divided it into python-testtools.inc and python3-testtools_2.2.0.bb, and extended to nativesdk. (From OE-Core rev: 50864df5b0eb3d1704e8fe75c06e957af0b41c38) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-testtools.inc')
-rw-r--r--meta/recipes-devtools/python/python-testtools.inc27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-testtools.inc b/meta/recipes-devtools/python/python-testtools.inc
new file mode 100644
index 0000000000..fe1d49a8aa
--- /dev/null
+++ b/meta/recipes-devtools/python/python-testtools.inc
@@ -0,0 +1,27 @@
1SUMMARY = "Extensions to the Python standard library unit testing framework"
2HOMEPAGE = "https://pypi.python.org/pypi/testtools/"
3SECTION = "devel/python"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c9d3e8ba7141c83bfef190e0b9379a"
6
7inherit pypi
8
9SRC_URI[md5sum] = "adef817b07ba24fd6d807fd41a4f1ef4"
10SRC_URI[sha256sum] = "80f606607a6e4ce4d0e24e5b786562aa42c581906f3c070607a4265f3da65810"
11
12DEPENDS += " \
13 ${PYTHON_PN}-pbr \
14 "
15
16# Satisfy setup.py 'setup_requires'
17DEPENDS += " \
18 ${PYTHON_PN}-pbr-native \
19 "
20
21RDEPENDS_${PN} += "\
22 ${PYTHON_PN}-extras \
23 ${PYTHON_PN}-pbr \
24 ${PYTHON_PN}-six \
25 "
26
27BBCLASSEXTEND = "nativesdk"