python3-pyasn1-modules_0.4.1.bb 992 B

123456789101112131415161718192021222324252627282930313233
  1. SUMMARY = "A collection of ASN.1-based protocols modules."
  2. DESCRIPTION = "A collection of ASN.1 modules expressed in form of pyasn1\
  3. classes. Includes protocols PDUs definition (SNMP, LDAP etc.) and various\
  4. data structures (X.509, PKCS etc.)."
  5. HOMEPAGE = "https://github.com/etingof/pyasn1-modules"
  6. LICENSE = "BSD-2-Clause"
  7. LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=190f79253908c986e6cacf380c3a5f6d"
  8. SRC_URI += "file://0001-Stop-using-pyasn1.compat.octets.patch"
  9. SRC_URI[sha256sum] = "c28e2dbf9c06ad61c71a075c7e0f9fd0f1b0bb2d2ad4377f240d33ac2ab60a7c"
  10. PYPI_PACKAGE = "pyasn1_modules"
  11. UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
  12. inherit pypi ptest python_setuptools_build_meta
  13. RDEPENDS:${PN} = "python3-pyasn1"
  14. BBCLASSEXTEND = "native nativesdk"
  15. SRC_URI += " \
  16. file://run-ptest \
  17. "
  18. RDEPENDS:${PN}-ptest += " \
  19. python3-pytest \
  20. python3-unittest-automake-output \
  21. "
  22. do_install_ptest() {
  23. install -d ${D}${PTEST_PATH}/tests
  24. cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
  25. }