[oe-commits] [meta-openembedded] 08/25: python3-twisted: remove python3-twisted-src
git at git.openembedded.org
git at git.openembedded.org
Sat Feb 24 04:45:40 UTC 2018
This is an automated email from the git hooks/post-receive script.
armin_kuster pushed a commit to branch master
in repository meta-openembedded.
commit 8f9ab712c4b4a05229e65105792c23bc96f5befe
Author: Tomasz Meresiński <tomasz.meresinski at comarch.pl>
AuthorDate: Wed Feb 7 17:43:52 2018 +0100
python3-twisted: remove python3-twisted-src
In python2 .py files are not necessary when importing a module.
In python3 it's impossible to import without them.
Removing python3-twisted-src makes .py files appear in packages again.
Signed-off-by: Tomasz Meresiński<tomasz.meresinski at comarch.pl>
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
meta-python/recipes-devtools/python/python3-twisted_17.9.0.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-python/recipes-devtools/python/python3-twisted_17.9.0.bb b/meta-python/recipes-devtools/python/python3-twisted_17.9.0.bb
index dfb9d4a..6bd8c52 100644
--- a/meta-python/recipes-devtools/python/python3-twisted_17.9.0.bb
+++ b/meta-python/recipes-devtools/python/python3-twisted_17.9.0.bb
@@ -1,6 +1,8 @@
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