aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-nose.inc
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2017-11-18 16:19:18 -0800
committerTim Orling <timothy.t.orling@linux.intel.com>2017-11-22 08:30:02 -0800
commit9017d894e18bcc8f0532fe66d10c9958e01b1c9b (patch)
tree8761ae1b0ed643136f04957f152c4ab22c0c1040 /meta/recipes-devtools/python/python-nose.inc
parentfc99c1bb60772edef5af908e78bcacb925cd0b45 (diff)
downloadopenembedded-core-contrib-9017d894e18bcc8f0532fe66d10c9958e01b1c9b.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 Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/python/python-nose.inc')
-rw-r--r--meta/recipes-devtools/python/python-nose.inc18
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 @@
+SUMMARY = "Extends Python unittest to make testing easier"
+HOMEPAGE = "http://readthedocs.org/docs/nose/"
+DESCRIPTION = "nose extends the test loading and running features of unittest, \
+making it easier to write, find and run tests."
+SECTION = "devel/python"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://lgpl.txt;md5=a6f89e2100d9b6cdffcea4f398e37343"
+
+SRC_URI[md5sum] = "4d3ad0ff07b61373d2cefc89c5d0b20b"
+SRC_URI[sha256sum] = "f1bffef9cbc82628f6e7d7b40d7e255aefaa1adb6a1b1d26c69a8b79e6208a98"
+
+inherit pypi
+
+RDEPENDS_${PN} = "\
+ ${PYTHON_PN}-unittest \
+ "
+
+BBCLASSEXTEND = "native nativesdk"