mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-25 09:26:32 +00:00
The pypi class has slightly changed the semantics of the PYPI_PACKAGE
variable[1], now PYPI_PACKAGE is the normalised package name and the new
variable PYPI_PACKAGE_SDIST is used when the source tarball doesn't match.
Update recipes as appropriate: this is mostly deleting now-redundant
assignments but some assignments are still needed where packages are not
uploaded using the modern standards.
[1] oe-core 98049bf86b6 ("classes/pypi: change PYPI_PACKAGE to be normalised")
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
28 lines
892 B
BlitzBasic
28 lines
892 B
BlitzBasic
SUMMARY = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet."
|
|
HOMEPAGE = "https://github.com/ousret/charset_normalizer"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=48178f3fc1374ad7e830412f812bde05"
|
|
|
|
SRC_URI += "file://0001-pyproject.toml-relax-setuptools-upper-bound.patch"
|
|
SRC_URI[sha256sum] = "6117b84ea48435e5356dc737f5121485c30920ba43375fa7b434fd753df0eac3"
|
|
|
|
DEPENDS += "python3-setuptools-scm-native python3-mypy-native"
|
|
|
|
inherit pypi python_setuptools_build_meta ptest-python-pytest
|
|
|
|
RDEPENDS:${PN} += " \
|
|
python3-core \
|
|
python3-logging \
|
|
python3-codecs \
|
|
python3-json \
|
|
"
|
|
|
|
RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-charmap-gb18030 glibc-charmaps"
|
|
|
|
do_install_ptest:append() {
|
|
install -d ${D}${PTEST_PATH}/data
|
|
install -m 0644 ${S}/data/* ${D}${PTEST_PATH}/data/
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|