public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Sachau" <tommy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:multilib commit in: /
Date: Sat, 16 Feb 2013 18:47:23 +0000 (UTC)	[thread overview]
Message-ID: <1361040410.7f5b665406eae057457f519ca8fc837f56aba8e2.tommy@gentoo> (raw)

commit:     7f5b665406eae057457f519ca8fc837f56aba8e2
Author:     Thomas Sachau <tommy <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 16 18:46:50 2013 +0000
Commit:     Thomas Sachau <tommy <AT> gentoo <DOT> org>
CommitDate: Sat Feb 16 18:46:50 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=7f5b6654

Merge v2.2.0_alpha163


 bin/archive-conf                                   |    4 +-
 bin/ebuild                                         |    3 +-
 bin/isolated-functions.sh                          |    3 +-
 bin/misc-functions.sh                              |   30 +-
 bin/phase-functions.sh                             |    2 +-
 bin/phase-helpers.sh                               |   11 +-
 bin/repoman                                        |   35 +-
 man/ebuild.1                                       |    2 +-
 man/ebuild.5                                       |    2 +-
 man/emerge.1                                       |   15 +-
 man/env-update.1                                   |   14 +-
 man/etc-update.1                                   |   44 +--
 man/portage.5                                      |   18 +-
 man/ru/ebuild.1                                    |    3 +-
 man/ru/env-update.1                                |   35 ++
 man/ru/etc-update.1                                |   63 ++++
 man/ru/fixpackages.1                               |   22 ++
 misc/emerge-delta-webrsync                         |    2 +-
 pym/_emerge/SpawnProcess.py                        |    2 +-
 pym/_emerge/actions.py                             |   73 ++--
 pym/_emerge/depgraph.py                            |  392 +++++++++++++++++---
 pym/_emerge/getloadavg.py                          |    5 +-
 pym/_emerge/resolver/slot_collision.py             |    2 +-
 pym/portage/__init__.py                            |   58 ++-
 pym/portage/data.py                                |   36 ++-
 pym/portage/dbapi/__init__.py                      |    6 +-
 pym/portage/dbapi/vartree.py                       |    6 +-
 pym/portage/package/ebuild/_config/UseManager.py   |   12 +-
 .../package/ebuild/_config/special_env_vars.py     |    4 +-
 pym/portage/package/ebuild/config.py               |   50 ++-
 .../package/ebuild/deprecated_profile_check.py     |   46 ++-
 pym/portage/package/ebuild/doebuild.py             |   26 ++-
 pym/portage/process.py                             |    2 +-
 pym/portage/tests/emerge/test_simple.py            |    2 +-
 ...test_complete_if_new_subslot_without_revbump.py |   74 ++++
 .../test_regular_slot_change_without_revbump.py    |   59 +++
 .../resolver/test_slot_change_without_revbump.py   |   69 ++++
 .../tests/resolver/test_slot_operator_unsolved.py  |   88 +++++
 pym/portage/tests/runTests                         |   14 +-
 pym/portage/util/__init__.py                       |    4 +-
 pym/repoman/checks.py                              |   23 +-
 pym/repoman/utilities.py                           |    5 +-
 42 files changed, 1124 insertions(+), 242 deletions(-)

diff --cc bin/phase-helpers.sh
index c7c3963,ac1c076..68496c2
--- a/bin/phase-helpers.sh
+++ b/bin/phase-helpers.sh
@@@ -210,10 -210,12 +210,13 @@@ use() 
  		#fi
  		true
  
