Skip to contentSkip to conversation

python3-ntplib: add missing python3-io RDEPENDS

PATCH In review Yu, Mingli 2 participants 2 messages May 7, 2020 – May 8, 2020

lore
Share & tools
lore

Yu, Mingli

author
#0 lore raw

PATCH v2 1/1 python3-ntplib: add missing python3-io RDEPENDS

From: Mingli Yu <[email protected]>

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.
Quoted 1 line
Quoted 1 line
Quoted 1 line

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'

---
 meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb +1 -1
index 93df83a..ce2618b 100644
@@ -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"
Signature · 1 line
2.7.4
#1 lore raw

I merged V1, so if v2 has differences please send a rebased patch on master.

Quoted 35 lines · Mingli

From: Mingli Yu <[email protected]>

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.
Quoted 1 line
Quoted 1 line
Quoted 1 line

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'

---
 meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb +1 -2
index 93df83a..ce2618b 100644
@@ -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