Patchwork python-nose: avoid duplicate install of setup.py*

login
register
mail settings
Submitter ulf@emagii.com
Date Jan. 16, 2014, 4:04 p.m.
Message ID <1389888244-1899-1-git-send-email-ulf@emagii.com>
Download mbox | patch
Permalink /patch/64981/
State Superseded, archived
Headers show

Comments

ulf@emagii.com - Jan. 16, 2014, 4:04 p.m.
Signed-off-by: Ulf Samuelsson <ulf@emagii.com>
---
 .../recipes-devtools/python/python-nose_1.2.1.bb   |    4 ++++
 1 file changed, 4 insertions(+)
Martin Jansa - Jan. 16, 2014, 4:16 p.m.
On Thu, Jan 16, 2014 at 05:04:04PM +0100, Ulf Samuelsson wrote:
> Signed-off-by: Ulf Samuelsson <ulf@emagii.com>
> ---
>  .../recipes-devtools/python/python-nose_1.2.1.bb   |    4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/meta-oe/recipes-devtools/python/python-nose_1.2.1.bb b/meta-oe/recipes-devtools/python/python-nose_1.2.1.bb
> index 083d052..1cf3869 100644
> --- a/meta-oe/recipes-devtools/python/python-nose_1.2.1.bb
> +++ b/meta-oe/recipes-devtools/python/python-nose_1.2.1.bb
> @@ -11,4 +11,8 @@ SRC_URI[sha256sum] = "2171e9202d118d302d5db1decb52dd862b79e2a626ca19653a6914574a
>  
>  S = "${WORKDIR}/nose-${PV}"
>  
> +do_install_append() {
> +	rm -f ${D}${libdir}/python*/site-packages/site.py*
> +}

it was moved to oe-core and I believe that fixed there by RP (change of
inherit)

> +
>  inherit distutils
> -- 
> 1.7.9.5
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-oe/recipes-devtools/python/python-nose_1.2.1.bb b/meta-oe/recipes-devtools/python/python-nose_1.2.1.bb
index 083d052..1cf3869 100644
--- a/meta-oe/recipes-devtools/python/python-nose_1.2.1.bb
+++ b/meta-oe/recipes-devtools/python/python-nose_1.2.1.bb
@@ -11,4 +11,8 @@  SRC_URI[sha256sum] = "2171e9202d118d302d5db1decb52dd862b79e2a626ca19653a6914574a
 
 S = "${WORKDIR}/nose-${PV}"
 
+do_install_append() {
+	rm -f ${D}${libdir}/python*/site-packages/site.py*
+}
+
 inherit distutils