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 <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Trevor Gamblin
2020-04-27 16:53:44 -04:00
committed by Khem Raj
parent 8c6ffb685b
commit b76313654f

View File

@@ -18,6 +18,7 @@ RDEPENDS_${PN}_class-target += " \
${PYTHON_PN}-datetime \
${PYTHON_PN}-io \
${PYTHON_PN}-netclient \
${PYTHON_PN}-numbers \
${PYTHON_PN}-shell \
"