python3-asn1crypto: add python3-numbers to RDEPENDS
PATCH 1/1 python3-asn1crypto: add python3-numbers to RDEPENDS
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 <[email protected]>
--- meta-python/recipes-devtools/python/python3-asn1crypto_1.3.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-asn1crypto_1.3.0.bb +1 -0
@@ -18,6 +18,7 @@ RDEPENDS_${PN}_class-target += " \ ${PYTHON_PN}-datetime \ ${PYTHON_PN}-io \ ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-numbers \ ${PYTHON_PN}-shell \ "
Signature · 1 line
2.24.1