mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-24 09:08:24 +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>
19 lines
713 B
BlitzBasic
19 lines
713 B
BlitzBasic
SUMMARY = "A wrapper around the stdlib `tokenize` which roundtrips."
|
|
HOMEPAGE = "https://github.com/asottile/tokenize-rt"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=5fd324061c581b8d45b8cb18c560a543"
|
|
|
|
SRCREV = "1582bcf0259d183259da1761444c6fc73fa7ad9a"
|
|
PYPI_SRC_URI = "git://github.com/asottile/tokenize-rt.git;protocol=https;branch=main;tag=v${PV};destsuffix=tokenize_rt-${PV}"
|
|
|
|
inherit pypi setuptools3 ptest-python-pytest
|
|
|
|
RDEPENDS:${PN} += "python3-core"
|
|
|
|
do_install_ptest:append() {
|
|
install -d ${D}${PTEST_PATH}/testing/resources
|
|
cp -rf ${S}/testing/resources/* ${D}${PTEST_PATH}/testing/resources/
|
|
install -d ${D}${PTEST_PATH}/tests
|
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
}
|