Re: [gentoo-portage-dev] [PATCH v2 2/2] Colorize packages in world_sets (bug 583164)

2016-05-27 Thread Alexander Berntsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 26/05/16 17:29, Zac Medico wrote: > Looks good to me. ACK. Thank you. Pushed as 40cdc1c3f467ac94d3a966777eb6a0907c269550. - -- Alexander berna...@gentoo.org https://secure.plaimi.net/~alexander -BEGIN PGP SIGNATURE- Version: GnuPG v2

[gentoo-portage-dev] New meeting

2016-05-27 Thread Alexander Berntsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Brian approached me a while back saying we need a new meeting. So let's do that. Sorry for taking so long. So set your availability[0], and add your items to the agenda[1]. [0] [1]

Re: [gentoo-portage-dev] [PATCH 2/2] pym/portage/util/locale.py: add a C module to help check locale

2016-05-27 Thread Anthony G. Basile
On 5/23/16 10:25 AM, Michał Górny wrote: > On Mon, 23 May 2016 08:08:18 -0400 > "Anthony G. Basile" wrote: > >> On 5/23/16 2:44 AM, Michał Górny wrote: >>> On Sun, 22 May 2016 13:04:40 -0400 >>> "Anthony G. Basile" wrote: >>> From:

[gentoo-portage-dev] [PATCH 1/3] pym/portage/util/locale.py: fix decoding for python2 with some locales

2016-05-27 Thread Anthony G. Basile
From: "Anthony G. Basile" When using python2 with some locales, like turkish, chr() is passed values not in range(128) which cannot be decoded as ASCII, thus throwing a UnicodeDecodeError exception. We use _unicode_decode() from portage.util to address this.

[gentoo-portage-dev] [PATCH 3/3] pym/portage/util/locale.py: add a C module to help check locale

2016-05-27 Thread Anthony G. Basile
From: "Anthony G. Basile" The current method to check for a sane system locale is to use python's ctypes.util.find_library() to construct a full library path to the system libc.so and pass that path to ctypes.CDLL() so we can call toupper() and tolower() directly. However,

[gentoo-portage-dev] [PATCH 2/3] setup.py: add stub for building custom modules in C/C++

2016-05-27 Thread Anthony G. Basile
From: "Anthony G. Basile" Currently portage doesn't include any custom modules written in C/C++. This commit introduces stub code for building such modules in setup.py. Signed-off-by: Anthony G. Basile --- setup.py | 11 ++- 1 file changed, 10

Re: [gentoo-portage-dev] [PATCH 2/2] pym/portage/util/locale.py: add a C module to help check locale

2016-05-27 Thread Brian Dolbec
On Fri, 27 May 2016 10:40:46 -0400 "Anthony G. Basile" wrote: > On 5/23/16 10:25 AM, Michał Górny wrote: > > On Mon, 23 May 2016 08:08:18 -0400 > > "Anthony G. Basile" wrote: > > > >> On 5/23/16 2:44 AM, Michał Górny wrote: > >>> On