python3-idna: migrate to flit-core

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

(From OE-Core rev: 399c324e9a30ab63e0c5d653dba5bf9354ec70f7)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Konrad Weihmann
2022-09-18 08:51:11 +00:00
committed by Richard Purdie
parent 4169c106a3
commit 57fa7ad89d

View 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 \