Gentoo Archives: gentoo-dev

From: "Petteri Räty" <betelgeuse@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Deprecation of python_version(), python_mod_exists(), python_tkinter_exists(), distutils_python_version() and distutils_python_tkinter() in EAPI <=2
Date: Wed, 03 Mar 2010 15:57:05
Message-Id: 4B8E867D.4060908@gentoo.org
In Reply to: [gentoo-dev] Re: Deprecation of python_version(), python_mod_exists(), python_tkinter_exists(), distutils_python_version() and distutils_python_tkinter() in EAPI <=2 by Ryan Hill
1 On 03/03/2010 02:40 PM, Ryan Hill wrote:
2 > On Wed, 03 Mar 2010 13:09:49 +0200
3 > Petteri Räty <betelgeuse@g.o> wrote:
4 >
5 >> On 3.3.2010 11.23, Nirbheek Chauhan wrote:
6 >>> 2010/3/3 Tomáš Chvátal <scarabeus@g.o>:
7 >>>>>> Removing eclass functions like this is not allowed by current policy. If
8 >>>>>> you want to do it, you should discuss about changing policy.
9 >>>>>
10 >>>>> ?!
11 >>>>>
12 >>>>> since when?
13 >>>>>
14 >>>> Since ever.
15 >>>> If you change eclass abi you need to rename it.
16 >>>>
17 >>>
18 >>> I think you can *add* functions and variables to eclasses, you can
19 >>> change *how* a function works internally, you can *fix* problems with
20 >>> functions (which would technically result in a change in API). I don't
21 >>> think it has ever been as strict as, say, the kernel ABI interface.
22 >>>
23 >>
24 >> Yes, eclasses go along the same lines as shared libraries, which is
25 >> probably what Tomáš meant any way.
26 >
27 > Is this actually documented anywhere? Or is this another of our
28 > "this-is-policy-because-everyone-knows-it's-policy" policies? I know there
29 > was a technical issue with removing pkg_*_rm functions way-back-when, but if
30 > there's no technical reason why functions can't be deprecated, and we're just
31 > clinging to policy in the name of policy, then I can't say I see the point.
32 >
33
34 Big eclass changes should go through gentoo-dev so someone here will
35 point it out at least. Devmanual should document it so I challenge
36 anyone to submit a patch:
37
38 http://devmanual.gentoo.org/eclass-writing/index.html
39 git+ssh://git.gentoo.org/var/gitroot/devmanual.git
40
41 Also policies should be changed when they don't make sense any more as I
42 said in my first response but I am not sure if that's the case here.
43
44 Regards,
45 Petteri

Attachments

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

Replies