python3-pastedeploy: switch to PEP-517 build backend

- The project has a proper pyproject.toml which declares the setuptools.build.meta PEP-517 backend.

- Unnecessary dependencies dropped.

Fix:

WARNING: python3-pastedeploy-3.1.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>
(cherry picked from commit f421917ff688727cf2197849cbbed1e3c412d3c0)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
alperak 2024-10-10 11:48:15 +03:00 committed by Khem Raj
parent 84b3059458
commit 9b3ab79000
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -3,19 +3,22 @@ HOMEPAGE = "https://pylonsproject.org/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://license.txt;md5=1798f29d55080c60365e6283cb49779c"
inherit pypi
inherit pypi python_setuptools_build_meta
PYPI_PACKAGE = "PasteDeploy"
SRC_URI[sha256sum] = "9ddbaf152f8095438a9fe81f82c78a6714b92ae8e066bed418b6a7ff6a095a95"
S = "${WORKDIR}/PasteDeploy-${PV}"
inherit setuptools3
# Uncomment this line to enable all the optional features.
#PACKAGECONFIG ?= "paste docs"
PACKAGECONFIG[paste] = ",,,python3-paste"
PACKAGECONFIG[docs] = ",,,python3-sphinx python3-pylons-sphinx-themes"
DEPENDS= "python3 python3-setuptools-scm-native python3-pytest-runner-native"
RDEPENDS:${PN} += "python3-core python3-misc python3-netclient python3-pkgutil python3-setuptools python3-threading python3-core"
RDEPENDS:${PN} += " \
python3-core \
python3-misc \
python3-netclient \
python3-pkgutil \
python3-setuptools \
python3-threading \
"