Zac Medico [Wed, 8 Jul 2009 20:05:14 +0000 (20:05 -0000)]
Fix --selective so it works.
svn path=/main/trunk/; revision=13806
Zac Medico [Tue, 7 Jul 2009 20:47:28 +0000 (20:47 -0000)]
Bug #276957 - Fix dropped "in graph" choice for runtime deps inside dep_zapdeps.
svn path=/main/trunk/; revision=13805
Zac Medico [Tue, 7 Jul 2009 09:11:39 +0000 (09:11 -0000)]
Shorten the preserved libs message when in --quiet mode. Thanks to Sebastian
Mingramm (few) <s.mingramm@gmx.de> for this patch.
svn path=/main/trunk/; revision=13803
Zac Medico [Tue, 7 Jul 2009 08:52:08 +0000 (08:52 -0000)]
Bug #276866 - --binpkg-respect-use < y | n >
Tells emerge to ignore binary packages if their use flags don't match the
current configuration. (default: ´n´)
Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch
(small tweaks by me).
svn path=/main/trunk/; revision=13802
Zac Medico [Mon, 6 Jul 2009 21:56:27 +0000 (21:56 -0000)]
Optimize dbapi._iter_match_use() so that it shares a single compiled regex
for all implicit iuse checks. This avoids lots of expensibe re.compile()
calls. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for the
initial patch.
svn path=/main/trunk/; revision=13801
Zac Medico [Mon, 6 Jul 2009 20:38:13 +0000 (20:38 -0000)]
Bug #273640 - Add --disable-dependency-tracking to econf arguments for
EAPI 3. Thanks to Markus Meier <maekke@gentoo.org> for this patch.
svn path=/main/trunk/; revision=13800
Zac Medico [Mon, 6 Jul 2009 20:23:57 +0000 (20:23 -0000)]
Bug #273622 - Add pkg_pretend support for the ebuild(1) command (emerge
support not implemented yet). Thanks to Markus Meier <maekke@gentoo.org>
for this patch.
svn path=/main/trunk/; revision=13799
Zac Medico [Mon, 6 Jul 2009 20:17:12 +0000 (20:17 -0000)]
Bug #273631 - Add default src_install implementation for EAPI 3. Thanks to
Markus Meier <maekke@gentoo.org> for this patch (and people in #gentoo-portage
for bash syntax tweaks).
svn path=/main/trunk/; revision=13798
Zac Medico [Mon, 6 Jul 2009 07:15:01 +0000 (07:15 -0000)]
Use PackageSet.findAtomForPackage() when matching the existing node against
the atom inside _select_pkg_highest_available_imp(), for PROVIDE support.
svn path=/main/trunk/; revision=13794
Zac Medico [Mon, 6 Jul 2009 02:39:56 +0000 (02:39 -0000)]
Always exit unsuccessfully if there are any failures.
svn path=/main/trunk/; revision=13793
Zac Medico [Sun, 5 Jul 2009 22:09:50 +0000 (22:09 -0000)]
Hardcode utf_8 encoding inside _setitem().
svn path=/main/trunk/; revision=13792
Zac Medico [Sun, 5 Jul 2009 21:40:28 +0000 (21:40 -0000)]
Assume utf_8 encoding in alls reads/writes (unicode handling required for py3k).
svn path=/main/trunk/; revision=13791
Zac Medico [Sun, 5 Jul 2009 21:01:58 +0000 (21:01 -0000)]
Fix broken reference to possible_upgrades inside dep_zapdeps().
svn path=/main/trunk/; revision=13790
Zac Medico [Sun, 5 Jul 2009 20:44:53 +0000 (20:44 -0000)]
Make sure avoid_update always returns existing_node if available.
svn path=/main/trunk/; revision=13789
Zac Medico [Sun, 5 Jul 2009 10:39:50 +0000 (10:39 -0000)]
Bug #276264 - Note that eclass-overrides may make it necessary to set
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/metadata/cache" in make.conf.
svn path=/main/trunk/; revision=13788
Zac Medico [Sun, 5 Jul 2009 09:34:16 +0000 (09:34 -0000)]
Remove set operator support since the current implementation does not meet
user expectations, as mentioned in bug #253802, comment #5:
Package set operators currently operate on atoms, but what users really need
is for them to operate on the packages themselves. This will allow one set to
add or subtract packages from another even though the sets to not use the exact
same atoms to refer to the given packages.
I imagine the way this should be done is to create a mapping of atom -> package
for each set, perform the intersection using the packages, and then map the
package intersection back into a set of atoms.
svn path=/main/trunk/; revision=13787
Zac Medico [Sat, 4 Jul 2009 20:33:46 +0000 (20:33 -0000)]
Make dblink.setfile() write environment.bz2 in binary mode.
svn path=/main/trunk/; revision=13786
Zac Medico [Sat, 4 Jul 2009 20:20:43 +0000 (20:20 -0000)]
Assume utf_8 encoding when reading raw ebuild metadata.
svn path=/main/trunk/; revision=13785
Zac Medico [Sat, 4 Jul 2009 19:57:22 +0000 (19:57 -0000)]
Remove the workaround from bug #263081 since most strings should be unicode
now.
svn path=/main/trunk/; revision=13784
Zac Medico [Sat, 4 Jul 2009 19:55:12 +0000 (19:55 -0000)]
Make atomic_ofstream() use codecs.open() for py3k compatible unicode handling
when mode does not contain 'b'.
svn path=/main/trunk/; revision=13783
Zac Medico [Sat, 4 Jul 2009 19:33:30 +0000 (19:33 -0000)]
Make grablines() use codecs.open() for py3k compatible unicode handling.
svn path=/main/trunk/; revision=13782
Zac Medico [Sat, 4 Jul 2009 19:31:21 +0000 (19:31 -0000)]
Make code from previous commit safe for empty files.
svn path=/main/trunk/; revision=13781
Zac Medico [Sat, 4 Jul 2009 19:25:42 +0000 (19:25 -0000)]
Make getconfig() use codecs.option() for py3k compatible unicode handling.
svn path=/main/trunk/; revision=13780
Zac Medico [Sat, 4 Jul 2009 19:16:35 +0000 (19:16 -0000)]
As a performance optimization, use StringIO instead of _insert_newline_eof to
solve bug #228117. Thanks to Marat Radchenko <slonopotamusorama@gmail.com>
for this patch.
svn path=/main/trunk/; revision=13779
Zac Medico [Sat, 4 Jul 2009 19:11:51 +0000 (19:11 -0000)]
Correct --help usage since it no longer takes system, world, or --sync as
input. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for this patch.
svn path=/main/trunk/; revision=13778
Zac Medico [Sat, 4 Jul 2009 19:08:41 +0000 (19:08 -0000)]
Correct --help usage since it no longer takes system, world, or --sync as
input. Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for this patch.
svn path=/main/trunk/; revision=13777
Zac Medico [Sat, 4 Jul 2009 19:06:04 +0000 (19:06 -0000)]
Update help() usage since the myopts parameter is gone. Thanks to
Marat Radchenko <slonopotamusorama@gmail.com> for this patch.
svn path=/main/trunk/; revision=13776
Zac Medico [Sat, 4 Jul 2009 09:25:43 +0000 (09:25 -0000)]
Don't pass myopts into profile_check() since it's no longer needed. Thanks to
Radchenko <slonopotamusorama@gmail.com> for this patch.
svn path=/main/trunk/; revision=13775
Zac Medico [Sat, 4 Jul 2009 08:42:59 +0000 (08:42 -0000)]
Delete runtime_pkg_mask to avoid memory leak.
svn path=/main/trunk/; revision=13774
Zac Medico [Sat, 4 Jul 2009 06:23:56 +0000 (06:23 -0000)]
Make LazyItemsDict derive from UserDict instead of dict so that we don't have
to implement the pop method (and possibly others such as setdefault).
svn path=/main/trunk/; revision=13773
Zac Medico [Sat, 4 Jul 2009 06:13:04 +0000 (06:13 -0000)]
Remove the --avoid-update option and make it the default behavior when
--update is not specified, as suggested by Allen Brooker (AllenJB)
<gentoo-bugs@allenjb.me.uk> in bug #275945, comment #2.
svn path=/main/trunk/; revision=13772
Zac Medico [Sat, 4 Jul 2009 05:59:59 +0000 (05:59 -0000)]
Disable depgraph._show_missed_update() when --quiet is enabled and --debug
is not enabled.
svn path=/main/trunk/; revision=13771
Zac Medico [Sat, 4 Jul 2009 05:43:02 +0000 (05:43 -0000)]
Cleanup spinner before calling depgraph.display_problems().
svn path=/main/trunk/; revision=13770
Zac Medico [Sat, 4 Jul 2009 05:32:59 +0000 (05:32 -0000)]
Bug #275217 - Part 5 - When a slot conflict occurs, mask the first package
that got pulled in and restart the calculation. Thanks to Sebastian Mingramm
(few) <s.mingramm@gmx.de> for the initial patch which I added some additional
features to:
* display message about missed updates
* cache frozen_config instance, to optimize performance
* disable backtracking if it fails, fall back to a normal
dep calculation + error message.
svn path=/main/trunk/; revision=13769
Arfrever Frehtes Taifersar Arahesis [Fri, 3 Jul 2009 21:26:07 +0000 (21:26 -0000)]
Don't set RDEPEND=${RDEPEND-${DEPEND}} for EAPI=3 and simplify setting it for lower EAPIs.
svn path=/main/trunk/; revision=13768
Zac Medico [Fri, 3 Jul 2009 20:29:39 +0000 (20:29 -0000)]
Implement LazyItemsDict.pop() since dict.pop() bypasses our overridden
__getitem__ implementation. This fixes a problem with config.setcpv()
failing to set PORTAGE_REPO_NAME when appropriate. Thanks to Arfrever
for reporting.
svn path=/main/trunk/; revision=13767
Zac Medico [Fri, 3 Jul 2009 19:13:59 +0000 (19:13 -0000)]
Make --help into an action, and move --help --sync output to the
actions section. Thanks to Marat Radchenko <slonopotamusorama@gmail.com>
for this patch.
svn path=/main/trunk/; revision=13766
Zac Medico [Fri, 3 Jul 2009 18:34:45 +0000 (18:34 -0000)]
Move "import copy" to the top of the file.
svn path=/main/trunk/; revision=13765
Zac Medico [Fri, 3 Jul 2009 09:05:39 +0000 (09:05 -0000)]
Skip PROVIDE conditional evaluation in PackageSet.iterAtomsForPackage(), since
Package.metadata handles that automatically now.
svn path=/main/trunk/; revision=13764
Zac Medico [Fri, 3 Jul 2009 01:50:34 +0000 (01:50 -0000)]
Fix broken reference to _graph_trees.
svn path=/main/trunk/; revision=13763
Zac Medico [Fri, 3 Jul 2009 01:47:44 +0000 (01:47 -0000)]
Fix broken reference to self.myopts in the dynamic_config constructor.
svn path=/main/trunk/; revision=13762
Zac Medico [Fri, 3 Jul 2009 01:32:12 +0000 (01:32 -0000)]
Use the new frozen_config depgraph constructor parameter to optimize
resume_depgraph().
svn path=/main/trunk/; revision=13761
Zac Medico [Fri, 3 Jul 2009 01:29:41 +0000 (01:29 -0000)]
Add a frozen_config parameter to the depgraph constructor, so that multiple
depgraph instances created for backtracking purposes can reuse the same
frozen_config instance.
svn path=/main/trunk/; revision=13760
Zac Medico [Fri, 3 Jul 2009 00:52:44 +0000 (00:52 -0000)]
Use depgraph._pkg() whenever possible.
svn path=/main/trunk/; revision=13759
Zac Medico [Thu, 2 Jul 2009 23:56:18 +0000 (23:56 -0000)]
Move RootConfig.visible_pkgs to dynamic_config._visible_pkgs, so RootConfig
can be considered entirely "frozen".
svn path=/main/trunk/; revision=13758
Zac Medico [Thu, 2 Jul 2009 17:39:38 +0000 (17:39 -0000)]
Fix reversal in --nodeps merge order. Thanks to Michael Haubenwallner
<haubi@gentoo.org> for reporting.
svn path=/main/trunk/; revision=13757
Zac Medico [Wed, 1 Jul 2009 20:47:58 +0000 (20:47 -0000)]
Bug #275947 - Enable build.log when FEATURES=sesandbox is enabled, since
it works when a pty is available (but not through a normal pipe, due to
bug #162404).
svn path=/main/trunk/; revision=13756
Zac Medico [Wed, 1 Jul 2009 03:42:57 +0000 (03:42 -0000)]
Fix broken references to depgraph._dynamic_config and _frozen_config in
calc_depclean().
svn path=/main/trunk/; revision=13754
Zac Medico [Wed, 1 Jul 2009 00:28:28 +0000 (00:28 -0000)]
Fix typo from previous commit.
svn path=/main/trunk/; revision=13753
Zac Medico [Wed, 1 Jul 2009 00:27:38 +0000 (00:27 -0000)]
Fix depgraph._serialize_tasks so it never performa a needless uninstall task
when a package in the same slot is scheduled to replace it.
svn path=/main/trunk/; revision=13752
Zac Medico [Tue, 30 Jun 2009 23:26:36 +0000 (23:26 -0000)]
Remove obsolete blocker expansion code from _expand_new_virtuals.
svn path=/main/trunk/; revision=13751
Zac Medico [Tue, 30 Jun 2009 23:22:52 +0000 (23:22 -0000)]
Always use dep_getkey() when using profile virtuals values, since at least
/profiles/base/virtuals contains an atom with an operator (virtual/pam maps
to >=sys-libs/pam-0.78).
svn path=/main/trunk/; revision=13750
Zac Medico [Tue, 30 Jun 2009 23:03:34 +0000 (23:03 -0000)]
Fix depgraph._resolve to do old-style virtual matches against package.provided
when there is no other choice.
svn path=/main/trunk/; revision=13749
Zac Medico [Tue, 30 Jun 2009 22:49:24 +0000 (22:49 -0000)]
Fix _expand_new_virtuals to expand old-style virtuals for package.provided
entries when there is no other choice.
svn path=/main/trunk/; revision=13748
Zac Medico [Tue, 30 Jun 2009 22:06:20 +0000 (22:06 -0000)]
Bug #275217 - Part 4 - Move all member variables of _emerge.depgraph into
frozen_config or dynamic_config. Thanks to Sebastian Mingramm (few)
<s.mingramm@gmx.de> for this patch.
svn path=/main/trunk/; revision=13747
Zac Medico [Tue, 30 Jun 2009 21:46:22 +0000 (21:46 -0000)]
Tweak depgraph._select_pkg_highest_available_imp to avoid more updates when
in --avoid-update, by ignoring masked installed packages and packages for
which the ebuild is no longer available.
svn path=/main/trunk/; revision=13746
Zac Medico [Tue, 30 Jun 2009 21:33:42 +0000 (21:33 -0000)]
Bug #275945 - Add a new --avoid-update which tries to avoid updating packages
which possible. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for
this patch.
svn path=/main/trunk/; revision=13745
Zac Medico [Tue, 30 Jun 2009 09:15:52 +0000 (09:15 -0000)]
Bug #275901 - Make emerge bail out for USE deps in EAPI 0 and 1.
svn path=/main/trunk/; revision=13743
Zac Medico [Tue, 30 Jun 2009 04:39:07 +0000 (04:39 -0000)]
Bug #82488 - In _expand_new_virtuals(), check PROVIDE before expanding
old-style virtuals.
svn path=/main/trunk/; revision=13742
Zac Medico [Tue, 30 Jun 2009 04:13:47 +0000 (04:13 -0000)]
In _expand_new_virtuals, don't expand old-style virtuals when there is
a new-style match.
svn path=/main/trunk/; revision=13741
Zac Medico [Tue, 30 Jun 2009 01:16:53 +0000 (01:16 -0000)]
Remove the upgrade selection code inside dep_zapdeps (from bug #171840 and
bug #159360) since the code in depgraph._dep_check_composite_db._visible()
from bug #253904 now masks choices that do not match the highest available
version in the slot. This means that such undesirable choices automatically
go into the dep_zapdeps "other" category.
svn path=/main/trunk/; revision=13740
Zac Medico [Tue, 30 Jun 2009 00:01:08 +0000 (00:01 -0000)]
Fix virtual blocker code inside _expand_new_virtuals to correctly handle
!!atom blockers.
svn path=/main/trunk/; revision=13739
Zac Medico [Mon, 29 Jun 2009 23:44:55 +0000 (23:44 -0000)]
Use a finally blocker to ensure _expand_new_virtuals properly resets eapi
state when an exception is raised.
svn path=/main/trunk/; revision=13738
Zac Medico [Mon, 29 Jun 2009 23:34:42 +0000 (23:34 -0000)]
Bug #275796 - Prefer packages selected for install over installed packages.
This helps automatically solve cases such as the upgrade to the new bluez
package which requires uninstallation of the older bluez-libs and bluez-utils
packages. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this
patch.
svn path=/main/trunk/; revision=13737
Zac Medico [Mon, 29 Jun 2009 23:03:19 +0000 (23:03 -0000)]
Bug #275821 - Make emerge reject !!atom blockers for EAPI 0 and 1.
svn path=/main/trunk/; revision=13736
Zac Medico [Mon, 29 Jun 2009 22:41:55 +0000 (22:41 -0000)]
Move code from bug #258773 to dep_zapdeps, since the parent always needs to
be passed in for atom validation in order to solve bug #275821.
svn path=/main/trunk/; revision=13735
Arfrever Frehtes Taifersar Arahesis [Mon, 29 Jun 2009 11:23:09 +0000 (11:23 -0000)]
Prepare 41 messages to localization.
svn path=/main/trunk/; revision=13733
Zac Medico [Sun, 28 Jun 2009 22:59:49 +0000 (22:59 -0000)]
Add missing resume_depgraph import, and remove unused imports.
svn path=/main/trunk/; revision=13732
Zac Medico [Sun, 28 Jun 2009 21:14:11 +0000 (21:14 -0000)]
Fix constructor to avoid TypeError when the "perms" keyword parameter is given.
svn path=/main/trunk/; revision=13731
Zac Medico [Sun, 28 Jun 2009 20:59:49 +0000 (20:59 -0000)]
Bug #253467 - Fix regression in config._env_blacklist handling.
svn path=/main/trunk/; revision=13730
Zac Medico [Sun, 28 Jun 2009 20:37:50 +0000 (20:37 -0000)]
Fix Package.metadata USE conditional evaluation so that it's delayed until
after config.setcpv() has calculated PORTAGE_USE. Thanks to Arfrever for
reporting.
svn path=/main/trunk/; revision=13729
Zac Medico [Sun, 28 Jun 2009 19:40:39 +0000 (19:40 -0000)]
Use Package.invalid to generate *.syntax repoman errors for LICENSE,
PROPERTIES, PROVIDE, and RESTRICT.
svn path=/main/trunk/; revision=13728
Zac Medico [Sun, 28 Jun 2009 19:03:33 +0000 (19:03 -0000)]
Make Package.invalid suitable for use by repoman.
svn path=/main/trunk/; revision=13726
Zac Medico [Sun, 28 Jun 2009 18:40:05 +0000 (18:40 -0000)]
Check for redundant blank lines. Thanks to Markus Meier <maekke@gentoo.org>
for this patch.
svn path=/main/trunk/; revision=13725
Zac Medico [Sun, 28 Jun 2009 18:24:23 +0000 (18:24 -0000)]
Bug #236786 - Warn about 'test?' USE conditionals in RDEPEND. Thanks to
Markus Meier <maekke@gentoo.org> for this patch.
svn path=/main/trunk/; revision=13724
Mike Frysinger [Sun, 28 Jun 2009 16:12:28 +0000 (16:12 -0000)]
make sure etc-update sorts updates in the order (1) leading dir path (2) filename (3) cfg update
svn path=/main/trunk/; revision=13723
Zac Medico [Sun, 28 Jun 2009 08:08:54 +0000 (08:08 -0000)]
* Add new abstract PhaseCheck class for ebuild phase-specific checks.
* Reimplement SrcUnpackPatches using PhaseCheck.
* Add new SrcCompileEconf, Eapi3IncompatibleFuncs, and Eapi3GoneVars checks.
Thanks to Markus Meier <maekke@gentoo.org> for this patch.
svn path=/main/trunk/; revision=13717
Zac Medico [Sat, 27 Jun 2009 19:39:46 +0000 (19:39 -0000)]
Bug #270953 - New !!atom blockers do not allow temporary simulaneous
installation, so unlike !atom blockers, !!atom blockers aren't ignored
when they match other packages occupying the same slot. Thanks to
Sebastian Mingramm (few) <s.mingramm@gmx.de> for the initial patch.
svn path=/main/trunk/; revision=13716
Zac Medico [Fri, 26 Jun 2009 23:38:01 +0000 (23:38 -0000)]
Use a property to implement portdbapi.settings.
svn path=/main/trunk/; revision=13703
Zac Medico [Fri, 26 Jun 2009 23:01:46 +0000 (23:01 -0000)]
Fix PROVIDE code since the Package class automatically evaluates USE
conditionals now.
svn path=/main/trunk/; revision=13702
Zac Medico [Fri, 26 Jun 2009 22:43:39 +0000 (22:43 -0000)]
Make portdbapi define self.settings, for conformity with other dbapi classes.
svn path=/main/trunk/; revision=13701
Zac Medico [Fri, 26 Jun 2009 21:37:17 +0000 (21:37 -0000)]
Use clear_caches() to free memory inside action_depclean().
svn path=/main/trunk/; revision=13700
Zac Medico [Fri, 26 Jun 2009 21:32:01 +0000 (21:32 -0000)]
Bug #275532 - In action_depclean(), free memory from the dep calculation
before calling unmerge().
svn path=/main/trunk/; revision=13699
Zac Medico [Fri, 26 Jun 2009 20:10:06 +0000 (20:10 -0000)]
Move __init__.py to main.py.
svn path=/main/trunk/; revision=13698
Zac Medico [Fri, 26 Jun 2009 20:06:08 +0000 (20:06 -0000)]
Move __init__.py to main.py.
svn path=/main/trunk/; revision=13697
Zac Medico [Thu, 25 Jun 2009 21:59:58 +0000 (21:59 -0000)]
Use @property instead of __getattribute__ to implement lazy Package.iuse.regex
initialization.
svn path=/main/trunk/; revision=13696
Zac Medico [Thu, 25 Jun 2009 21:24:30 +0000 (21:24 -0000)]
Make dbapi.cp_list() raise NotImplementedError.
svn path=/main/trunk/; revision=13695
Zac Medico [Thu, 25 Jun 2009 19:41:48 +0000 (19:41 -0000)]
Make config.regenerate() detect api-level updates to ACCEPT_LICENSE, for use
in implementing the "free" filter for the packagekit backend.
svn path=/main/trunk/; revision=13694
Zac Medico [Thu, 25 Jun 2009 06:35:25 +0000 (06:35 -0000)]
Add a Package.metadata.restrict attribute containing a list of enabled
RESTRICT values.
svn path=/main/trunk/; revision=13693
Zac Medico [Thu, 25 Jun 2009 06:24:33 +0000 (06:24 -0000)]
Add a Package.metadata.properties attribute containing a list of enabled
PROPERTIES values.
svn path=/main/trunk/; revision=13692
Zac Medico [Thu, 25 Jun 2009 06:06:14 +0000 (06:06 -0000)]
* Add a Package.invalid attribute to store messages about invalid LICENSE,
PROPERTIES, PROVIDE, and RESTRICT metadata. Use it to mask invalid packages
when necessary.
* Evaluate USE conditional values in Package.metadata when the are accessed.
svn path=/main/trunk/; revision=13691
Zac Medico [Thu, 25 Jun 2009 04:13:47 +0000 (04:13 -0000)]
Add/update copyright headers.
svn path=/main/trunk/; revision=13690
Zac Medico [Thu, 25 Jun 2009 03:04:43 +0000 (03:04 -0000)]
Split out a depgraph._iter_match_pkgs() method from
_select_pkg_highest_available_imp().
svn path=/main/trunk/; revision=13689
Zac Medico [Thu, 25 Jun 2009 01:53:58 +0000 (01:53 -0000)]
Use depgraph._pkg() to construct Package instances inside
_select_pkg_highest_available_imp().
svn path=/main/trunk/; revision=13688
Zac Medico [Thu, 25 Jun 2009 00:45:05 +0000 (00:45 -0000)]
Remove obsolete Package.metadata['CHOST'] initialization.
svn path=/main/trunk/; revision=13687
Zac Medico [Thu, 25 Jun 2009 00:33:47 +0000 (00:33 -0000)]
* Make Package.metadata['USE'] access trigger USE calculation for unbuilt
ebuilds.
* Make Package.metadata['LICENSE'] access trigger USE conditional evaluation.
* Make Package.metadata['PROVIDE'] access trigger USE conditional evaluation.
* Initialize Package.metadata['CHOST'] in the Package constructor for
unbuilt ebuilds.
svn path=/main/trunk/; revision=13686
Zac Medico [Wed, 24 Jun 2009 21:07:50 +0000 (21:07 -0000)]
Bug #275217 - Part 3 - Splits depgraph.select_files into select_files and
_resolve. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this
patch.
svn path=/main/trunk/; revision=13685
Zac Medico [Wed, 24 Jun 2009 07:12:40 +0000 (07:12 -0000)]
Add support to `portageq owners` for querying paths matching a given basename.
It is natural to support this since the vartree already maintains a basename
-> owner index anyway. There are plans for the packagekit backend is to
support this type of search.
svn path=/main/trunk/; revision=13681
Zac Medico [Wed, 24 Jun 2009 06:47:57 +0000 (06:47 -0000)]
In binarytree.inject(), when a symlink is created for the current package
and it overwrites another package, delete the corresponding metadata from
the Packages file. Thanks to Eitan Mosenkis <eitan@mosenkis.net> for
reporting.
svn path=/main/trunk/; revision=13680
Zac Medico [Wed, 24 Jun 2009 03:18:01 +0000 (03:18 -0000)]
Bug #275237 - If a directory exists in a location where a normal file is to
be merged, generate a config-protect filename for the file and merge it that
way. Thanks to Jonas Bernoulli <jonas@bernoulli.cc> for this patch.
svn path=/main/trunk/; revision=13679