Subject: [oe] [meta-python][PATCH] python3-ntplib: add missing python3-io RDEPENDS
From: "Yu, Mingli" <[email-masked]>
To: <[email-masked]>
Date: Thu, 7 May 2020 14:15:26 +0800
List-Id: <openembedded-devel.lists.openembedded.org>

From: Mingli Yu <[email-masked]>

Add the missing python3-io 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.
>>> import ntplib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.8/site-packages/ntplib.py", line 32, in <module>
import socket
ModuleNotFoundError: No module named 'socket'

Signed-off-by: Mingli Yu <[email-masked]>
---
 meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb b/meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb
index 93df83a..ce2618b 100644
--- a/meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb
+++ b/meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb
@@ -11,4 +11,4 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"

 inherit setuptools3 python3native pypi

-RDEPENDS_${PN} += "${PYTHON_PN}-datetime"
+RDEPENDS_${PN} += "${PYTHON_PN}-datetime ${PYTHON_PN}-io"
--
2.7.4

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84234): https://lists.openembedded.org/g/openembedded-devel/message/84234
Mute This Topic: https://lists.openembedded.org/mt/74045486/3618174
Group Owner: [email-masked]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/leave/8024896/1667129725/xyzzy  [[email-masked]]
-=-=-=-=-=-=-=-=-=-=-=-