mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

The asn1crypto module relies on the fractions module from the standard library, which is contained in the python3-numbers package, but it is not in asn1crypto's RDEPENDS: |>>> import asn1crypto.pdf |Traceback (most recent call last): | File "<stdin>", line 1, in <module> | File "/usr/lib64/python3.8/site-packages/asn1crypto/pdf.py", line 10, in <module> | from .cms import CMSAttributeType, CMSAttribute | File "/usr/lib64/python3.8/site-packages/asn1crypto/cms.py", line 29, in <module> | from .algos import ( | File "/usr/lib64/python3.8/site-packages/asn1crypto/algos.py", line 26, in <module> | from .core import ( | File "/usr/lib64/python3.8/site-packages/asn1crypto/core.py", line 52, in <module> | from fractions import Fraction |ModuleNotFoundError: No module named 'fractions' Add it to fix the error. Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
26 lines
731 B
BlitzBasic
26 lines
731 B
BlitzBasic
DESCRIPTION = "A fast, pure Python library for parsing and serializing ASN.1 structures"
|
|
HOMEPAGE = "https://github.com/wbond/asn1crypto"
|
|
SECTION = "devel/python"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=7439e38f5e04ff62fae436184786b7ca"
|
|
|
|
PYPI_PACKAGE = "asn1crypto"
|
|
|
|
SRC_URI[md5sum] = "daad112940181917e3ff169b47b9bd9a"
|
|
SRC_URI[sha256sum] = "5a215cb8dc12f892244e3a113fe05397ee23c5c4ca7a69cd6e69811755efc42d"
|
|
|
|
inherit pypi setuptools3
|
|
|
|
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}-shell \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|