Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 1 | DESCRIPTION = "DNS toolkit for Python" |
| 2 | HOMEPAGE = "http://www.dnspython.org/" |
| 3 | LICENSE = "ISC" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=5af50906b5929837f667dfe31052bd34" |
| 5 | |
Andrew Geissler | c5535c9 | 2023-01-27 16:10:19 -0600 | [diff] [blame] | 6 | SRC_URI[sha256sum] = "224e32b03eb46be70e12ef6d64e0be123a64e621ab4c0822ff6d450d52a540b9" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 7 | |
| 8 | inherit pypi python_poetry_core ptest |
| 9 | |
| 10 | SRC_URI += " \ |
| 11 | file://run-ptest \ |
| 12 | " |
| 13 | |
| 14 | RDEPENDS:${PN}-ptest += " \ |
| 15 | ${PYTHON_PN}-pytest \ |
| 16 | " |
| 17 | |
| 18 | do_install_ptest() { |
| 19 | install -d ${D}${PTEST_PATH}/tests |
| 20 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 21 | } |
| 22 | |
| 23 | DEPENDS += "\ |
| 24 | ${PYTHON_PN}-wheel-native \ |
| 25 | ${PYTHON_PN}-setuptools-scm-native \ |
| 26 | " |
| 27 | |
| 28 | RDEPENDS:${PN} += " \ |
| 29 | ${PYTHON_PN}-crypt \ |
| 30 | ${PYTHON_PN}-io \ |
| 31 | ${PYTHON_PN}-math \ |
| 32 | ${PYTHON_PN}-netclient \ |
| 33 | ${PYTHON_PN}-numbers \ |
| 34 | ${PYTHON_PN}-threading \ |
| 35 | " |