diff options
author | alperak <alperyasinak1@gmail.com> | 2024-10-10 11:48:13 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-10-10 12:53:51 -0700 |
commit | 289470f0eb2bbef8c2f3310420e39c266c8a6c86 (patch) | |
tree | 0208967f3e091a323e52af82ae84e2d26a481a37 /meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb | |
parent | 207266f4c08f7de1bbe70f6d9105f97533df2b5d (diff) | |
download | meta-openembedded-289470f0eb2bbef8c2f3310420e39c266c8a6c86.tar.gz |
python3-inflate64: switch to PEP-517 build backend
- The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.
- The PyPi package name (defaults to PN without the python3- prefix), so there is no need to set PYPI_PACKAGE as inflate64, it is by default.
- Added missing dependency python3-setuptools-scm-native.
Fix:
WARNING: python3-inflate64-1.0.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb b/meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb index 9fbd5157a..7804152d9 100644 --- a/meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-inflate64_1.0.0.bb | |||
@@ -4,12 +4,12 @@ LICENSE = "LGPL-2.1-or-later" | |||
4 | SECTION = "devel/python" | 4 | SECTION = "devel/python" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
6 | 6 | ||
7 | inherit setuptools3 pypi | 7 | inherit python_setuptools_build_meta pypi |
8 | 8 | ||
9 | SRC_URI += "file://0001-Do-not-override-const-qualifier.patch" | 9 | SRC_URI += "file://0001-Do-not-override-const-qualifier.patch" |
10 | SRC_URI[sha256sum] = "3278827b803cf006a1df251f3e13374c7d26db779e5a33329cc11789b804bc2d" | 10 | SRC_URI[sha256sum] = "3278827b803cf006a1df251f3e13374c7d26db779e5a33329cc11789b804bc2d" |
11 | 11 | ||
12 | PYPI_PACKAGE = "inflate64" | 12 | DEPENDS += "python3-setuptools-scm-native" |
13 | 13 | ||
14 | RDEPENDS:${PN} += "\ | 14 | RDEPENDS:${PN} += "\ |
15 | python3-core \ | 15 | python3-core \ |