mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
python3-charset-normalizer: Switch to PEP-517 build backends
Add ptest support but do not enable them as they all do not pass yet Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -3,9 +3,12 @@ HOMEPAGE = "https://github.com/ousret/charset_normalizer"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=48178f3fc1374ad7e830412f812bde05"
|
||||
|
||||
SRC_URI += "file://0001-pyproject.toml-Relax-version-for-mypy.patch"
|
||||
SRC_URI[sha256sum] = "44251f18cd68a75b56585dd00dae26183e102cd5e0f9f1466e6df5da2ed64ea3"
|
||||
|
||||
inherit pypi setuptools3
|
||||
DEPENDS += "python3-setuptools-scm-native python3-mypy-native"
|
||||
|
||||
inherit pypi python_setuptools_build_meta ptest-python-pytest
|
||||
|
||||
PYPI_PACKAGE = "charset_normalizer"
|
||||
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
|
||||
@@ -13,8 +16,10 @@ UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
|
||||
RDEPENDS:${PN} += " \
|
||||
python3-core \
|
||||
python3-logging \
|
||||
python3-mypy \
|
||||
python3-codecs \
|
||||
python3-json \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-charmap-gb18030 glibc-charmaps"
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user