SUMMARY = "A fast, pure Python library for parsing and serializing ASN.1 structures" DESCRIPTION = "Fast ASN.1 parser and serializer with definitions for private \ keys, public keys, certificates, CRL, OCSP, CMS, PKCS#3, PKCS#7, PKCS#8, \ PKCS#12, PKCS#5, X.509 and TSP" HOMEPAGE = "https://github.com/wbond/asn1crypto" SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=7439e38f5e04ff62fae436184786b7ca" SRC_URI[md5sum] = "daad112940181917e3ff169b47b9bd9a" SRC_URI[sha256sum] = "5a215cb8dc12f892244e3a113fe05397ee23c5c4ca7a69cd6e69811755efc42d" PYPI_PACKAGE = "asn1crypto" inherit pypi setuptools RDEPENDS_${PN}_class-target += " \ ${PYTHON_PN}-codecs \ ${PYTHON_PN}-crypt \ ${PYTHON_PN}-ctypes \ ${PYTHON_PN}-datetime \ ${PYTHON_PN}-io \ ${PYTHON_PN}-netclient \ ${PYTHON_PN}-numbers \ ${PYTHON_PN}-subprocess \ ${PYTHON_PN}-textutils \ " BBCLASSEXTEND = "native nativesdk" PNBLACKLIST[python-asn1crypto] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}"