Skip to contentSkip to conversation

python-whoosh: add RDEPENDS to work on minimal python installs

PATCH New Derek Straka 1 participant 1 message Dec 28, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-whoosh: add RDEPENDS to work on minimal python installs

---
 meta-python/recipes-devtools/python/python-whoosh.inc       | 11 +++++++++++
 meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb |  7 +++++++
 2 files changed, 18 insertions(+)
meta-python/recipes-devtools/python/python-whoosh.inc +11 -0
index 0a2cf3b..f43d8c1 100644
@@ -12,3 +12,14 @@ SRC_URI[sha256sum] = "e0857375f63e9041e03fedd5b7541f97cf78917ac1b6b06c1fcc9b4537
 
 PYPI_PACKAGE = "Whoosh"
 PYPI_PACKAGE_EXT = "zip"
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-email \
+    ${PYTHON_PN}-multiprocessing \
+    ${PYTHON_PN}-netclient \
+    ${PYTHON_PN}-numbers \
+    ${PYTHON_PN}-pickle \
+    ${PYTHON_PN}-shell \
+    ${PYTHON_PN}-stringold \
+    ${PYTHON_PN}-subprocess \
+"
meta-python/recipes-devtools/python/python3-whoosh_2.7.4.bb +7 -0
index 5d8af30..4a4e679 100644
@@ -1,2 +1,9 @@
 inherit pypi setuptools3
 require python-whoosh.inc
+
+# Requires _pydecimal.py which is in misc
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-enum \
+    ${PYTHON_PN}-misc \
+    ${PYTHON_PN}-selectors \
+"
Signature · 1 line
2.7.4