python3-tomli: inherit flit_core

Message ID 20220301161142.1539043-1-tim.orling@konsulko.com
State Accepted, archived
Commit 88fc6ec6859e5aa1b97125fd7b692569665875f6
Headers show
Series python3-tomli: inherit flit_core | expand

Commit Message

Tim Orling March 1, 2022, 4:11 p.m. UTC
Drop the setup.py workaround as it is no longer needed.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 meta/recipes-devtools/python/python3-tomli_2.0.1.bb | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

Patch

diff --git a/meta/recipes-devtools/python/python3-tomli_2.0.1.bb b/meta/recipes-devtools/python/python3-tomli_2.0.1.bb
index c3d51282c2e..f8b423bbef2 100644
--- a/meta/recipes-devtools/python/python3-tomli_2.0.1.bb
+++ b/meta/recipes-devtools/python/python3-tomli_2.0.1.bb
@@ -6,15 +6,8 @@  BUGTRACKER = "https://github.com/hukkin/tomli/issues"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5"
 
-inherit pypi setuptools3
+inherit pypi flit_core
 
 SRC_URI[sha256sum] = "de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"
 
-do_configure:prepend() {
-cat > ${S}/setup.py <<-EOF
-from setuptools import setup
-setup(name="tomli", version="${PV}", packages=["tomli"], package_dir={'tomli': 'src/tomli'}, package_data={"": ["*"]})
-EOF
-}
-
 BBCLASSEXTEND = "native nativesdk"