poky/meta/recipes-devtools/python/python3-license-expression_30.4.4.bb
Wang Mingyu a49fb701de python3-license-expression: upgrade 30.4.3 -> 30.4.4
(From OE-Core rev: 8a5bc8e1fcbb136433c2690908a92c2d3cb72840)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:15 +01:00

31 lines
955 B
BlitzBasic

SUMMARY = "Utility library to parse, compare, simplify and normalize license expressions"
HOMEPAGE = "https://github.com/nexB/license-expression"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
SRC_URI[sha256sum] = "73448f0aacd8d0808895bdc4b2c8e01a8d67646e4188f887375398c761f340fd"
inherit pypi ptest-python-pytest python_setuptools_build_meta
PYPI_PACKAGE = "license_expression"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN} += "\
python3-booleanpy \
python3-core \
python3-json \
python3-stringold \
python3-logging \
"
BBCLASSEXTEND = "native nativesdk"
do_install_ptest:append() {
# The tests need some files from the source tree
install -d ${D}${PTEST_PATH}/src
ln -s ${PYTHON_SITEPACKAGES_DIR}/license_expression/ ${D}${PTEST_PATH}/src/
install -m644 ${S}/setup.cfg ${D}${PTEST_PATH}/
}