diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-07-27 15:36:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-30 12:44:35 +0100 |
commit | c9224cc637d2616d6bdc40d03f71d6e3b20dddc5 (patch) | |
tree | f6927c4ed2882a764dab4b4d5a73786ed42873fa /meta/recipes-devtools/python | |
parent | 288af6c687e9fc8f95f05075fd6e792015b76fee (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-devtools/python/python-testtools.inc | 27 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3-testtools_2.2.0.bb | 2 |
2 files changed, 29 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 @@ | |||
1 | SUMMARY = "Extensions to the Python standard library unit testing framework" | ||
2 | HOMEPAGE = "https://pypi.python.org/pypi/testtools/" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e2c9d3e8ba7141c83bfef190e0b9379a" | ||
6 | |||
7 | inherit pypi | ||
8 | |||
9 | SRC_URI[md5sum] = "adef817b07ba24fd6d807fd41a4f1ef4" | ||
10 | SRC_URI[sha256sum] = "80f606607a6e4ce4d0e24e5b786562aa42c581906f3c070607a4265f3da65810" | ||
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}-extras \ | ||
23 | ${PYTHON_PN}-pbr \ | ||
24 | ${PYTHON_PN}-six \ | ||
25 | " | ||
26 | |||
27 | BBCLASSEXTEND = "nativesdk" | ||
diff --git a/meta/recipes-devtools/python/python3-testtools_2.2.0.bb b/meta/recipes-devtools/python/python3-testtools_2.2.0.bb new file mode 100644 index 0000000000..896ecee65c --- /dev/null +++ b/meta/recipes-devtools/python/python3-testtools_2.2.0.bb | |||
@@ -0,0 +1,2 @@ | |||
1 | inherit setuptools3 | ||
2 | require python-testtools.inc | ||