Initial commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
SUMMARY = "Setuptools extension for CalVer package versions"
|
||||
HOMEPAGE = "https://github.com/di/calver"
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
SRC_URI = " \
|
||||
git://github.com/di/calver;branch=master;protocol=https \
|
||||
file://run-ptest \
|
||||
file://0001-setup.py-hard-code-version.patch \
|
||||
"
|
||||
SRCREV = "3268d8acf2c345f32a1c5f08ba25dc67f76cca81"
|
||||
|
||||
inherit python_setuptools_build_meta ptest
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
${PYTHON_PN}-pretend \
|
||||
${PYTHON_PN}-pytest \
|
||||
${PYTHON_PN}-unittest-automake-output \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/tests ${D}${PTEST_PATH}/
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user