From b76313654f75f0d9af2ac8ae46804ce7e41efe7f Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Mon, 27 Apr 2020 16:53:44 -0400 Subject: 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 "", line 1, in | File "/usr/lib64/python3.8/site-packages/asn1crypto/pdf.py", line 10, in | from .cms import CMSAttributeType, CMSAttribute | File "/usr/lib64/python3.8/site-packages/asn1crypto/cms.py", line 29, in | from .algos import ( | File "/usr/lib64/python3.8/site-packages/asn1crypto/algos.py", line 26, in | from .core import ( | File "/usr/lib64/python3.8/site-packages/asn1crypto/core.py", line 52, in | from fractions import Fraction |ModuleNotFoundError: No module named 'fractions' Add it to fix the error. Signed-off-by: Trevor Gamblin Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-asn1crypto_1.3.0.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-asn1crypto_1.3.0.bb b/meta-python/recipes-devtools/python/python3-asn1crypto_1.3.0.bb index 1b03c666a4..0d38da9894 100644 --- a/meta-python/recipes-devtools/python/python3-asn1crypto_1.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-asn1crypto_1.3.0.bb @@ -18,6 +18,7 @@ RDEPENDS_${PN}_class-target += " \ ${PYTHON_PN}-datetime \ ${PYTHON_PN}-io \ ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-numbers \ ${PYTHON_PN}-shell \ " -- cgit v1.2.3-54-g00ecf