python3-ipy_1.01.bb 990 B

123456789101112131415161718192021222324252627282930313233
  1. SUMMARY = "IPy - class and tools for handling of IPv4 and IPv6 addresses and networks"
  2. DESCRIPTION = "IPy is a Python module for handling IPv4 and IPv6 Addresses and Networks \
  3. in a fashion similar to perl's Net::IP and friends. The IP class allows \
  4. a comfortable parsing and handling for most notations in use for IPv4 \
  5. and IPv6 Addresses and Networks."
  6. SECTION = "devel/python"
  7. HOMEPAGE = "https://github.com/autocracy/python-ipy"
  8. LICENSE = "BSD-3-Clause"
  9. LIC_FILES_CHKSUM = "file://COPYING;md5=848d24919845901b4f48bae5f13252e6"
  10. SRC_URI[sha256sum] = "edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a"
  11. inherit pypi setuptools3_legacy ptest
  12. SRC_URI += " \
  13. file://run-ptest \
  14. "
  15. RDEPENDS:${PN}-ptest += " \
  16. python3-pytest \
  17. python3-unittest-automake-output \
  18. "
  19. do_install_ptest() {
  20. install -d ${D}${PTEST_PATH}/test/
  21. cp -rf ${S}/test/* ${D}${PTEST_PATH}/test
  22. }
  23. PYPI_PACKAGE = "IPy"
  24. UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
  25. BBCLASSEXTEND = "native"