From: Denys Duchier <duchier@ps.uni-sb.de>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] per package settings (proposal?)
Date: Tue, 05 Aug 2003 01:56:55 +0200 [thread overview]
Message-ID: <86u18xx9h4.fsf@speedy.ps.uni-sb.de> (raw)
Hi devs,
Correct me if I am mistaken, but, as far as I know, there is no
convenient way to accept ~arch on a per package basis. I have seen
this issue frequently raised, and I certainly encounter the problem
regularly on my own Gentoo installation, but I have not seen a
proposal to address it. ACCEPT_KEYWORDS=~arch unfortunately also
affects recursive dependencies. Personally, I find the situation very
painful.
A related issue are per package USE flags, or more generally per
package settings.
Here is an idea (perhaps it has already been suggested, in which case
please point me to right place):
Just like we now have /etc/portage/package.unmask, lets also have:
/etc/portage/package.env
It would consist of "hunks". Each hunk start with a package selection
condition and the following lines consist of variable assignments. To
reliably identify the start of a hunk let's say that there must be an
asterisk in column 0. So a hunk might look for example like:
* >=category/package-version
var1=val1
var2=val2
...
varn=valn
for simplicity, I suggest either of the following semantics:
1. either, only the first matching hunk applies to a particular ebuild
2. or, all matching hunks apply (last setting for a variable wins)
I prefer option 1.
A particularly useful application would be:
* >=category/package-version
ACCEPT_KEYWORDS="~x86"
USE="..."
Obviously, the idea would be that the variables settings would only
apply for (have scope over) the specific ebuild, not over its
dependencies.
Is this foolish? already done? in the works? worth doing?
Cheers,
--
Dr. Denys Duchier
Équipe Calligramme
LORIA, Nancy, FRANCE
--
gentoo-dev@gentoo.org mailing list
next reply other threads:[~2003-08-05 0:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-04 23:56 Denys Duchier [this message]
2003-08-05 0:10 ` [gentoo-dev] per package settings (proposal?) Mike Frysinger
2003-08-05 0:20 ` [gentoo-dev] " Denys Duchier
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=86u18xx9h4.fsf@speedy.ps.uni-sb.de \
--to=duchier@ps.uni-sb.de \
--cc=gentoo-dev@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