diff mbox series

python3-idna: migrate to flit-core

Message ID PR2PR09MB31004DF2AD49A39E93B9D433A84A9@PR2PR09MB3100.eurprd09.prod.outlook.com
State Accepted, archived
Commit 399c324e9a30ab63e0c5d653dba5bf9354ec70f7
Headers show
Series python3-idna: migrate to flit-core | expand

Commit Message

Konrad Weihmann Sept. 18, 2022, 8:51 a.m. UTC
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>
---
 meta/recipes-devtools/python/python3-idna_3.4.bb | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-idna_3.4.bb b/meta/recipes-devtools/python/python3-idna_3.4.bb
index 10c99ee0ea..41a666f3f4 100644
--- a/meta/recipes-devtools/python/python3-idna_3.4.bb
+++ b/meta/recipes-devtools/python/python3-idna_3.4.bb
@@ -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 \