Files
meta-openembedded/meta-python/recipes-devtools/python/python3-unidecode_1.4.0.bb
T
Ross Burton 0a583b3502 recipes: update for PYPI_PACKAGE change
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>
2026-10-08 22:27:01 -07:00

29 lines
783 B
BlitzBasic

SUMMARY = "ASCII transliterations of Unicode text"
HOMEPAGE = "https://pypi.org/project/Unidecode/"
DESCRIPTION = "This is a Python port of Text::Unidecode Perl module by Sean M. Burke"
SECTION = "devel/python"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
inherit pypi setuptools3 ptest
PYPI_PACKAGE_SDIST = "Unidecode"
SRC_URI += "file://run-ptest"
SRC_URI[sha256sum] = "ce35985008338b676573023acc382d62c264f307c8f7963733405add37ea2b23"
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-core \
python3-io \
python3-doctest \
python3-unittest \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}