diff options
author | Tim Orling <timothy.t.orling@linux.intel.com> | 2017-11-18 16:19:18 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-13 14:00:52 +0000 |
commit | a61146fe9d129f28985ab28db56f7d4af71d34d1 (patch) | |
tree | a20b4485af9ab5f663fca511872f005be8282c23 /meta/recipes-devtools/python/python-nose.inc | |
parent | 2eed409aa729c4119d000c98bf2d209e0aa8ff3d (diff) | |
download | poky-a61146fe9d129f28985ab28db56f7d4af71d34d1.tar.gz |
python-nose: use pypi.bbclass
* Simplify python- and python3-nose by using pypi.bbclass
* Consolidate common content in python-nose.inc
- Avoid duplication by using PYTHON_PN variable
(From OE-Core rev: 351e741cea4538cfe30640bd6e451c0fbc1d0329)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.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-nose.inc')
-rw-r--r-- | meta/recipes-devtools/python/python-nose.inc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-nose.inc b/meta/recipes-devtools/python/python-nose.inc new file mode 100644 index 0000000000..ccec68a0e1 --- /dev/null +++ b/meta/recipes-devtools/python/python-nose.inc | |||
@@ -0,0 +1,18 @@ | |||
1 | SUMMARY = "Extends Python unittest to make testing easier" | ||
2 | HOMEPAGE = "http://readthedocs.org/docs/nose/" | ||
3 | DESCRIPTION = "nose extends the test loading and running features of unittest, \ | ||
4 | making it easier to write, find and run tests." | ||
5 | SECTION = "devel/python" | ||
6 | LICENSE = "LGPLv2.1" | ||
7 | LIC_FILES_CHKSUM = "file://lgpl.txt;md5=a6f89e2100d9b6cdffcea4f398e37343" | ||
8 | |||
9 | SRC_URI[md5sum] = "4d3ad0ff07b61373d2cefc89c5d0b20b" | ||
10 | SRC_URI[sha256sum] = "f1bffef9cbc82628f6e7d7b40d7e255aefaa1adb6a1b1d26c69a8b79e6208a98" | ||
11 | |||
12 | inherit pypi | ||
13 | |||
14 | RDEPENDS_${PN} = "\ | ||
15 | ${PYTHON_PN}-unittest \ | ||
16 | " | ||
17 | |||
18 | BBCLASSEXTEND = "native nativesdk" | ||