Re: [gentoo-dev] [New eclass] twisted-r1.eclass

2013-08-04 Thread Michał Górny
Dnia 2013-08-03, o godz. 17:13:03 Michał Górny napisał(a): > We've been working with yac for a while to get the old twisted.eclass > converted to be compliant with distutils-r1 both in design > and in spirit. This is the first version we'd like to submit for review. Following comments from marie

Re: [gentoo-dev] [New eclass] twisted-r1.eclass

2013-08-03 Thread Michał Górny
Dnia 2013-08-03, o godz. 17:13:03 Michał Górny napisał(a): > We've been working with yac for a while to get the old twisted.eclass > converted to be compliant with distutils-r1 both in design > and in spirit. This is the first version we'd like to submit for review. One more bit of optimization.

Re: [gentoo-dev] [New eclass] twisted-r1.eclass

2013-08-03 Thread Michał Górny
Dnia 2013-08-03, o godz. 17:13:03 Michał Górny napisał(a): > We've been working with yac for a while to get the old twisted.eclass > converted to be compliant with distutils-r1 both in design > and in spirit. This is the first version we'd like to submit for review. Second version, with much mor

Re: [gentoo-dev] [New eclass] twisted-r1.eclass

2013-08-03 Thread Michał Górny
Dnia 2013-08-03, o godz. 15:37:54 Alex Xu napisał(a): > On 03/08/13 02:29 PM, Michał Górny wrote: > > Dnia 2013-08-03, o godz. 17:54:42 > > Ulrich Mueller napisał(a): > > > >>> On Sat, 3 Aug 2013, Michał Górny wrote: > >> > >>> 2. The eclass comes with a pure bash-3.2 CamelCase converter fo

Re: [gentoo-dev] [New eclass] twisted-r1.eclass

2013-08-03 Thread Alex Xu
On 03/08/13 03:37 PM, Alex Xu wrote: > On 03/08/13 02:29 PM, Michał Górny wrote: >> Dnia 2013-08-03, o godz. 17:54:42 >> Ulrich Mueller napisał(a): >> On Sat, 3 Aug 2013, Michał Górny wrote: >>> 2. The eclass comes with a pure bash-3.2 CamelCase converter for changing PNs like '

Re: [gentoo-dev] [New eclass] twisted-r1.eclass

2013-08-03 Thread Michał Górny
Dnia 2013-08-03, o godz. 21:37:10 Ulrich Mueller napisał(a): > > On Sat, 3 Aug 2013, Michał Górny wrote: > > > Dnia 2013-08-03, o godz. 17:54:42 Ulrich Mueller > > napisał(a): > > >> This looks just horrible. You do decimal arithmetic on octal > >> numbers? > > > Yes. Bash wasn't really h

Re: [gentoo-dev] [New eclass] twisted-r1.eclass

2013-08-03 Thread Alex Xu
On 03/08/13 02:29 PM, Michał Górny wrote: > Dnia 2013-08-03, o godz. 17:54:42 > Ulrich Mueller napisał(a): > >>> On Sat, 3 Aug 2013, Michał Górny wrote: >> >>> 2. The eclass comes with a pure bash-3.2 CamelCase converter for >>> changing PNs like 'twisted-foo' into 'TwistedFoo'. The relevant

Re: [gentoo-dev] [New eclass] twisted-r1.eclass

2013-08-03 Thread Ulrich Mueller
> On Sat, 3 Aug 2013, Michał Górny wrote: > Dnia 2013-08-03, o godz. 17:54:42 Ulrich Mueller > napisał(a): >> This looks just horrible. You do decimal arithmetic on octal >> numbers? > Yes. Bash wasn't really happy to do octal arithmetic for me. Yet in > this particular case, with proper as

Re: [gentoo-dev] [New eclass] twisted-r1.eclass

2013-08-03 Thread Michał Górny
Dnia 2013-08-03, o godz. 17:54:42 Ulrich Mueller napisał(a): > > On Sat, 3 Aug 2013, Michał Górny wrote: > > > 2. The eclass comes with a pure bash-3.2 CamelCase converter for > > changing PNs like 'twisted-foo' into 'TwistedFoo'. The relevant code > > can be moved to eutils as portable repl

Re: [gentoo-dev] [New eclass] twisted-r1.eclass

2013-08-03 Thread Ulrich Mueller
> On Sat, 3 Aug 2013, Michał Górny wrote: > 2. The eclass comes with a pure bash-3.2 CamelCase converter for > changing PNs like 'twisted-foo' into 'TwistedFoo'. The relevant code > can be moved to eutils as portable replacements for bash-4 ${foo^} > and friends. > # obtain octa