Re: [gentoo-dev] more golang updates

2015-07-25 Thread William Hubbs
On Fri, Jul 24, 2015 at 08:28:37PM +0200, Dirkjan Ochtman wrote: On Fri, Jul 24, 2015 at 7:55 PM, Jauhien Piatlicki jauh...@gentoo.org wrote: are there any docs about how to package go stuff? As I would like to package client for google drive [1], because net-misc/grive is broken. [1]

Re: [gentoo-dev] [PATCH python-utils-r1 2/4] Wrap pythonN-config as well

2015-07-25 Thread Jason Zaman
On Sat, Jul 25, 2015 at 12:37:42PM +0200, Michał Górny wrote: Fixes: https://bugs.gentoo.org/show_bug.cgi?id=94 --- eclass/python-utils-r1.eclass | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass

Re: [gentoo-dev] [PATCH python-utils-r1 3/4] Ban calling pythonY and pythonY-config when pythonX is used

2015-07-25 Thread Jason Zaman
On Sat, Jul 25, 2015 at 12:37:43PM +0200, Michał Górny wrote: Ban calling python3{,-config} when python2 is used, and the other way around. While this will not prevent configure scripts from finding the other Python version, it will cause them to fail eventually trying to use it. Currently

Re: [gentoo-dev] [PATCH python-utils-r1 3/4] Ban calling pythonY and pythonY-config when pythonX is used

2015-07-25 Thread Michał Górny
Dnia 2015-07-25, o godz. 22:25:57 Jason Zaman perfin...@gentoo.org napisał(a): On Sat, Jul 25, 2015 at 12:37:43PM +0200, Michał Górny wrote: Ban calling python3{,-config} when python2 is used, and the other way around. While this will not prevent configure scripts from finding the other

Re: [gentoo-dev] [PATCH python-utils-r1 2/4] Wrap pythonN-config as well

2015-07-25 Thread Jason Zaman
On Sat, Jul 25, 2015 at 10:12:48PM +0800, Jason Zaman wrote: On Sat, Jul 25, 2015 at 12:37:42PM +0200, Michał Górny wrote: Fixes: https://bugs.gentoo.org/show_bug.cgi?id=94 --- eclass/python-utils-r1.eclass | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

Re: [gentoo-dev] [PATCHSET python-utils-r1] python python-config wrapper cleanup

2015-07-25 Thread Davide Pesavento
On Sat, Jul 25, 2015 at 2:48 PM, Michał Górny mgo...@gentoo.org wrote: Dnia 2015-07-25, o godz. 14:24:27 Davide Pesavento p...@gentoo.org napisał(a): On Sat, Jul 25, 2015 at 2:03 PM, Michał Górny mgo...@gentoo.org wrote: Dnia 2015-07-25, o godz. 13:37:03 Davide Pesavento p...@gentoo.org

[gentoo-dev] [PATCH python-utils-r1 4/4] Exit with 127 when banned command is called

2015-07-25 Thread Michał Górny
Exit with code 127 (used by shell as 'command not found') when banned command is used. Probably doesn't make any difference but looks nicer. --- eclass/python-utils-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/python-utils-r1.eclass

[gentoo-dev] [PATCH python-utils-r1 3/4] Ban calling pythonY and pythonY-config when pythonX is used

2015-07-25 Thread Michał Górny
Ban calling python3{,-config} when python2 is used, and the other way around. While this will not prevent configure scripts from finding the other Python version, it will cause them to fail eventually trying to use it. Currently those attempt were able to pass through thanks to python-config

Re: [gentoo-dev] [PATCHSET python-utils-r1] python python-config wrapper cleanup

2015-07-25 Thread Davide Pesavento
On Sat, Jul 25, 2015 at 12:37 PM, Michał Górny mgo...@gentoo.org wrote: While at it, I also added some 'unsupported' wrappers to ban trying to use pythonY (accidental fallback to system python) when pythonX is selected via wrapper, and changed the exit code for unsupp-scripts. Can you clarify

Re: [gentoo-dev] [PATCHSET python-utils-r1] python python-config wrapper cleanup

2015-07-25 Thread Michał Górny
Dnia 2015-07-25, o godz. 13:37:03 Davide Pesavento p...@gentoo.org napisał(a): On Sat, Jul 25, 2015 at 12:37 PM, Michał Górny mgo...@gentoo.org wrote: While at it, I also added some 'unsupported' wrappers to ban trying to use pythonY (accidental fallback to system python) when pythonX is

[gentoo-dev] [PATCH python-utils-r1 2/4] Wrap pythonN-config as well

2015-07-25 Thread Michał Górny
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=94 --- eclass/python-utils-r1.eclass | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index c1c5ea6..69d3262 100644 --- a/eclass/python-utils-r1.eclass +++

[gentoo-dev] [PATCHSET python-utils-r1] python python-config wrapper cleanup

2015-07-25 Thread Michał Górny
Hi, A small batch of patches intended to improve fix python_wrapper_setup(), pretty much thanks to perfinion. Long story short, he noticed two issues: 1. we are missing pythonN-config, both in wrappers and in eselect-python (addressed by patch 2), 2. since python3.4, some symlink reading

[gentoo-dev] [PATCH python-utils-r1 1/4] Use shell wrappers instead of symlinks for python{,-config}

2015-07-25 Thread Michał Górny
Use shell wrappers to spawn python python-config instead of symlinks to fix magic applied by Python 3.4+ to symlinks. Fixes: https://bugs.gentoo.org/show_bug.cgi?id=555752 --- eclass/python-utils-r1.eclass | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git

Re: [gentoo-dev] [PATCHSET python-utils-r1] python python-config wrapper cleanup

2015-07-25 Thread Davide Pesavento
On Sat, Jul 25, 2015 at 2:03 PM, Michał Górny mgo...@gentoo.org wrote: Dnia 2015-07-25, o godz. 13:37:03 Davide Pesavento p...@gentoo.org napisał(a): On Sat, Jul 25, 2015 at 12:37 PM, Michał Górny mgo...@gentoo.org wrote: While at it, I also added some 'unsupported' wrappers to ban trying to

Re: [gentoo-dev] [PATCHSET python-utils-r1] python python-config wrapper cleanup

2015-07-25 Thread Michał Górny
Dnia 2015-07-25, o godz. 14:24:27 Davide Pesavento p...@gentoo.org napisał(a): On Sat, Jul 25, 2015 at 2:03 PM, Michał Górny mgo...@gentoo.org wrote: Dnia 2015-07-25, o godz. 13:37:03 Davide Pesavento p...@gentoo.org napisał(a): On Sat, Jul 25, 2015 at 12:37 PM, Michał Górny