Gentoo Archives: gentoo-dev

From: Arfrever Frehtes Taifersar Arahesis <Arfrever@g.o>
To: Gentoo Development <gentoo-dev@l.g.o>
Cc: qa@g.o
Subject: Re: [gentoo-dev] python-namespaces.eclass
Date: Mon, 04 Apr 2011 17:44:35
Message-Id: 201104041943.28019.Arfrever@gentoo.org
In Reply to: Re: [gentoo-dev] Re: python-namespaces.eclass by "Tomáš Chvátal"
1 2011-04-04 12:04:44 Tomáš Chvátal napisał(a):
2 > Dne 4.4.2011 01:13, Arfrever Frehtes Taifersar Arahesis napsal(a):
3 > > 2011-04-03 21:28:02 Tomáš Chvátal napisał(a):
4 > >> Dne 3.4.2011 19:38, Arfrever Frehtes Taifersar Arahesis napsal(a):
5 > >>> I would like to add python-namespaces.eclass. This eclass will be used by a small number of
6 > >>> special packages, which will provide Python namespaces. These packages will be used as
7 > >>> dependencies of other packages already present in the tree.
8 > >>>
9 > >>> Ebuilds using this eclass must set PYTHON_NAMESPACES variable before inheriting this eclass.
10 > >>> Example (from net-zope/namespaces-zope):
11 > >>> PYTHON_NAMESPACES="Products Shared Shared.DC five +zope zope.app"
12 > >>>
13 > >>> This eclass provides 3 public functions:
14 > >>> python-namespaces_src_install()
15 > >>> python-namespaces_pkg_postinst()
16 > >>> python-namespaces_pkg_postrm()
17 > >>>
18 > >> Why you do so much overquoting in the conditions?
19 > >
20 > > I like consistency with python.eclass and improved syntax highlighting :) .
21 > Improved syntax highlighting? Apart from making it a bit larger that
22 > indeed is not a point if bash has to process and strip all the quotes
23 > your code is to be slower than the one without them.
24
25 Please don't try to force other developers to use your coding style.
26
27 --
28 Arfrever Frehtes Taifersar Arahesis

Attachments

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