Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: Arfrever Frehtes Taifersar Arahesis <Arfrever@g.o>
Cc: Gentoo Development <gentoo-dev@l.g.o>, qa@g.o
Subject: [gentoo-dev] Re: Patch for python.eclass
Date: Mon, 18 Oct 2010 07:06:30
Message-Id: 201010180306.06911.vapier@gentoo.org
In Reply to: [gentoo-dev] Patch for python.eclass by Arfrever Frehtes Taifersar Arahesis
1 On October 17, 2010 21:33:20 Arfrever Frehtes Taifersar Arahesis wrote:
2 > Example usage:
3 > RDEPEND="net-libs/gnutls
4 > $(python_add_abi_dependencies ">=dev-python/PyQt4-4.7.7[svg]")
5 > $(python_add_abi_dependencies -e "2.7 3.[2-9]" dev-python/argparse)"
6 > DEPEND="${RDEPEND}
7 > $(python_add_abi_dependencies dev-python/setuptools)
8 > $(python_add_abi_dependencies -i "3.*" net-zope/zope-fixers)
9 > test? ( $(python_add_abi_dependencies dev-python/py) )"
10
11 "dependencies" is overly verbose imo. why not just use "depend" ? plus,
12 "add" usually means the func is the one doing the addition when this is not
13 the case -- the user is the one doing the addition. "python_abi_depend"
14 should be sufficient.
15
16 > Subpatch #5 improves some code used in older EAPIs.
17
18 does this fix Bug 340395 ?
19 -mike

Attachments

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

Replies

Subject Author
[gentoo-dev] Re: Patch for python.eclass Arfrever Frehtes Taifersar Arahesis <Arfrever@g.o>