[RFC,2/2] python3-tomli: remove custom crafted setup.py

Message ID AM9PR09MB4642DC6509DA1AFBAF672699A8619@AM9PR09MB4642.eurprd09.prod.outlook.com
State New
Headers show
Series [RFC,1/2] distutils3-legacy: fallback for missing setup.py | expand

Commit Message

Konrad Weihmann Nov. 24, 2021, 8:15 p.m. UTC
as this now is created behind the scenes by distutils-legacy bbclass

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
---
 meta/recipes-devtools/python/python3-tomli_1.2.2.bb | 7 -------
 1 file changed, 7 deletions(-)

Patch

diff --git a/meta/recipes-devtools/python/python3-tomli_1.2.2.bb b/meta/recipes-devtools/python/python3-tomli_1.2.2.bb
index 39030ed218..9be3e2cb5f 100644
--- a/meta/recipes-devtools/python/python3-tomli_1.2.2.bb
+++ b/meta/recipes-devtools/python/python3-tomli_1.2.2.bb
@@ -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"