From: "Thomas Sachau" <tommy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:multilib commit in: pym/portage/package/ebuild/
Date: Wed, 16 Nov 2011 20:07:40 +0000 (UTC) [thread overview]
Message-ID: <0e3ff687bb04f06f761392838e1841c46f179852.tommy@gentoo> (raw)
commit: 0e3ff687bb04f06f761392838e1841c46f179852
Author: Nathan Phillip Brink <binki <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 16 03:27:18 2011 +0000
Commit: Thomas Sachau <tommy <AT> gentoo <DOT> org>
CommitDate: Wed Nov 16 20:07:28 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=0e3ff687
Finish adding support for unilib systems (where MULTILIB_ABIS=${ARCH}), automatically enabling DEFAULT_ABI.
---
pym/portage/package/ebuild/config.py | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/pym/portage/package/ebuild/config.py b/pym/portage/package/ebuild/config.py
index e10174f..1518a7a 100644
--- a/pym/portage/package/ebuild/config.py
+++ b/pym/portage/package/ebuild/config.py
@@ -436,7 +436,7 @@ class config(object):
mygcfg = {}
self.configlist.append(mygcfg)
self.configdict["defaults"]=self.configlist[-1]
- if self.configdict["defaults"].get("MULTILIB_ABIS", "").count(' ') != 0:
+ if self.configdict["defaults"].get('DEFAULT_ABI', None) is not None:
self.configdict["defaults"]["USE"] = self.configdict["defaults"].get("USE", "") + " multilib_abi_" + self.configdict["defaults"].get("DEFAULT_ABI", "")
mygcfg = getconfig(
@@ -1228,7 +1228,7 @@ class config(object):
if pkg_defaults:
defaults.extend(pkg_defaults)
defaults = " ".join(defaults)
- if self.configdict["defaults"].get("MULTILIB_ABIS", "").count(' ') != 0:
+ if self.configdict["defaults"].get('DEFAULT_ABI', None) is not None:
defaults = defaults + " multilib_abi_" + self.configdict["defaults"].get("DEFAULT_ABI", "")
if defaults != self.configdict["defaults"].get("USE",""):
self.configdict["defaults"]["USE"] = defaults
@@ -1467,9 +1467,8 @@ class config(object):
# FEATURES=test for all ebuilds, regardless of explicit IUSE.
iuse_implicit.add("test")
- if self['MULTILIB_ABIS'].count(' ') != 0:
- for multilib_abis in self.get('MULTILIB_ABIS', '').split(' '):
- iuse_implicit.add("multilib_abi_" + multilib_abis)
+ for multilib_abis in self.get('MULTILIB_ABIS', '').split(' '):
+ iuse_implicit.add("multilib_abi_" + multilib_abis)
return iuse_implicit
next reply other threads:[~2011-11-16 20:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-16 20:07 Thomas Sachau [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-01-07 14:14 [gentoo-commits] proj/portage:multilib commit in: pym/portage/package/ebuild/ Thomas Sachau
2018-01-07 14:13 Thomas Sachau
2013-02-16 19:06 Thomas Sachau
2012-09-22 15:53 Thomas Sachau
2012-07-08 18:34 Zac Medico
2012-07-08 10:25 Thomas Sachau
2012-02-26 16:27 Thomas Sachau
2011-02-06 13:10 Thomas Sachau
2011-02-06 13:10 Thomas Sachau
2011-02-06 13:09 Thomas Sachau
2011-02-06 13:09 Thomas Sachau
2011-02-06 13:09 Thomas Sachau
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=0e3ff687bb04f06f761392838e1841c46f179852.tommy@gentoo \
--to=tommy@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.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