meta-openembedded/meta-python/recipes-devtools/python/python3-pysocks_1.7.1.bb
Trevor Gamblin d188161783 python3-pysocks: add python3-logging to RDEPENDS
python3-pysocks uses the logging module, but it isn't in the
RDEPENDS list:

root@qemux86-64:~# python3
Python 3.8.2 (default, Feb 25 2020, 10:39:28)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import socks
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.8/site-packages/socks.py", line 9, in <module>
    import logging
ModuleNotFoundError: No module named 'logging'

Add it to RDEPENDS to fix the ModuleNotFoundError.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-03 14:29:17 -07:00

21 lines
577 B
BlitzBasic

DESCRIPTION = "A Python SOCKS client module"
HOMEPAGE = "http://python-requests.org"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1d457bcffb9661b45f799d4efee72f16"
SRC_URI[md5sum] = "89b1a6865c61bae67a32417517612ee6"
SRC_URI[sha256sum] = "3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0"
PYPI_PACKAGE = "PySocks"
inherit pypi setuptools3
RDEPENDS_${PN}_class-target += "\
${PYTHON_PN}-email \
${PYTHON_PN}-io \
${PYTHON_PN}-logging \
${PYTHON_PN}-netclient \
${PYTHON_PN}-shell \
"
BBCLASSEXTEND = "native nativesdk"