Skip to contentSkip to conversation

python-twisted: Remove ${PN}-src

PATCH New Khem Raj 1 participant 1 message Jan 29, 2019

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 python-twisted: Remove ${PN}-src

This fixes the QA errors about double defining this in PACKAGES it seems to be removed in py3 version of recipe too so we just do it in inc file so both recipes can use it

Fix a typo in specifying rdep

---
 meta-python/recipes-devtools/python/python-twisted.inc        | 4 ++--
 meta-python/recipes-devtools/python/python3-twisted_18.4.0.bb | 2 --
 2 files changed, 2 insertions(+), 4 deletions(-)
meta-python/recipes-devtools/python/python-twisted.inc +2 -2
index 01616b168b..456adf4c39 100644
@@ -35,7 +35,6 @@ PACKAGES += "\
 "
 
 PACKAGES =+ "\
-    ${PN}-src \
     ${PN}-bin \
 "
 
@@ -242,9 +241,10 @@ FILES_${PN}-doc += " \
     ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/_pydoctortemplates/ \
 "
 
-RDEPENDS_{PN}-src = "${PN}"
+RDEPENDS_${PN}-src = "${PN}"
 FILES_${PN}-src = " \
     ${libdir}/${PYTHON_DIR}/site-packages/twisted/*.py \
     ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*.py \
     ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*/*.py \
 "
+
meta-python/recipes-devtools/python/python3-twisted_18.4.0.bb +0 -2
index 6bd8c52eb0..dfb9d4a4cc 100644
@@ -1,8 +1,6 @@
 inherit pypi setuptools3
 require python-twisted.inc
 
-PACKAGES_remove = "${PN}-src"
-
 FILES_${PN}-core_append += " \
   ${libdir}/${PYTHON_DIR}/site-packages/twisted/__pycache__ \
   ${libdir}/${PYTHON_DIR}/site-packages/twisted/python/__pycache__/*pyc \
Signature · 1 line
2.20.1