summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.63.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.63.bb')
-rw-r--r--meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.63.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.63.bb b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.63.bb
new file mode 100644
index 0000000000..830e46a63c
--- /dev/null
+++ b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.63.bb
@@ -0,0 +1,39 @@
1DESCRIPTION = "A python library for manipulating kickstart files"
2HOMEPAGE = "https://fedoraproject.org/wiki/pykickstart"
3LICENSE = "GPL-2.0-or-later"
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=81bcece21748c91ba9992349a91ec11d"
6
7inherit python_setuptools_build_meta ptest
8
9RDEPENDS:${PN} = "python3 \
10 python3-requests \
11 python3-six \
12"
13
14RDEPENDS:${PN}-ptest += " \
15 python3-pytest \
16 python3-unittest-automake-output \
17"
18
19do_install_ptest() {
20 install -d ${D}${PTEST_PATH}/tests
21 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests
22 for file in `grep -Rl unittest.main ${D}${PTEST_PATH}/tests/`; do
23 dirname=`dirname $file`
24 basename=`basename $file`
25 [ $basename != "__init__.py" ] && mv $file ${dirname}/test_${basename}
26 done
27}
28
29SRC_URI = "git://github.com/rhinstaller/pykickstart.git;protocol=https;branch=master;tag=r${PV} \
30 file://0001-support-authentication-for-kickstart.patch \
31 file://0002-pykickstart-parser.py-add-lock-for-readKickstart-and.patch \
32 file://0003-comment-out-sections-shutdown-and-environment-in-gen.patch \
33 file://0004-load.py-retry-to-invoke-request-with-timeout.patch \
34 file://run-ptest \
35 "
36SRCREV = "6e0d1238cb4696a9040072a5a28a706e5775c552"
37
38UPSTREAM_CHECK_GITTAGREGEX = "r(?P<pver>\d+(\.\d+)+(-\d+)*)"
39