summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.1.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-04-10 00:07:24 -0700
committerKhem Raj <raj.khem@gmail.com>2025-04-10 18:39:31 -0700
commit9b0015577ce8717086ff1e4667638a81a3a5ebe4 (patch)
treeb66282c83c0a84da17a9fd390d15d5bb103f58ed /meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.1.bb
parent4042e529b9cfcd5b598e53a1db839e9964caffe2 (diff)
downloadmeta-openembedded-9b0015577ce8717086ff1e4667638a81a3a5ebe4.tar.gz
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.1.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.1.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.1.bb
index b13524c227..4f9b09ef93 100644
--- a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.1.bb
+++ b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.1.bb
@@ -3,9 +3,12 @@ HOMEPAGE = "https://github.com/ousret/charset_normalizer"
3LICENSE = "MIT" 3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=48178f3fc1374ad7e830412f812bde05" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=48178f3fc1374ad7e830412f812bde05"
5 5
6SRC_URI += "file://0001-pyproject.toml-Relax-version-for-mypy.patch"
6SRC_URI[sha256sum] = "44251f18cd68a75b56585dd00dae26183e102cd5e0f9f1466e6df5da2ed64ea3" 7SRC_URI[sha256sum] = "44251f18cd68a75b56585dd00dae26183e102cd5e0f9f1466e6df5da2ed64ea3"
7 8
8inherit pypi setuptools3 9DEPENDS += "python3-setuptools-scm-native python3-mypy-native"
10
11inherit pypi python_setuptools_build_meta ptest-python-pytest
9 12
10PYPI_PACKAGE = "charset_normalizer" 13PYPI_PACKAGE = "charset_normalizer"
11UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" 14UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
@@ -13,8 +16,10 @@ UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
13RDEPENDS:${PN} += " \ 16RDEPENDS:${PN} += " \
14 python3-core \ 17 python3-core \
15 python3-logging \ 18 python3-logging \
19 python3-mypy \
16 python3-codecs \ 20 python3-codecs \
17 python3-json \ 21 python3-json \
18" 22"
19 23
24RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-charmap-gb18030 glibc-charmaps"
20BBCLASSEXTEND = "native nativesdk" 25BBCLASSEXTEND = "native nativesdk"