- 	# Make sure we have this USE flag in IUSE
- 	elif [[ -n $PORTAGE_IUSE && -n $EBUILD_PHASE ]] ; then
+ 	# Make sure we have this USE flag in IUSE, but exempt binary
+ 	# packages for API consumers like Entropy which do not require
+ 	# a full profile with IUSE_IMPLICIT and stuff (see bug #456830).
+ 	elif [[ -n $PORTAGE_IUSE && -n $EBUILD_PHASE &&
+ 		-n $PORTAGE_INTERNAL_CALLER ]] ; then
 -		if [[ ! $u =~ $PORTAGE_IUSE ]] ; then
 +		if ( [[ ! " ${FEATURES} " == *" force-multilib "* && $u == multilib ]] && \
 +			[[ ! $u =~ $PORTAGE_IUSE ]] ) ; then
  			if [[ ! ${EAPI} =~ ^(0|1|2|3|4|4-python|4-slot-abi)$ ]] ; then
  				# This is only strict starting with EAPI 5, since implicit IUSE
  				# is not well defined for earlier EAPIs (see bug #449708).
diff --cc pym/portage/package/ebuild/config.py
index aee20b0,fb7b741..c5ff688
--- a/pym/portage/package/ebuild/config.py
+++ b/pym/portage/package/ebuild/config.py
@@@ -843,20 -844,9 +844,16 @@@ class config(object)
  					self[var] = default_val
  				self.backup_changes(var)
  
- 			features = []
- 			for x in ("globals", "defaults", "conf", "env"):
- 				v = self.configdict[x].get("FEATURES")
- 				if v is not None:
- 					features.append(v.split())
- 			features = stack_lists(features)
- 
+ 			if portage._internal_caller:
+ 				self["PORTAGE_INTERNAL_CALLER"] = "1"
+ 				self.backup_changes("PORTAGE_INTERNAL_CALLER")
 +			if 'force-multilib' in features:
 +				#add multilib_abi internally to list of USE_EXPANDed vars
 +				self["USE_EXPAND"] = "MULTILIB_ABI" + " " + self.get("USE_EXPAND", "")
 +				self.backup_changes("USE_EXPAND")
 +				default_abi = self.configdict["defaults"].get('DEFAULT_ABI', '').strip()
 +				if default_abi:
 +					self.configdict["defaults"]["USE"] = self.configdict["defaults"].get("USE", "") + " multilib_abi_" + default_abi
  
  			# initialize self.features
  			self.regenerate()
@@@ -1722,17 -1737,13 +1746,17 @@@
  		# FEATURES=test for all ebuilds, regardless of explicit IUSE.
  		iuse_implicit.add("test")
  
 +		if 'force-multilib' in self.features:
 +			for multilib_abis in self.get('MULTILIB_ABIS', '').split():
 +				iuse_implicit.add("multilib_abi_" + multilib_abis)
 +
  		return iuse_implicit
  
- 	def _getUseMask(self, pkg):
- 		return self._use_manager.getUseMask(pkg)
+ 	def _getUseMask(self, pkg, stable=None):
+ 		return self._use_manager.getUseMask(pkg, stable=stable)
  
