summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Bug #275945 - Add a new --avoid-update which tries to avoid updating packagesZac Medico2009-06-303-0/+22
| | | | | | | which possible. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13745
* Bug #275901 - Make emerge bail out for USE deps in EAPI 0 and 1.Zac Medico2009-06-301-0/+4
| | | | svn path=/main/trunk/; revision=13743
* Bug #82488 - In _expand_new_virtuals(), check PROVIDE before expandingZac Medico2009-06-301-13/+25
| | | | | | old-style virtuals. svn path=/main/trunk/; revision=13742
* In _expand_new_virtuals, don't expand old-style virtuals when there isZac Medico2009-06-301-2/+3
| | | | | | a new-style match. svn path=/main/trunk/; revision=13741
* Remove the upgrade selection code inside dep_zapdeps (from bug #171840 andZac Medico2009-06-301-43/+2
| | | | | | | | | 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
* Fix virtual blocker code inside _expand_new_virtuals to correctly handleZac Medico2009-06-301-2/+3
| | | | | | !!atom blockers. svn path=/main/trunk/; revision=13739
* Use a finally blocker to ensure _expand_new_virtuals properly resets eapiZac Medico2009-06-291-8/+9
| | | | | | state when an exception is raised. svn path=/main/trunk/; revision=13738
* Bug #275796 - Prefer packages selected for install over installed packages.Zac Medico2009-06-291-15/+13
| | | | | | | | | 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
* Bug #275821 - Make emerge reject !!atom blockers for EAPI 0 and 1.Zac Medico2009-06-291-1/+24
| | | | svn path=/main/trunk/; revision=13736
* Move code from bug #258773 to dep_zapdeps, since the parent always needs toZac Medico2009-06-292-11/+10
| | | | | | be passed in for atom validation in order to solve bug #275821. svn path=/main/trunk/; revision=13735
* Prepare 41 messages to localization.Arfrever Frehtes Taifersar Arahesis2009-06-2911-59/+75
| | | | svn path=/main/trunk/; revision=13733
* Add missing resume_depgraph import, and remove unused imports.Zac Medico2009-06-281-4/+1
| | | | svn path=/main/trunk/; revision=13732
* Fix constructor to avoid TypeError when the "perms" keyword parameter is given.Zac Medico2009-06-281-0/+1
| | | | svn path=/main/trunk/; revision=13731
* Bug #253467 - Fix regression in config._env_blacklist handling.Zac Medico2009-06-281-0/+1
| | | | svn path=/main/trunk/; revision=13730
* Fix Package.metadata USE conditional evaluation so that it's delayed untilZac Medico2009-06-281-3/+6
| | | | | | | after config.setcpv() has calculated PORTAGE_USE. Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=13729
* Use Package.invalid to generate *.syntax repoman errors for LICENSE,Zac Medico2009-06-281-7/+3
| | | | | | PROPERTIES, PROVIDE, and RESTRICT. svn path=/main/trunk/; revision=13728
* Make Package.invalid suitable for use by repoman.Zac Medico2009-06-282-6/+11
| | | | svn path=/main/trunk/; revision=13726
* Check for redundant blank lines. Thanks to Markus Meier <maekke@gentoo.org>Zac Medico2009-06-281-1/+20
| | | | | | for this patch. svn path=/main/trunk/; revision=13725
* * Add new abstract PhaseCheck class for ebuild phase-specific checks.Zac Medico2009-06-281-41/+119
| | | | | | | | * 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
* Bug #270953 - New !!atom blockers do not allow temporary simulaneousZac Medico2009-06-271-7/+14
| | | | | | | | 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
* Use a property to implement portdbapi.settings.Zac Medico2009-06-261-2/+14
| | | | svn path=/main/trunk/; revision=13703
* Fix PROVIDE code since the Package class automatically evaluates USEZac Medico2009-06-261-2/+6
| | | | | | conditionals now. svn path=/main/trunk/; revision=13702
* Make portdbapi define self.settings, for conformity with other dbapi classes.Zac Medico2009-06-261-0/+2
| | | | svn path=/main/trunk/; revision=13701
* Use clear_caches() to free memory inside action_depclean().Zac Medico2009-06-261-2/+1
| | | | svn path=/main/trunk/; revision=13700
* Bug #275532 - In action_depclean(), free memory from the dep calculationZac Medico2009-06-261-39/+62
| | | | | | before calling unmerge(). svn path=/main/trunk/; revision=13699
* Move __init__.py to main.py.Zac Medico2009-06-261-0/+3
| | | | svn path=/main/trunk/; revision=13698
* Move __init__.py to main.py.Zac Medico2009-06-261-0/+0
| | | | svn path=/main/trunk/; revision=13697
* Use @property instead of __getattribute__ to implement lazy Package.iuse.regexZac Medico2009-06-251-15/+20
| | | | | | initialization. svn path=/main/trunk/; revision=13696
* Make dbapi.cp_list() raise NotImplementedError.Zac Medico2009-06-251-1/+1
| | | | svn path=/main/trunk/; revision=13695
* Make config.regenerate() detect api-level updates to ACCEPT_LICENSE, for useZac Medico2009-06-251-10/+13
| | | | | | in implementing the "free" filter for the packagekit backend. svn path=/main/trunk/; revision=13694
* Add a Package.metadata.restrict attribute containing a list of enabledZac Medico2009-06-253-14/+7
| | | | | | RESTRICT values. svn path=/main/trunk/; revision=13693
* Add a Package.metadata.properties attribute containing a list of enabledZac Medico2009-06-253-20/+7
| | | | | | PROPERTIES values. svn path=/main/trunk/; revision=13692
* * Add a Package.invalid attribute to store messages about invalid LICENSE,Zac Medico2009-06-253-5/+28
| | | | | | | | 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
* Add/update copyright headers.Zac Medico2009-06-2581-3/+317
| | | | svn path=/main/trunk/; revision=13690
* Split out a depgraph._iter_match_pkgs() method fromZac Medico2009-06-251-58/+75
| | | | | | _select_pkg_highest_available_imp(). svn path=/main/trunk/; revision=13689
* Use depgraph._pkg() to construct Package instances insideZac Medico2009-06-251-20/+17
| | | | | | _select_pkg_highest_available_imp(). svn path=/main/trunk/; revision=13688
* Remove obsolete Package.metadata['CHOST'] initialization.Zac Medico2009-06-251-3/+0
| | | | svn path=/main/trunk/; revision=13687
* * Make Package.metadata['USE'] access trigger USE calculation for unbuiltZac Medico2009-06-253-50/+47
| | | | | | | | | | 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
* Bug #275217 - Part 3 - Splits depgraph.select_files into select_files andZac Medico2009-06-241-4/+18
| | | | | | | _resolve. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13685
* Add support to `portageq owners` for querying paths matching a given basename.Zac Medico2009-06-241-3/+14
| | | | | | | | 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
* In binarytree.inject(), when a symlink is created for the current packageZac Medico2009-06-241-2/+10
| | | | | | | | 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
* Bug #275237 - If a directory exists in a location where a normal file is toZac Medico2009-06-241-3/+3
| | | | | | | 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
* Bug #275217 - Part 2 - Move changelog stuff stuff out of depgraph.Zac Medico2009-06-232-53/+64
| | | | | | Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13677
* Bu #275217 - Part 1 - Resolve the circular dep between Scheduler andZac Medico2009-06-232-20/+10
| | | | | | | depgraph; mark all functions as local that aren't used outside of depgraph. Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13676
* Make the global "actions" variable a local inside parse_opts() since theZac Medico2009-06-231-8/+8
| | | | | | | | | | | | | | | | | | | | | name collision with the _emerge.actions module triggers this traceback with epydoc-3.0.1: Traceback (most recent call last): File "/usr/bin/epydoc", line 13, in <module> cli() File "/usr/lib/python2.6/site-packages/epydoc/cli.py", line 965, in cli main(options, names) File "/usr/lib/python2.6/site-packages/epydoc/cli.py", line 757, in main exclude_parse=exclude_parse) File "/usr/lib/python2.6/site-packages/epydoc/docbuilder.py", line 235, in build_doc_index docindex = DocIndex(docs) File "/usr/lib/python2.6/site-packages/epydoc/apidoc.py", line 1715, in __init__ raise ValueError("All APIdocs passed to DocIndexer " ValueError: All APIdocs passed to DocIndexer must already have canonical names. svn path=/main/trunk/; revision=13674
* Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 6).Zac Medico2009-06-232-2704/+2735
| | | | | | Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13673
* Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 5).Zac Medico2009-06-239-6734/+6845
| | | | | | Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13672
* Fix config._lazy_vars._accept_license() to exclude irrelevant licenses.Zac Medico2009-06-221-1/+1
| | | | svn path=/main/trunk/; revision=13671
* Change ACCEPT_LICENSE evaluation so that things like ACCEPT_LICENSE="* -@EULA"Zac Medico2009-06-222-38/+53
| | | | | | | | | | | | will work as expected. The ACCEPT_LICENSE variable is now treated as a lazily evaluated incremental, so that * can be used to match all licenses without every having to explicitly expand it to all licenses. It should now behave as approved by the council in response to the "RFC: ACCEPT_LICENSE default value (GLEP 23)" discussion: http://archives.gentoo.org/gentoo-dev/msg_d5c1e7285399ebc27a74bdd02cb4d037.xml svn path=/main/trunk/; revision=13670
* Bug #275047 - Split _emerge/__init__.py into smaller pieces (part 4).Zac Medico2009-06-2217-1958/+2134
| | | | | | Thanks to Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13669