diff options
Diffstat (limited to 'meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.69.bb')
| -rw-r--r-- | meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.69.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.69.bb b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.69.bb new file mode 100644 index 0000000000..c566f5a0e6 --- /dev/null +++ b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.69.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | DESCRIPTION = "A python library for manipulating kickstart files" | ||
| 2 | HOMEPAGE = "https://fedoraproject.org/wiki/pykickstart" | ||
| 3 | LICENSE = "GPL-2.0-or-later" | ||
| 4 | |||
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=81bcece21748c91ba9992349a91ec11d" | ||
| 6 | |||
| 7 | inherit python_setuptools_build_meta ptest | ||
| 8 | |||
| 9 | RDEPENDS:${PN} = "python3 \ | ||
| 10 | python3-requests \ | ||
| 11 | python3-six \ | ||
| 12 | " | ||
| 13 | |||
| 14 | RDEPENDS:${PN}-ptest += " \ | ||
| 15 | python3-pytest \ | ||
| 16 | python3-unittest-automake-output \ | ||
| 17 | " | ||
| 18 | |||
| 19 | do_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 | |||
| 29 | SRC_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 | " | ||
| 36 | SRCREV = "601ec2d2f254909f56e2ee961d2056e0d5bc4a97" | ||
| 37 | |||
| 38 | UPSTREAM_CHECK_GITTAGREGEX = "r(?P<pver>\d+(\.\d+)+(-\d+)*)" | ||
| 39 | |||
