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-ansi2html_1.7.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-ansi2html_1.7.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-ansi2html_1.7.0.bb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/meta-python/recipes-devtools/python/python3-ansi2html_1.7.0.bb b/meta-python/recipes-devtools/python/python3-ansi2html_1.7.0.bb index 0a81ebdded..9a6e0f7a3a 100644 --- a/meta-python/recipes-devtools/python/python3-ansi2html_1.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-ansi2html_1.7.0.bb | |||
| @@ -7,7 +7,7 @@ PYPI_PACKAGE = "ansi2html" | |||
| 7 | 7 | ||
| 8 | SRC_URI[sha256sum] = "69316be8c68ac91c5582d397c2890e69c993cc7cda52062ac7e45fcb660d8edc" | 8 | SRC_URI[sha256sum] = "69316be8c68ac91c5582d397c2890e69c993cc7cda52062ac7e45fcb660d8edc" |
| 9 | 9 | ||
| 10 | inherit pypi setuptools3 | 10 | inherit pypi setuptools_build_meta |
| 11 | 11 | ||
| 12 | DEPENDS += " \ | 12 | DEPENDS += " \ |
| 13 | ${PYTHON_PN}-setuptools-scm-native \ | 13 | ${PYTHON_PN}-setuptools-scm-native \ |
| @@ -18,8 +18,3 @@ RDEPENDS:${PN} = " \ | |||
| 18 | ${PYTHON_PN}-six \ | 18 | ${PYTHON_PN}-six \ |
| 19 | ${PYTHON_PN}-compression \ | 19 | ${PYTHON_PN}-compression \ |
| 20 | " | 20 | " |
| 21 | |||
| 22 | do_compile:prepend() { | ||
| 23 | echo "from setuptools import setup" > ${S}/setup.py | ||
| 24 | echo "setup()" >> ${S}/setup.py | ||
| 25 | } | ||
