From: Brian Harring <ferringb@gmail.com>
To: gentoo-dev@lists.gentoo.org
Cc: zmedico@gentoo.org
Subject: Re: [gentoo-dev] Python-3.2-related changes
Date: Sun, 7 Feb 2010 16:20:22 -0800 [thread overview]
Message-ID: <20100208002022.GA6052@hrair> (raw)
In-Reply-To: <4B6F1FCD.7080409@gentoo.org>
[-- Attachment #1: Type: text/plain, Size: 1749 bytes --]
On Sun, Feb 07, 2010 at 12:17:17PM -0800, Zac Medico wrote:
> I noticed that this generates a depedency like "|| (
> =dev-lang/python-2.7* =dev-lang/python-2.6* )" which is very similar
> to the way that QT3VERSIONS works in qt3.eclass. One thing that is
> sub-optimal about these types of dependencies is that you end up
> with lots of installed packages that have out-dated dependencies
> when the next minor version of python is released (python-2.8 in
> this case). In the case of the python dependencies, it might be more
> optimal to use a version range like ">=dev-lang/python-2.6
> <dev-lang/python-3".
Thing is, the first deps are valid- the deps you posted however
aren't and cannot be used as you're proposing.
Under || ( dev-lang/python:2.7 dev-lang/python:2.6 )
Having python:2.6 or python:2.7 merged satisfies it.
Under >=dev-lang/python:2.6 <dev-lang/python:3.0
having "|| ( python:2.6 python:2.7 )" satisfies it, as does
"|| ( python:2.4 python:2.5 ) || ( python:3.0 python:3.1 python:3.2 )"
Literally, python:2.5 and python:3.1 merged would satisfy it, which is
completely contrary to the intent and an unlikely scenario (several of
my machines have such a deployment).
Ranged versions don't exist in any EAPI's currently although you *can*
get away with them in the cases where the target has a single
slotting- only in that case will the ranged versions from above work.
Python obviously has multiple slottings, thus you cannot rely on it.
If you want ranged versions, get them added to an EAPI- but do *not*
introduce deps like you proposed into the tree since they're wrong
(related, kindly fix the portage deps since I pointed this issue out
several months back).
~harring
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-02-08 0:22 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-05 16:40 [gentoo-dev] Python-3.2-related changes Arfrever Frehtes Taifersar Arahesis
2010-02-06 10:23 ` Arfrever Frehtes Taifersar Arahesis
2010-02-06 16:54 ` Mark Loeser
2010-02-08 12:29 ` Arfrever Frehtes Taifersar Arahesis
2010-02-09 8:10 ` Thilo Bangert
2010-02-09 11:14 ` [gentoo-dev] " Duncan
2010-02-06 11:03 ` [gentoo-dev] " Arfrever Frehtes Taifersar Arahesis
2010-02-06 12:14 ` Brian Harring
2010-02-08 16:06 ` Arfrever Frehtes Taifersar Arahesis
2010-02-07 18:43 ` Markos Chandras
2010-02-08 12:14 ` Arfrever Frehtes Taifersar Arahesis
2010-02-07 20:17 ` Zac Medico
2010-02-08 0:20 ` Brian Harring [this message]
2010-02-08 12:11 ` Arfrever Frehtes Taifersar Arahesis
2010-03-01 3:13 ` Arfrever Frehtes Taifersar Arahesis
2010-03-01 5:13 ` Max Arnold
2010-03-01 23:06 ` Arfrever Frehtes Taifersar Arahesis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100208002022.GA6052@hrair \
--to=ferringb@gmail.com \
--cc=gentoo-dev@lists.gentoo.org \
--cc=zmedico@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox