diff options
author | Tim Orling <ticotimo@gmail.com> | 2022-02-25 16:48:31 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-02-28 08:32:19 -0800 |
commit | ff10588f479be5fdd5cf92c324e62f8dae518d66 (patch) | |
tree | eeb40286b4cd6a2ff6a96d02e8998914279563bc | |
parent | 63856541d42f035844ec0b0291c68fdd3ca7177a (diff) | |
download | meta-openembedded-ff10588f479be5fdd5cf92c324e62f8dae518d66.tar.gz |
python3-distutils-extra; merge inc, fix wheel build
We have not supported Python2 for quite some time now, so there is no
reason to maintain a separate inc file.
This recipe does not inherit pypi and the PN does not match the built
wheel. Set PIP_INSTALL_PACKAGE appropriately so the wheel can be found.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
-rw-r--r-- | meta-oe/recipes-devtools/python/python3-distutils-extra.bb | 9 | ||||
-rw-r--r-- | meta-oe/recipes-devtools/python/python3-distutils-extra_2.39.bb (renamed from meta-oe/recipes-devtools/python/python-distutils-extra.inc) | 8 |
2 files changed, 6 insertions, 11 deletions
diff --git a/meta-oe/recipes-devtools/python/python3-distutils-extra.bb b/meta-oe/recipes-devtools/python/python3-distutils-extra.bb deleted file mode 100644 index 580842d0d..000000000 --- a/meta-oe/recipes-devtools/python/python3-distutils-extra.bb +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | require python-distutils-extra.inc | ||
2 | |||
3 | inherit setuptools3 | ||
4 | |||
5 | S = "${WORKDIR}/python-distutils-extra-${PV}" | ||
6 | |||
7 | RDEPENDS:${PN} = "\ | ||
8 | python3-setuptools \ | ||
9 | " | ||
diff --git a/meta-oe/recipes-devtools/python/python-distutils-extra.inc b/meta-oe/recipes-devtools/python/python3-distutils-extra_2.39.bb index 3430cedf6..8aca4ca3a 100644 --- a/meta-oe/recipes-devtools/python/python-distutils-extra.inc +++ b/meta-oe/recipes-devtools/python/python3-distutils-extra_2.39.bb | |||
@@ -5,9 +5,13 @@ SECTION = "devel/python" | |||
5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPLv2" |
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4325afd396febcb659c36b49533135d4" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4325afd396febcb659c36b49533135d4" |
7 | 7 | ||
8 | PV = "2.39" | ||
9 | SRC_URI = "https://launchpad.net/python-distutils-extra/trunk/${PV}/+download/python-distutils-extra-${PV}.tar.gz" | 8 | SRC_URI = "https://launchpad.net/python-distutils-extra/trunk/${PV}/+download/python-distutils-extra-${PV}.tar.gz" |
10 | SRC_URI[md5sum] = "16e06db0ef73a35b4bff4b9eed5699b5" | ||
11 | SRC_URI[sha256sum] = "723f24f4d65fc8d99b33a002fbbb3771d4cc9d664c97085bf37f3997ae8063af" | 9 | SRC_URI[sha256sum] = "723f24f4d65fc8d99b33a002fbbb3771d4cc9d664c97085bf37f3997ae8063af" |
12 | 10 | ||
11 | inherit setuptools3 | ||
12 | |||
13 | PIP_INSTALL_PACKAGE = "python_distutils_extra" | ||
14 | |||
15 | S = "${WORKDIR}/python-distutils-extra-${PV}" | ||
16 | |||
13 | BBCLASSEXTEND = "native" | 17 | BBCLASSEXTEND = "native" |