mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

Changelog: ========== Use latest skeleton (and updated configure script) Update license list to latest ScanCode and SPDX 3.19 Use correct syntax for python_require Drop using Travis and Appveyor Drop support for Python 3.7 and add Python 3.11 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
37 lines
920 B
BlitzBasic
37 lines
920 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] = "943b1d2cde251bd30a166b509f78990fdd060be9750f3f1a324571e804857a53"
|
|
|
|
inherit pypi ptest python_setuptools_build_meta
|
|
|
|
DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
|
|
|
|
RDEPENDS:${PN} += "\
|
|
${PYTHON_PN}-booleanpy \
|
|
${PYTHON_PN}-core \
|
|
${PYTHON_PN}-json \
|
|
${PYTHON_PN}-stringold \
|
|
${PYTHON_PN}-logging \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
SRC_URI += " \
|
|
file://run-ptest \
|
|
"
|
|
|
|
RDEPENDS:${PN}-ptest += " \
|
|
${PYTHON_PN}-pytest \
|
|
"
|
|
|
|
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/
|
|
}
|