mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-10 04:37:06 +00:00
These recipes no longer use six, so remove the dependency. The list of recipes that still use six is a somewhat useful proxy for packages that are no longer maintained... Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
39 lines
1.3 KiB
BlitzBasic
39 lines
1.3 KiB
BlitzBasic
DESCRIPTION = "A python library for manipulating kickstart files"
|
|
HOMEPAGE = "https://fedoraproject.org/wiki/pykickstart"
|
|
LICENSE = "GPL-2.0-or-later"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=81bcece21748c91ba9992349a91ec11d"
|
|
|
|
inherit python_setuptools_build_meta ptest
|
|
|
|
RDEPENDS:${PN} = "python3 \
|
|
python3-requests \
|
|
"
|
|
|
|
RDEPENDS:${PN}-ptest += " \
|
|
python3-pytest \
|
|
python3-unittest-automake-output \
|
|
"
|
|
|
|
do_install_ptest() {
|
|
install -d ${D}${PTEST_PATH}/tests
|
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests
|
|
for file in `grep -Rl unittest.main ${D}${PTEST_PATH}/tests/`; do
|
|
dirname=`dirname $file`
|
|
basename=`basename $file`
|
|
[ $basename != "__init__.py" ] && mv $file ${dirname}/test_${basename}
|
|
done
|
|
}
|
|
|
|
SRC_URI = "git://github.com/rhinstaller/pykickstart.git;protocol=https;branch=master;tag=r${PV} \
|
|
file://0001-support-authentication-for-kickstart.patch \
|
|
file://0002-pykickstart-parser.py-add-lock-for-readKickstart-and.patch \
|
|
file://0003-comment-out-sections-shutdown-and-environment-in-gen.patch \
|
|
file://0004-load.py-retry-to-invoke-request-with-timeout.patch \
|
|
file://run-ptest \
|
|
"
|
|
SRCREV = "601ec2d2f254909f56e2ee961d2056e0d5bc4a97"
|
|
|
|
UPSTREAM_CHECK_GITTAGREGEX = "r(?P<pver>\d+(\.\d+)+(-\d+)*)"
|
|
|