]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
python3-idna: migrate to flit-core
authorKonrad Weihmann <kweihmann@outlook.com>
Sun, 18 Sep 2022 08:51:11 +0000 (08:51 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 20 Sep 2022 22:15:01 +0000 (23:15 +0100)
setup.py in latest release is broken after move to flit-core
was released by the project.
This broke the version detection in consuming libs like requests.
Remove the not needed egg.info removal as well

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-idna_3.4.bb

index 10c99ee0ea98696e17b2b1b792f783105013d4c8..41a666f3f453b87c1ce3647a2c804f9303c338aa 100644 (file)
@@ -5,12 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=239668a7c6066d9e0c5382e9c8c6c0e1"
 
 SRC_URI[sha256sum] = "814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4"
 
-inherit pypi setuptools3
-
-# Remove bundled egg-info
-do_compile:prepend() {
-    rm -rf ${S}/idna.egg-info
-}
+inherit pypi python_flit_core
 
 RDEPENDS:${PN}:class-target = "\
     ${PYTHON_PN}-codecs \