python3-nose: rename ${bindir}/nosetests into ${bindir}/nosetests3

Message ID 1494358314-53536-1-git-send-email-denis@denix.org
State New
Headers show

Commit Message

Denys Dmytriyenko May 9, 2017, 7:31 p.m.
From: Denys Dmytriyenko <denys@ti.com>


This resolves a conflict when both python-nose and python3-nose are pulled
into an image and try to install ${bindir}/nosetests binary.

This matches with how other distros are solving this problem, e.g. Debian:
https://packages.debian.org/jessie/all/python3-nose/filelist

Also, other packages like python3-setuptools are already doing the same with
their binaries.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>

---
 meta/recipes-devtools/python/python3-nose_1.3.7.bb | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.7.4

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Denys Dmytriyenko May 16, 2017, 9:48 p.m. | #1
Ping

On Tue, May 09, 2017 at 03:31:54PM -0400, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@ti.com>

> 

> This resolves a conflict when both python-nose and python3-nose are pulled

> into an image and try to install ${bindir}/nosetests binary.

> 

> This matches with how other distros are solving this problem, e.g. Debian:

> https://packages.debian.org/jessie/all/python3-nose/filelist

> 

> Also, other packages like python3-setuptools are already doing the same with

> their binaries.

> 

> Signed-off-by: Denys Dmytriyenko <denys@ti.com>

> ---

>  meta/recipes-devtools/python/python3-nose_1.3.7.bb | 4 ++++

>  1 file changed, 4 insertions(+)

> 

> diff --git a/meta/recipes-devtools/python/python3-nose_1.3.7.bb b/meta/recipes-devtools/python/python3-nose_1.3.7.bb

> index 99bba44..1e2ff74 100644

> --- a/meta/recipes-devtools/python/python3-nose_1.3.7.bb

> +++ b/meta/recipes-devtools/python/python3-nose_1.3.7.bb

> @@ -17,6 +17,10 @@ S = "${WORKDIR}/nose-${PV}"

>  

>  inherit setuptools3

>  

> +do_install_append() {

> +    mv ${D}${bindir}/nosetests ${D}${bindir}/nosetests3

> +}

> +

>  RDEPENDS_${PN}_class-target = "\

>    python3-unittest \

>    "

> -- 

> 2.7.4

> 

> -- 

> _______________________________________________

> Openembedded-core mailing list

> Openembedded-core@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Burton, Ross May 17, 2017, 3:22 p.m. | #2
Queued already, there's been quite a backlog and there's always that one
patch that breaks something subtle isn't there...

Ross

On 16 May 2017 at 22:48, Denys Dmytriyenko <denis@denix.org> wrote:

> Ping

>

> On Tue, May 09, 2017 at 03:31:54PM -0400, Denys Dmytriyenko wrote:

> > From: Denys Dmytriyenko <denys@ti.com>

> >

> > This resolves a conflict when both python-nose and python3-nose are

> pulled

> > into an image and try to install ${bindir}/nosetests binary.

> >

> > This matches with how other distros are solving this problem, e.g.

> Debian:

> > https://packages.debian.org/jessie/all/python3-nose/filelist

> >

> > Also, other packages like python3-setuptools are already doing the same

> with

> > their binaries.

> >

> > Signed-off-by: Denys Dmytriyenko <denys@ti.com>

> > ---

> >  meta/recipes-devtools/python/python3-nose_1.3.7.bb | 4 ++++

> >  1 file changed, 4 insertions(+)

> >

> > diff --git a/meta/recipes-devtools/python/python3-nose_1.3.7.bb

> b/meta/recipes-devtools/python/python3-nose_1.3.7.bb

> > index 99bba44..1e2ff74 100644

> > --- a/meta/recipes-devtools/python/python3-nose_1.3.7.bb

> > +++ b/meta/recipes-devtools/python/python3-nose_1.3.7.bb

> > @@ -17,6 +17,10 @@ S = "${WORKDIR}/nose-${PV}"

> >

> >  inherit setuptools3

> >

> > +do_install_append() {

> > +    mv ${D}${bindir}/nosetests ${D}${bindir}/nosetests3

> > +}

> > +

> >  RDEPENDS_${PN}_class-target = "\

> >    python3-unittest \

> >    "

> > --

> > 2.7.4

> >

> > --

> > _______________________________________________

> > Openembedded-core mailing list

> > Openembedded-core@lists.openembedded.org

> > http://lists.openembedded.org/mailman/listinfo/openembedded-core

> --

> _______________________________________________

> Openembedded-core mailing list

> Openembedded-core@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-core

>
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch hide | download patch | download mbox

diff --git a/meta/recipes-devtools/python/python3-nose_1.3.7.bb b/meta/recipes-devtools/python/python3-nose_1.3.7.bb
index 99bba44..1e2ff74 100644
--- a/meta/recipes-devtools/python/python3-nose_1.3.7.bb
+++ b/meta/recipes-devtools/python/python3-nose_1.3.7.bb
@@ -17,6 +17,10 @@  S = "${WORKDIR}/nose-${PV}"
 
 inherit setuptools3
 
+do_install_append() {
+    mv ${D}${bindir}/nosetests ${D}${bindir}/nosetests3
+}
+
 RDEPENDS_${PN}_class-target = "\
   python3-unittest \
   "