python3-service-identity_24.2.0.bb 927 B

12345678910111213141516171819202122232425262728293031323334353637
  1. DESCRIPTION = "The tools for verifying whether a certificate is valid for the intended purposes."
  2. HOMEPAGE = "https://pypi.org/project/service-identity"
  3. LICENSE = "MIT"
  4. LIC_FILES_CHKSUM = "file://LICENSE;md5=76edce6a3fa1b82b0bf2b6ce174c19e2"
  5. SRC_URI[sha256sum] = "b8683ba13f0d39c6cd5d625d2c5f65421d6d707b013b375c355751557cbe8e09"
  6. inherit pypi python_hatchling ptest
  7. PYPI_PACKAGE = "service_identity"
  8. UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
  9. SRC_URI += " \
  10. file://run-ptest \
  11. "
  12. DEPENDS += "python3-hatch-vcs-native python3-hatch-fancy-pypi-readme-native"
  13. RDEPENDS:${PN} += " \
  14. python3-attr \
  15. python3-cryptography \
  16. python3-pyasn1-modules \
  17. "
  18. RDEPENDS:${PN}-ptest += " \
  19. python3-attrs \
  20. python3-pytest \
  21. python3-six \
  22. python3-unittest-automake-output \
  23. python3-pyopenssl \
  24. "
  25. do_install_ptest() {
  26. install -d ${D}${PTEST_PATH}/tests
  27. cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
  28. }