Skip to contentSkip to conversation

python3-atomicwrites: add python3-misc to RDEPENDS

PATCH New Trevor Gamblin 1 participant 1 message Apr 29, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-atomicwrites: add python3-misc to RDEPENDS

The atomicwrites module depends on the tempfiles module, but it is not in the RDEPENDs, so add it:

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

import atomicwrites

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.8/site-packages/atomicwrites/__init__.py", line 5, in <module>
import tempfile
ModuleNotFoundError: No module named 'tempfile'

---
 .../recipes-devtools/python/python3-atomicwrites_1.3.0.bb       | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-atomicwrites_1.3.0.bb +2 -0
index 04bbed707..e43bf0884 100644
@@ -7,3 +7,5 @@ SRC_URI[md5sum] = "ce11f780a4ce0fce8a55d64494a88178"
 SRC_URI[sha256sum] = "75a9445bac02d8d058d5e1fe689654ba5a6556a1dfd8ce6ec55a0ed79866cfa6"
 
 inherit pypi setuptools3
+
+RDEPENDS_${PN} = "${PYTHON_PN}-misc"
Signature · 1 line
2.17.1