Skip to contentSkip to conversation

python3-tomli: remove custom crafted setup.py

RFC PATCH In review Konrad Weihmann 1 participant 1 message Nov 24, 2021 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

RFC PATCH 2/2 python3-tomli: remove custom crafted setup.py

as this now is created behind the scenes by distutils-legacy bbclass

---
 meta/recipes-devtools/python/python3-tomli_1.2.2.bb | 7 -------
 1 file changed, 7 deletions(-)
meta/recipes-devtools/python/python3-tomli_1.2.2.bb +0 -7
index 39030ed218..9be3e2cb5f 100644
@@ -10,11 +10,4 @@ inherit pypi setuptools3
 
 SRC_URI[sha256sum] = "c6ce0015eb38820eaf32b5db832dbc26deb3dd427bd5f6556cf0acac2c214fee"
 
-do_configure:prepend() {
-cat > ${S}/setup.py <<-EOF
-from setuptools import setup
-setup(name="tomli", version="${PV}", packages=["tomli"], package_data={"": ["*"]})
-EOF
-}
-
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.1