[oe-commits] [meta-openembedded] 04/21: python-twisted: Remove ${PN}-src

git at git.openembedded.org git at git.openembedded.org
Wed Jan 30 21:38:30 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 69c99033461e769f9a3359d324a1956e5b88dd78
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Mon Jan 28 22:23:19 2019 -0800

    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
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 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(-)

diff --git a/meta-python/recipes-devtools/python/python-twisted.inc b/meta-python/recipes-devtools/python/python-twisted.inc
index 01616b1..456adf4 100644
--- a/meta-python/recipes-devtools/python/python-twisted.inc
+++ b/meta-python/recipes-devtools/python/python-twisted.inc
@@ -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 \
 "
+
diff --git a/meta-python/recipes-devtools/python/python3-twisted_18.4.0.bb b/meta-python/recipes-devtools/python/python3-twisted_18.4.0.bb
index 6bd8c52..dfb9d4a 100644
--- a/meta-python/recipes-devtools/python/python3-twisted_18.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-twisted_18.4.0.bb
@@ -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 \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list