mirror of
https://git.yoctoproject.org/poky
synced 2026-06-10 16:53:49 +02:00
python3-license-expression: update 30.3.0 -> 30.3.1
(From OE-Core rev: 57b25a2995b1b1501b89003c3bc88b1032ac9f6a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6f1990d217
commit
3e3468371a
@@ -0,0 +1,39 @@
|
||||
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] = "60d5bec1f3364c256a92b9a08583d7ea933c7aa272c8d36d04144a89a3858c01"
|
||||
|
||||
inherit pypi ptest python_setuptools_build_meta
|
||||
PYPI_PACKAGE = "license_expression"
|
||||
|
||||
DEPENDS += "python3-setuptools-scm-native"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
python3-booleanpy \
|
||||
python3-core \
|
||||
python3-json \
|
||||
python3-stringold \
|
||||
python3-logging \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-pytest \
|
||||
python3-unittest-automake-output \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
install -d ${D}${PTEST_PATH}/src
|
||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||
cp -rf ${S}/src/* ${D}${PTEST_PATH}/src/
|
||||
cp -rf ${S}/setup.cfg ${D}${PTEST_PATH}/
|
||||
}
|
||||
Reference in New Issue
Block a user