diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-07-27 14:59:25 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-30 12:44:35 +0100 |
commit | 288af6c687e9fc8f95f05075fd6e792015b76fee (patch) | |
tree | 3fef8b1d3c1894a16bdfb14742bb739f0f9b5afe /meta | |
parent | 76fbee59374d282c9d7e62db95c0968745411777 (diff) | |
download | poky-288af6c687e9fc8f95f05075fd6e792015b76fee.tar.gz |
python3-pbr: add it for python3-testtools
- The python3-testtools RDEPENDS on it.
- It is from meta-python, I extended it to nativesdk.
(From OE-Core rev: 4cc30de57dd70571005a1f31f9465d745c92aad2)
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')
-rw-r--r-- | meta/recipes-devtools/python/python-pbr.inc | 15 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3-pbr_3.1.1.bb | 2 |
2 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-pbr.inc b/meta/recipes-devtools/python/python-pbr.inc new file mode 100644 index 0000000000..0b708838d6 --- /dev/null +++ b/meta/recipes-devtools/python/python-pbr.inc | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "Python Build Reasonableness" | ||
2 | DESCRIPTION = "PBR is a library that injects some useful and sensible default behaviors into your setuptools run" | ||
3 | HOMEPAGE = "https://pypi.python.org/pypi/pbr" | ||
4 | SECTION = "devel/python" | ||
5 | LICENSE = "Apache-2.0" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" | ||
7 | |||
8 | SRC_URI[md5sum] = "4e82c2e07af544c56a5b71c801525b00" | ||
9 | SRC_URI[sha256sum] = "05f61c71aaefc02d8e37c0a3eeb9815ff526ea28b3b76324769e6158d7f95be1" | ||
10 | |||
11 | inherit pypi | ||
12 | |||
13 | RDEPENDS_${PN} += "${PYTHON_PN}-pip" | ||
14 | |||
15 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta/recipes-devtools/python/python3-pbr_3.1.1.bb b/meta/recipes-devtools/python/python3-pbr_3.1.1.bb new file mode 100644 index 0000000000..97e7361b16 --- /dev/null +++ b/meta/recipes-devtools/python/python3-pbr_3.1.1.bb | |||
@@ -0,0 +1,2 @@ | |||
1 | inherit setuptools3 | ||
2 | require python-pbr.inc | ||