aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-asn1crypto_1.3.0.bb
blob: 49e52dc2e78069c4e1e65878fd74a2f633270cfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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)}"