Gentoo Archives: gentoo-python

From: "Michał Górny" <mgorny@g.o>
To: "Michał Górny" <mgorny@g.o>
Cc: gentoo-python@l.g.o, python@g.o
Subject: Re: [gentoo-python] [PATCH python-any-r1] Introduce python_gen_any_dep().
Date: Tue, 24 Sep 2013 19:54:23
Message-Id: 20130924215432.79d4af1f@gentoo.org
In Reply to: [gentoo-python] [PATCH python-any-r1] Introduce python_gen_any_dep(). by "Michał Górny"
1 Dnia 2013-09-20, o godz. 00:40:16
2 Michał Górny <mgorny@g.o> napisał(a):
3
4 > This thingie allows you to get huge, beautiful dependency blocks that
5 > can accompany python_check_deps() in making python-any-r1 finally work
6 > like it is supposed to.
7 >
8 > Use like:
9 >
10 > $(python_gen_any_dep 'dev-python/foo[${PYTHON_USEDEP}] ...')
11 >
12 > beware: single quotes!
13 >
14 > and get:
15 >
16 > || (
17 > ( dev-lang/python:2.7 dev-python/foo[...2_7...] )
18 > ( dev-lang/python:2.6 dev-python/foo[...2_6...] )
19 > )
20
21 Committed this one. Will update the docs in a minute.
22
23 --
24 Best regards,
25 Michał Górny

Attachments

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