python3-dnspython_2.7.0.bb 760 B

123456789101112131415161718192021222324252627282930313233343536
  1. DESCRIPTION = "DNS toolkit for Python"
  2. HOMEPAGE = "https://www.dnspython.org/"
  3. LICENSE = "ISC"
  4. LIC_FILES_CHKSUM = "file://LICENSE;md5=5af50906b5929837f667dfe31052bd34"
  5. SRC_URI[sha256sum] = "ce9c432eda0dc91cf618a5cedf1a4e142651196bbcd2c80e89ed5a907e5cfaf1"
  6. inherit pypi python_hatchling ptest
  7. SRC_URI += " \
  8. file://run-ptest \
  9. "
  10. RDEPENDS:${PN}-ptest += " \
  11. python3-pytest \
  12. python3-unittest-automake-output \
  13. "
  14. do_install_ptest() {
  15. install -d ${D}${PTEST_PATH}/tests
  16. cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
  17. }
  18. DEPENDS += "\
  19. python3-wheel-native \
  20. python3-setuptools-scm-native \
  21. "
  22. RDEPENDS:${PN} += " \
  23. python3-crypt \
  24. python3-io \
  25. python3-math \
  26. python3-netclient \
  27. python3-numbers \
  28. python3-threading \
  29. "