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 | |
| 6 | SRC_URI[sha256sum] = "0f7569a4a6ff151958b64304071d370daa3243d15941a7beedf0c9fe5105603e" |
| 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 | " |