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-pytz-deprecation-shim_0.1.0.post0.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-pytz-deprecation-shim_0.1.0.post0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pytz-deprecation-shim_0.1.0.post0.bb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pytz-deprecation-shim_0.1.0.post0.bb b/meta-python/recipes-devtools/python/python3-pytz-deprecation-shim_0.1.0.post0.bb index 76487c830f..96f1522b76 100644 --- a/meta-python/recipes-devtools/python/python3-pytz-deprecation-shim_0.1.0.post0.bb +++ b/meta-python/recipes-devtools/python/python3-pytz-deprecation-shim_0.1.0.post0.bb | |||
| @@ -8,9 +8,4 @@ SRC_URI[sha256sum] = "af097bae1b616dde5c5744441e2ddc69e74dfdcb0c263129610d85b874 | |||
| 8 | PYPI_PACKAGE = "pytz_deprecation_shim" | 8 | PYPI_PACKAGE = "pytz_deprecation_shim" |
| 9 | PYPI_SRC_URI = "https://files.pythonhosted.org/packages/94/f0/909f94fea74759654390a3e1a9e4e185b6cd9aa810e533e3586f39da3097/${PYPI_PACKAGE}-${PV}.tar.gz" | 9 | PYPI_SRC_URI = "https://files.pythonhosted.org/packages/94/f0/909f94fea74759654390a3e1a9e4e185b6cd9aa810e533e3586f39da3097/${PYPI_PACKAGE}-${PV}.tar.gz" |
| 10 | 10 | ||
| 11 | inherit pypi setuptools3 | 11 | inherit pypi setuptools_build_meta |
| 12 | |||
| 13 | do_compile:prepend() { | ||
| 14 | echo "from setuptools import setup" > ${S}/setup.py | ||
| 15 | echo "setup()" >> ${S}/setup.py | ||
| 16 | } | ||