- 	def _getUseForce(self, pkg):
- 		return self._use_manager.getUseForce(pkg)
+ 	def _getUseForce(self, pkg, stable=None):
+ 		return self._use_manager.getUseForce(pkg, stable=stable)
  
  	def _getMaskAtom(self, cpv, metadata):
  		"""


             reply	other threads:[~2013-02-16 18:47 UTC|newest]

Thread overview: 192+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-16 18:47 Thomas Sachau [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-21 11:57 [gentoo-commits] proj/portage:multilib commit in: / Thomas Sachau
2022-03-21 11:43 Thomas Sachau
2022-03-21 11:34 Thomas Sachau
2022-03-21 11:33 Thomas Sachau
2022-03-21 11:27 Thomas Sachau
2022-03-21 11:26 Thomas Sachau
2022-03-21 10:01 Thomas Sachau
2021-10-30  9:44 Thomas Sachau
2021-10-30  9:44 Thomas Sachau
2021-07-25 11:43 Thomas Sachau
2021-07-25 11:43 Thomas Sachau
2021-07-25 11:43 Thomas Sachau
2021-04-03  8:28 Thomas Sachau
2021-04-03  8:28 Thomas Sachau
2021-04-03  8:28 Thomas Sachau
2021-04-03  8:28 Thomas Sachau
2021-01-23  9:52 Thomas Sachau
2021-01-15 16:20 Thomas Sachau
2021-01-15 16:20 Thomas Sachau
2021-01-15 16:20 Thomas Sachau
2021-01-15 16:20 Thomas Sachau
2021-01-15 16:20 Thomas Sachau
2020-10-30 10:29 Thomas Sachau
2020-08-23 12:22 Thomas Sachau
2020-07-05 17:57 Thomas Sachau
2019-12-26 11:56 Thomas Sachau
2019-03-17 11:35 Thomas Sachau
2019-03-09  9:56 Thomas Sachau
2018-09-01 11:03 Thomas Sachau
2018-05-23 12:23 Thomas Sachau
2018-04-14 12:16 Thomas Sachau
2018-03-03 15:18 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:43 Thomas Sachau
2018-01-07 10:38 Thomas Sachau
2018-01-07 10:33 Thomas Sachau
2018-01-07 10:33 Thomas Sachau
2018-01-07 10:33 Thomas Sachau
2018-01-07 10:33 Thomas Sachau
2018-01-07 10:33 Thomas Sachau
2018-01-07 10:30 Thomas Sachau
2018-01-07 10:09 Thomas Sachau
2018-01-07  9:50 Thomas Sachau
2018-01-07  9:39 Thomas Sachau
2016-02-28 12:37 Thomas Sachau
2016-02-28 12:37 Thomas Sachau
2016-02-28 12:37 Thomas Sachau
2016-02-28 12:37 Thomas Sachau
2016-02-28 12:37 Thomas Sachau
2016-02-28 12:37 Thomas Sachau
2015-10-04 11:38 Thomas Sachau
2015-10-04 11:38 Thomas Sachau
2015-10-04 11:38 Thomas Sachau
2015-10-04 11:38 Thomas Sachau
2015-10-04 11:38 Thomas Sachau
2015-05-05 11:29 Thomas Sachau
2014-12-12 20:23 Thomas Sachau
2014-12-12 20:23 Thomas Sachau
2014-12-12 20:23 Thomas Sachau
2014-12-12 20:23 Thomas Sachau
2014-12-12 20:23 Thomas Sachau
2014-06-02 20:00 Thomas Sachau
2013-09-15 20:54 Thomas Sachau
2013-09-15 11:39 Thomas Sachau
2013-09-15 11:06 Thomas Sachau
2013-09-10 16:53 Thomas Sachau
2013-08-25 19:50 Thomas Sachau
2013-08-18 20:55 Thomas Sachau
2013-08-04 11:19 Thomas Sachau
2013-08-04 11:19 Thomas Sachau
2013-05-31 12:16 Thomas Sachau
2013-05-20 10:41 Thomas Sachau
2013-05-10  8:01 Thomas Sachau
2013-04-14 13:20 Thomas Sachau
2013-04-03 11:51 Thomas Sachau
2013-03-28 19:31 Thomas Sachau
2013-03-23 16:24 Thomas Sachau
2013-03-08 17:46 Thomas Sachau
2013-03-03 13:44 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-26 17:19 Thomas Sachau
2013-01-12 11:21 Thomas Sachau
2012-12-16 10:49 Thomas Sachau
2012-12-14 20:16 Thomas Sachau
2012-12-14 20:14 Thomas Sachau
2012-12-09 10:54 Thomas Sachau
2012-12-07 22:24 Thomas Sachau
2012-11-30 16:44 Thomas Sachau
2012-10-29 12:23 Thomas Sachau
2012-10-22  8:57 Thomas Sachau
2012-10-14  9:35 Thomas Sachau
2012-10-06 11:34 Thomas Sachau
2012-09-29 12:51 Thomas Sachau
2012-09-24 20:38 Thomas Sachau
2012-09-22 15:33 Thomas Sachau
2012-09-22 15:23 Thomas Sachau
2012-09-17 17:07 Thomas Sachau
2012-09-08 12:55 Thomas Sachau
2012-09-08 12:55 Thomas Sachau
2012-09-08 12:55 Thomas Sachau
2012-09-08 12:55 Thomas Sachau
2012-09-08 12:55 Thomas Sachau
2012-09-08 12:55 Thomas Sachau
2012-09-08 12:55 Thomas Sachau
2012-09-08 12:55 Thomas Sachau
2012-07-08 10:03 Thomas Sachau
2012-07-01 12:01 Thomas Sachau
2012-06-10 12:42 Thomas Sachau
2012-06-03 12:33 Thomas Sachau
2012-05-28 10:19 Thomas Sachau
2012-05-17 10:00 Thomas Sachau
2012-05-12  7:57 Thomas Sachau
2012-05-11 20:38 Thomas Sachau
2012-04-24 21:26 Thomas Sachau
2012-04-06 11:50 Thomas Sachau
2012-04-04 12:42 Thomas Sachau
2012-04-01 22:00 Thomas Sachau
2012-03-30 18:55 Thomas Sachau
2012-03-24 10:51 Thomas Sachau
2012-03-23 14:42 Thomas Sachau
2012-03-21 18:50 Thomas Sachau
2012-03-18 15:29 Thomas Sachau
2012-03-06 18:21 Thomas Sachau
2012-02-26 16:27 Thomas Sachau
2012-02-25 12:04 Thomas Sachau
2012-02-23 19:08 Thomas Sachau
2012-02-18 15:52 Thomas Sachau
2012-02-06 19:38 Thomas Sachau
2011-12-28 13:33 Thomas Sachau
2011-12-24 14:16 Thomas Sachau
2011-12-16 16:30 Thomas Sachau
2011-12-07 21:31 Thomas Sachau
2011-11-26 14:03 Thomas Sachau
2011-11-19 14:25 Thomas Sachau
2011-11-18 23:27 Thomas Sachau
2011-11-11 22:52 Thomas Sachau
2011-10-31 19:53 Thomas Sachau
2011-10-24 18:54 Thomas Sachau
2011-10-23 11:05 Thomas Sachau
2011-10-23 11:05 Thomas Sachau
2011-10-21 13:57 Thomas Sachau
2011-10-12 16:28 Thomas Sachau
2011-10-09 10:33 Thomas Sachau
2011-10-08  8:34 Thomas Sachau
2011-10-07 12:41 Thomas Sachau
2011-10-01 13:56 Thomas Sachau
2011-10-01 13:56 Thomas Sachau
2011-09-11 14:33 Thomas Sachau
2011-09-09 13:03 Thomas Sachau
2011-08-16 12:20 Thomas Sachau
2011-08-05 12:29 Thomas Sachau
2011-08-01 16:53 Thomas Sachau
2011-07-28 17:07 Thomas Sachau
2011-07-21 19:18 Thomas Sachau
2011-07-15 13:24 Thomas Sachau
2011-07-05 17:34 Thomas Sachau
2011-06-16 16:54 Thomas Sachau
2011-06-07 15:44 Thomas Sachau
2011-05-28 13:14 Thomas Sachau
2011-05-26 17:55 Thomas Sachau
2011-05-22  9:42 Thomas Sachau
2011-05-14  9:59 Thomas Sachau
2011-05-07 18:38 Thomas Sachau
2011-04-16 10:17 Thomas Sachau
2011-04-16 10:17 Thomas Sachau
2011-03-28 17:24 Thomas Sachau
2011-03-19 19:39 Thomas Sachau
2011-03-17 17:58 Thomas Sachau
2011-03-03 19:53 Thomas Sachau
2011-02-25 13:45 Thomas Sachau
2011-02-16 20:15 Thomas Sachau
2011-02-10 18:12 Thomas Sachau
2011-02-08 18:12 Thomas Sachau
2011-02-06 13:10 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=1361040410.7f5b665406eae057457f519ca8fc837f56aba8e2.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