diff mbox series

[meta-python] python3-ipython: switch to PEP-517 build backend

Message ID 20240807125851.139511-1-alperyasinak1@gmail.com
State Accepted
Headers show
Series [meta-python] python3-ipython: switch to PEP-517 build backend | expand

Commit Message

alperak Aug. 7, 2024, 12:58 p.m. UTC
- 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 ipython, it is by default.

Fix:

WARNING: python3-ipython-8.26.0-r0 do_check_backend: QA Issue: inherits setuptools3 but has pyproject.toml with _build_meta, use the correct class [pep517-backend]

Signed-off-by: alperak <alperyasinak1@gmail.com>
---
 meta-python/recipes-devtools/python/python3-ipython_8.26.0.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-ipython_8.26.0.bb b/meta-python/recipes-devtools/python/python3-ipython_8.26.0.bb
index 6cea3d988..6f35d9548 100644
--- a/meta-python/recipes-devtools/python/python3-ipython_8.26.0.bb
+++ b/meta-python/recipes-devtools/python/python3-ipython_8.26.0.bb
@@ -3,8 +3,6 @@  HOMEPAGE = "https://ipython.org"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING.rst;md5=59b20262b8663cdd094005bddf47af5f"
 
-PYPI_PACKAGE = "ipython"
-
 SRC_URI[sha256sum] = "1cec0fbba8404af13facebe83d04436a7434c7400e59f47acf467c64abd0956c"
 
 RDEPENDS:${PN} = "\
@@ -25,4 +23,4 @@  RDEPENDS:${PN} = "\
     python3-stack-data \
 "
 
-inherit setuptools3 pypi
+inherit python_setuptools_build_meta pypi