Skip to contentSkip to conversation

python3-fastentrypoints: add missing setuptools RDEPENDS

PATCH New Yu, Mingli 1 participant 1 message May 7, 2020

lore
Share & tools
lore

Yu, Mingli

author
#0 lore raw

PATCH 1/1 python3-fastentrypoints: add missing setuptools RDEPENDS

From: Mingli Yu <[email protected]>

Add missing setuptools RDEPENDS to fix below error:

 # python3
Python 3.8.2 (default, Apr 27 2020, 08:51:00)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
Quoted 1 line
Quoted 1 line
Quoted 1 line

import fastentrypoints

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.8/site-packages/fastentrypoints.py", line 39, in <module> from setuptools.command import easy_install
ModuleNotFoundError: No module named 'setuptools'

---
 recipes-devtools/python/python3-fastentrypoints_0.12.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-devtools/python/python3-fastentrypoints_0.12.bb +2 -0
index 7bd1651..a96bd15 100644
@@ -12,6 +12,8 @@ LIC_FILES_CHKSUM = "file://README.rst;md5=f212a0cb34eb678477972d2011fb365a"
 
 inherit pypi setuptools3
 
+RDEPENDS_${PN} += "${PYTHON_PN}-setuptools"
+
 SRC_URI[md5sum] = "390ad9a9229164a06156a5b1f0ef1b22"
 SRC_URI[sha256sum] = "ff284f1469bd65400599807d2c6284d5b251398e6e28811f5f77fd262292410b"
 
Signature · 1 line
2.7.4