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

- Update to point at the proper license file with correct checksum. Previously it was pointing at a subset of a PKG-INFO file, which was a legacy output from distutils - Update build backend and include python3-setuptools-scm-native in DEPENDS - Modify ptest installation and run-ptest script since the tests have been moved into their own folder Changelog: https://github.com/python-semver/python-semver/releases Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
27 lines
725 B
BlitzBasic
27 lines
725 B
BlitzBasic
DESCRIPTION = "Python module for Semantic Versioning"
|
|
HOMEPAGE = "https://github.com/python-semver/python-semver"
|
|
BUGTRACKER = "https://github.com/python-semver/python-semver"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d9da679db3bdce30a1b4328d5c474f98"
|
|
|
|
SRC_URI[md5sum] = "b7502c12ce325ffffeab694fed52f6f5"
|
|
SRC_URI[sha256sum] = "9ec78c5447883c67b97f98c3b6212796708191d22e4ad30f4570f840171cbce1"
|
|
|
|
inherit pypi python_setuptools_build_meta ptest
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
SRC_URI += " \
|
|
file://run-ptest \
|
|
"
|
|
|
|
DEPENDS += " python3-setuptools-scm-native"
|
|
|
|
RDEPENDS:${PN}-ptest += " \
|
|
${PYTHON_PN}-pytest \
|
|
"
|
|
|
|
do_install_ptest() {
|
|
cp -rf ${S}/tests ${D}${PTEST_PATH}/
|
|
}
|