Re: [gentoo-dev] New eclass for Python

2012-04-04 Thread Brian Harring
On Wed, Apr 04, 2012 at 08:36:37PM -0400, Mike Gilbert wrote: > On Wed, Apr 4, 2012 at 8:07 PM, Brian Harring wrote: > > On Wed, Apr 04, 2012 at 10:41:03AM -0400, Mike Gilbert wrote: > >> On Wed, Apr 4, 2012 at 4:50 AM, Corentin Chary > >> wrote: > >> > I have a feature request for distutil-ng (

Re: [gentoo-dev] New eclass for Python

2012-04-04 Thread Mike Gilbert
On Wed, Apr 4, 2012 at 8:07 PM, Brian Harring wrote: > On Wed, Apr 04, 2012 at 10:41:03AM -0400, Mike Gilbert wrote: >> On Wed, Apr 4, 2012 at 4:50 AM, Corentin Chary >> wrote: >> > I have a feature request for distutil-ng (or maybe it's already >> > possible but I don't know how). >> > >> > I h

Re: [gentoo-dev] New eclass for Python

2012-04-04 Thread Brian Harring
On Wed, Apr 04, 2012 at 10:41:03AM -0400, Mike Gilbert wrote: > On Wed, Apr 4, 2012 at 4:50 AM, Corentin Chary > wrote: > > I have a feature request for distutil-ng (or maybe it's already > > possible but I don't know how). > > > > I have a package that depends on python-dateutil:python-2 for > >

Re: [gentoo-dev] New eclass for Python

2012-04-04 Thread Mike Gilbert
On Wed, Apr 4, 2012 at 4:50 AM, Corentin Chary wrote: > I have a feature request for distutil-ng (or maybe it's already > possible but I don't know how). > > I have a package that depends on python-dateutil:python-2 for > python2_x and python-dateutil:python-3 for python3_x. > Would it be possible

Re: [gentoo-dev] New eclass for Python

2012-04-04 Thread Corentin Chary
On Wed, Apr 4, 2012 at 4:22 PM, Mike Gilbert wrote: > On Wed, Apr 4, 2012 at 4:50 AM, Corentin Chary > wrote: >> I have a package that depends on python-dateutil:python-2 for >> python2_x and python-dateutil:python-3 for python3_x. >> Would it be possible to have virtual targets like "python, py

Re: [gentoo-dev] New eclass for Python

2012-04-04 Thread Mike Gilbert
On Wed, Apr 4, 2012 at 4:50 AM, Corentin Chary wrote: > I have a package that depends on python-dateutil:python-2 for > python2_x and python-dateutil:python-3 for python3_x. > Would it be possible to have virtual targets like "python, python2, > python3, pypi, jithon" ? > With regards to python-d

Re: [gentoo-dev] New eclass for Python

2012-04-04 Thread Corentin Chary
On Mon, Mar 26, 2012 at 6:23 PM, Krzysztof Pawlik wrote: > On 26/03/12 18:11, Krzysztof Pawlik wrote: >> On 26/03/12 09:20, justin wrote: >>> On 25/03/12 20:56, Krzysztof Pawlik wrote: On 28/02/12 22:13, Krzysztof Pawlik wrote: > If there are no objections then during the weekend (March 3

Re: [gentoo-dev] New eclass for Python

2012-03-26 Thread Krzysztof Pawlik
On 26/03/12 18:11, Krzysztof Pawlik wrote: > On 26/03/12 09:20, justin wrote: >> On 25/03/12 20:56, Krzysztof Pawlik wrote: >>> On 28/02/12 22:13, Krzysztof Pawlik wrote: If there are no objections then during the weekend (March 3, 4) I will add this to portage (after finishing rema

Re: [gentoo-dev] New eclass for Python

2012-03-26 Thread Krzysztof Pawlik
On 26/03/12 09:20, justin wrote: > On 25/03/12 20:56, Krzysztof Pawlik wrote: >> On 28/02/12 22:13, Krzysztof Pawlik wrote: >>> If there are no objections then during the weekend (March 3, 4) I will add >>> this >>> to portage (after finishing remaining TODO items, PyPy requires 4G of >>> RAM(!!)

Re: [gentoo-dev] New eclass for Python

2012-03-26 Thread Krzysztof Pawlik
On 26/03/12 09:21, justin wrote: > On 25/03/12 20:56, Krzysztof Pawlik wrote: >> On 28/02/12 22:13, Krzysztof Pawlik wrote: >>> If there are no objections then during the weekend (March 3, 4) I will add >>> this >>> to portage (after finishing remaining TODO items, PyPy requires 4G of >>> RAM(!!)

Re: [gentoo-dev] New eclass for Python

2012-03-26 Thread justin
On 25/03/12 20:56, Krzysztof Pawlik wrote: > On 28/02/12 22:13, Krzysztof Pawlik wrote: >> If there are no objections then during the weekend (March 3, 4) I will add >> this >> to portage (after finishing remaining TODO items, PyPy requires 4G of >> RAM(!!)). > > Hello, > > Slightly late due to

Re: [gentoo-dev] New eclass for Python

2012-03-26 Thread justin
On 25/03/12 20:56, Krzysztof Pawlik wrote: > On 28/02/12 22:13, Krzysztof Pawlik wrote: >> If there are no objections then during the weekend (March 3, 4) I will add >> this >> to portage (after finishing remaining TODO items, PyPy requires 4G of >> RAM(!!)). > > Hello, > > Slightly late due to

Re: [gentoo-dev] New eclass for Python

2012-03-25 Thread Luca Barbato
On 3/25/12 11:56 AM, Krzysztof Pawlik wrote: On 28/02/12 22:13, Krzysztof Pawlik wrote: If there are no objections then during the weekend (March 3, 4) I will add this to portage (after finishing remaining TODO items, PyPy requires 4G of RAM(!!)). Hello, Slightly late due to Real Life™ but fi

Re: [gentoo-dev] New eclass for Python

2012-03-25 Thread Krzysztof Pawlik
On 28/02/12 22:13, Krzysztof Pawlik wrote: > If there are no objections then during the weekend (March 3, 4) I will add > this > to portage (after finishing remaining TODO items, PyPy requires 4G of > RAM(!!)). Hello, Slightly late due to Real Life™ but finally it's in the main tree :) (and ye

Re: [gentoo-dev] New eclass for Python

2012-03-01 Thread Krzysztof Pawlik
On 29/02/12 22:57, Alexandre Rostovtsev wrote: > On Wed, 2012-02-29 at 21:24 +0100, Krzysztof Pawlik wrote: >> On 29/02/12 20:51, Alexandre Rostovtsev wrote: >>> The proposed eclass omits three features from python.eclass which are >>> heavily used in the gnome stack. >> >> Correct me if I'm wrong,

Re: [gentoo-dev] New eclass for Python

2012-02-29 Thread Alexandre Rostovtsev
On Wed, 2012-02-29 at 21:24 +0100, Krzysztof Pawlik wrote: > On 29/02/12 20:51, Alexandre Rostovtsev wrote: > > The proposed eclass omits three features from python.eclass which are > > heavily used in the gnome stack. > > Correct me if I'm wrong, but Gnome doesn't use standard distutils? Gnome i

Re: [gentoo-dev] New eclass for Python

2012-02-29 Thread Krzysztof Pawlik
On 29/02/12 22:08, Andreas K. Huettel wrote: > Am Mittwoch 29 Februar 2012, 21:24:49 schrieb Krzysztof Pawlik: >>> Second, there doesn't seem to be any support for packages that do not >>> install in python's site-packages and do not allow multiple python ABIs. >>> If I have, for example, a package

Re: [gentoo-dev] New eclass for Python

2012-02-29 Thread Andreas K. Huettel
Am Mittwoch 29 Februar 2012, 21:24:49 schrieb Krzysztof Pawlik: > > Second, there doesn't seem to be any support for packages that do not > > install in python's site-packages and do not allow multiple python ABIs. > > If I have, for example, a package that installs python modules > > in /usr/lib/a

Re: [gentoo-dev] New eclass for Python

2012-02-29 Thread Krzysztof Pawlik
On 29/02/12 20:51, Alexandre Rostovtsev wrote: > On Tue, 2012-02-28 at 22:13 +0100, Krzysztof Pawlik wrote: >> Hello, >> >> After some work during weekend on Python packages I've decided to start a >> rewrite of Python/distutils eclass for installing Python packages. My main >> goal >> was simplic

Re: [gentoo-dev] New eclass for Python

2012-02-29 Thread Alexandre Rostovtsev
On Tue, 2012-02-28 at 22:13 +0100, Krzysztof Pawlik wrote: > Hello, > > After some work during weekend on Python packages I've decided to start a > rewrite of Python/distutils eclass for installing Python packages. My main > goal > was simplicity and functionality similar to ruby-ng.eclass (thank

Re: [gentoo-dev] New eclass for Python

2012-02-29 Thread Jeroen Roovers
On Wed, 29 Feb 2012 18:38:22 +0100 Krzysztof Pawlik wrote: > On 29/02/12 08:49, "Paweł Hajdan, Jr." wrote: > > This is awesome! Compare that to over 3000 LOC of python.eclass. :) > > Count distutils.eclass too: > > $ wc -l python-distutils-ng.eclass python.eclass distutils.eclass >364 pytho

Re: [gentoo-dev] New eclass for Python

2012-02-29 Thread Krzysztof Pawlik
On 29/02/12 08:49, "Paweł Hajdan, Jr." wrote: > On 2/28/12 10:13 PM, Krzysztof Pawlik wrote: >> Highlights: >> - <400 lines of code including documentation >> - should work for >95% of packages (my educated guess) >> - did I mention it's *SIMPLE*? >> - easy to maintain & read so it's also easy

Re: [gentoo-dev] New eclass for Python

2012-02-29 Thread Krzysztof Pawlik
On 29/02/12 04:21, Sergei Trofimovich wrote: > On Tue, 28 Feb 2012 22:13:36 +0100 > Krzysztof Pawlik wrote: > >> I'm attaching the eclass itself and two ebuilds using it, code is also >> available >> in my overlay at >> http://git.overlays.gentoo.org/gitweb/?p=dev/nelchael.git;a=summary > Nice!

Re: [gentoo-dev] New eclass for Python

2012-02-29 Thread Krzysztof Pawlik
On 29/02/12 09:17, Fabian Groffen wrote: > On 28-02-2012 22:13:36 +0100, Krzysztof Pawlik wrote: > [good stuff] > > Much appreciated! > > From 2nd example ebuild: >> python_install_all() { >> rm -f "${D}/usr/bin"/*.py || die > > s/D/ED/ here for Prefix :) > > I haven't checked the eclass i

Re: [gentoo-dev] New eclass for Python

2012-02-29 Thread Fabian Groffen
On 28-02-2012 22:13:36 +0100, Krzysztof Pawlik wrote: [good stuff] Much appreciated! From 2nd example ebuild: > python_install_all() { > rm -f "${D}/usr/bin"/*.py || die s/D/ED/ here for Prefix :) I haven't checked the eclass in detail, but did you intend to make it Prefix aware at all?

Re: [gentoo-dev] New eclass for Python

2012-02-28 Thread Paweł Hajdan, Jr.
On 2/28/12 10:13 PM, Krzysztof Pawlik wrote: > Highlights: > - <400 lines of code including documentation > - should work for >95% of packages (my educated guess) > - did I mention it's *SIMPLE*? > - easy to maintain & read so it's also easy to use This is awesome! Compare that to over 3000 LO

Re: [gentoo-dev] New eclass for Python

2012-02-28 Thread Sergei Trofimovich
On Tue, 28 Feb 2012 22:13:36 +0100 Krzysztof Pawlik wrote: > I'm attaching the eclass itself and two ebuilds using it, code is also > available > in my overlay at > http://git.overlays.gentoo.org/gitweb/?p=dev/nelchael.git;a=summary Nice! > eclass/python-distutils-ng.eclass > 236

[gentoo-dev] New eclass for Python

2012-02-28 Thread Krzysztof Pawlik
Hello, After some work during weekend on Python packages I've decided to start a rewrite of Python/distutils eclass for installing Python packages. My main goal was simplicity and functionality similar to ruby-ng.eclass (thanks Ruby team for your great work!). Python team members already contribut