diff options
| author | Ross Burton <ross.burton@arm.com> | 2022-03-10 13:25:23 +0000 |
|---|---|---|
| committer | Trevor Gamblin <trevor.gamblin@windriver.com> | 2022-03-11 08:48:38 -0500 |
| commit | ff7312f0486df1b5fd9f7eee0ae62fbc831e39d8 (patch) | |
| tree | 45abea48a254d30c040cc90f6bf9f7290c4cf378 /meta-python/recipes-devtools/python/python3-twine_3.8.0.bb | |
| parent | 935dd6efa858d551420dd41829d7e9b621664c00 (diff) | |
| download | meta-openembedded-ff7312f0486df1b5fd9f7eee0ae62fbc831e39d8.tar.gz | |
meta-python: migrate away from setuptool3 where possible
Many recipes are currently building with setuptools3 but can use a more
modern tool: typically setuptools_build_meta but ordered-set can use
flit_core and pyrad can use poetry_core.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-twine_3.8.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-twine_3.8.0.bb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/meta-python/recipes-devtools/python/python3-twine_3.8.0.bb b/meta-python/recipes-devtools/python/python3-twine_3.8.0.bb index d9aa3dce93..b96e153b5a 100644 --- a/meta-python/recipes-devtools/python/python3-twine_3.8.0.bb +++ b/meta-python/recipes-devtools/python/python3-twine_3.8.0.bb | |||
| @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a3d1106b253a8d50dd82a4202a045b4c" | |||
| 5 | 5 | ||
| 6 | SRC_URI[sha256sum] = "8efa52658e0ae770686a13b675569328f1fba9837e5de1867bfe5f46a9aefe19" | 6 | SRC_URI[sha256sum] = "8efa52658e0ae770686a13b675569328f1fba9837e5de1867bfe5f46a9aefe19" |
| 7 | 7 | ||
| 8 | inherit pypi setuptools3 | 8 | inherit pypi setuptools_build_meta |
| 9 | 9 | ||
| 10 | DEPENDS += "\ | 10 | DEPENDS += "\ |
| 11 | ${PYTHON_PN}-setuptools-scm-native \ | 11 | ${PYTHON_PN}-setuptools-scm-native \ |
| @@ -15,9 +15,4 @@ RDEPENDS:${PN} += " \ | |||
| 15 | ${PYTHON_PN}-importlib-metadata \ | 15 | ${PYTHON_PN}-importlib-metadata \ |
| 16 | " | 16 | " |
| 17 | 17 | ||
| 18 | do_compile:prepend() { | ||
| 19 | echo "from setuptools import setup" > ${S}/setup.py | ||
| 20 | echo "setup()" >> ${S}/setup.py | ||
| 21 | } | ||
| 22 | |||
| 23 | BBCLASSEXTEND = "native" | 18 | BBCLASSEXTEND = "native" |
