Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: hasufell@g.o
Subject: Re: [gentoo-dev] [RFC] Initial python-r1.eclass & distutils-r1.eclass
Date: Sun, 30 Sep 2012 14:02:13
Message-Id: 20120930160125.295dd83a@pomiocik.lan
In Reply to: Re: [gentoo-dev] [RFC] Initial python-r1.eclass & distutils-r1.eclass by hasufell
1 On Sat, 29 Sep 2012 22:48:00 +0200
2 hasufell <hasufell@g.o> wrote:
3
4 > -----BEGIN PGP SIGNED MESSAGE-----
5 > Hash: SHA1
6 >
7 > On 09/29/2012 08:39 PM, Michał Górny wrote:
8 > > On Sat, 29 Sep 2012 16:37:15 +0200 Dirkjan Ochtman <djc@g.o>
9 > > wrote:
10 > >
11 > >> On Sat, Sep 29, 2012 at 4:26 PM, hasufell <hasufell@g.o>
12 > >> wrote:
13 > >>> That still does not explain the reasons why this work was
14 > >>> initiated.
15 > >>>
16 > >>> If there is any way to fix the current eclass, that should be
17 > >>> preferred.
18 > >>
19 > >> I tend to agree. Michał, let me first say I value the time you
20 > >> have invested to make the eclasses better. However, at this point
21 > >> I have a strong feeling that we have more people willing to write
22 > >> code to fix things than we have people building consensus on
23 > >> what features/policies/mechanisms we need to make it easy to
24 > >> write high-quality ebuilds for Python/distutils. I would prefer
25 > >> discussions on problems that the current ebuilds have and
26 > >> discussions on how to solve them, not at the code level, but that
27 > >> the mechanism level.
28 > >
29 > > The main issue: noone wants to even touch python.eclass or
30 > > anything nearby.
31 > >
32 > > The second issue: python-distutils-ng isn't good enough. It has
33 > > too many things hard-wired. I think I have already pointed enough
34 > > problems with it. Not that many people cared to respond.
35 > >
36 > > It's sad that people don't care to respond when you point the
37 > > issues out but then complain when you do something to fix them.
38 > >
39 >
40 > Did you CC gentoo-dev? I cannot find the tread.
41
42 Maybe. People interested in Python should be either on the Python ml
43 or on the python@ alias, I believe.
44
45 > > [example needed]
46 > >
47 >
48 > ??
49 >
50 > I meant that not all tree ebuilds use the same python-eclass
51 > implementation which IS a problem. Adding another implementation does
52 > not really improve that situation.
53
54 As long as they can inter-operate correctly, I don't see any problem.
55
56 > > Please list the features. Preferably, order them by usefulness,
57 > > with exact use cases.
58 > >
59 >
60 > As I said, I think the python herd already did a list on this.
61 >
62 > Btw. could you give exact examples on how to convert widely used
63 > python ebuilds with your eclasses?
64 > E.g. dev-python/pygobject dev-python/setuptools or dev-libs/boost?
65
66 I have prepared and tested an ebuild for pygobject and setuptools here:
67
68 http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=tree;f=dev-python;h=557b96c041bb6da969574dd75dcdfd4022ba636b;hb=refs/heads/python-r1
69
70 I will take a look at boost a while later, since I have to have much
71 more time to compile it :P.
72
73 > How can I convert shebangs consistently and recursively?
74
75 Converting shebangs applies to packages supporting multiple Python
76 implementations or those not doing so?
77
78 --
79 Best regards,
80 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature