[oe] [meta-python][PATCH] python3-twisted: remove python3-twisted-src

Tomasz Meresiński tomasz.meresinski at comarch.pl
Wed Feb 7 16:46:31 UTC 2018


In my opinion this patch should be applied to rocko too.

On 07.02.2018 17:43, Tomasz Meresiński wrote:
> 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>
> ---
>   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 \


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4957 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20180207/b8427350/attachment-0002.p7s>


More information about the Openembedded-devel mailing list