summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-subunit_1.4.0.bb
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2022-02-22 11:16:49 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-25 15:07:50 +0000
commitdb10509019fcfab46967d69e772fc3185e9042a3 (patch)
treeec694ae8314add4a676885f093576b122a27802a /meta/recipes-devtools/python/python3-subunit_1.4.0.bb
parent7b4524f5a1f88378dd4a10d88bc07d90fdba1aac (diff)
downloadpoky-db10509019fcfab46967d69e772fc3185e9042a3.tar.gz
python3-subunit: merge inc; set PIP_INSTALL_PACKAGE
We have not supported python2 for some time now, so there is no reason to maintain a separate python-subunit.inc file. The wheel built by bdist_wheel is named 'python_subunit-*.whl', so set PIP_INSALL_PACKAGE appropriately. Add patch to use vendored _distutils from setuptools. [YOCTO #14638] (From OE-Core rev: 1183357dc9ebff0281c195b41f16fa07c79e84a0) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-subunit_1.4.0.bb')
-rw-r--r--meta/recipes-devtools/python/python3-subunit_1.4.0.bb17
1 files changed, 15 insertions, 2 deletions
diff --git a/meta/recipes-devtools/python/python3-subunit_1.4.0.bb b/meta/recipes-devtools/python/python3-subunit_1.4.0.bb
index a06ded868f..bc49a2b69e 100644
--- a/meta/recipes-devtools/python/python3-subunit_1.4.0.bb
+++ b/meta/recipes-devtools/python/python3-subunit_1.4.0.bb
@@ -1,4 +1,17 @@
1inherit setuptools3 1SUMMARY = "Python implementation of subunit test streaming protocol"
2require python-subunit.inc 2HOMEPAGE = "https://pypi.org/project/python-subunit/"
3SECTION = "devel/python"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://README.rst;beginline=1;endline=20;md5=909c08e291647fd985fbe5d9836d51b6"
6
7PYPI_PACKAGE = "python-subunit"
8
9SRC_URI[sha256sum] = "042039928120fbf392e8c983d60f3d8ae1b88f90a9f8fd7188ddd9c26cad1e48"
10
11inherit pypi setuptools3
12
13PIP_INSTALL_PACKAGE = "python_subunit"
3 14
4RDEPENDS:${PN} = " python3-testtools" 15RDEPENDS:${PN} = " python3-testtools"
16
17BBCLASSEXTEND = "nativesdk"