summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Pretend that the current user's uid/gid are the 'portage' uid/gid,Zac Medico2010-08-101-0/+7
| | | | | so things go smoothly regardless of the current user and global user/group configuration.
* Add suitable default PORTAGE_TMPDIR setting.Zac Medico2010-08-101-1/+7
|
* Try using _emerge.main.setconfig_fallback() to make tests passZac Medico2010-08-101-2/+4
| | | | on the buildbot.
* portage.dep.paren_reduce: Remove redundant bracketsSebastian Luther2010-08-102-5/+38
|
* When executing the 'depend' phase inside aux_get(), use theZac Medico2010-08-101-8/+17
| | | | EbuildMetadataPhase class, so we can eliminate redundant code.
* portage.dep: Rewrite paren_reduce and add testsSebastian Luther2010-08-102-53/+88
|
* Relocate attributes from AbstractEbuildProcess to subclasses that useZac Medico2010-08-093-3/+3
| | | | them, since EbuildSpawnProcess doesn't use the attributes.
* Convert doebuild.spawn() to use the AsynchronousTask api, whichZac Medico2010-08-092-98/+36
| | | | will be useful for ebuild IPC implementation.
* In cp_list(), use basestring for ininstance check on the mytreeZac Medico2010-08-091-4/+6
| | | | parameter, and assume it's iterable if it's not a string.
* add optional list support for mytree to complinment the trees param in cp_list()Brian Dolbec2010-08-091-1/+4
|
* Fix /etc/portage/package.keywords handling so that more specificZac Medico2010-08-091-5/+17
| | | | atoms override less specific atoms.
* Tweak the profile package.* atom specificity code to useZac Medico2010-08-091-21/+30
| | | | | list.append() and finally list.reverse(), instead of a bunch of list.insert() calls. This should be easier to read.
* Call portage._disable_legacy_globals() in order to ensure that weZac Medico2010-08-091-0/+7
| | | | | don't instantiate portage.settings, so that tests should work the same regardless of global configuration file state/existence.
* Tests: dep/testAtom: add test for Atom.violated_conditionals()Sebastian Luther2010-08-081-0/+50
|
* portage.dep.Atom.violated_conditionals(): Fix "not / is None" bugSebastian Luther2010-08-081-2/+2
|
* Tests: Let ./runTests take files as argument to run only the test in these filesSebastian Luther2010-08-081-0/+27
|
* autounmask: rename _needed_user_config_changes in _needed_unstable_keywords. ↵Sebastian Luther2010-08-073-52/+57
| | | | Let the tests check for it.
* Test: resolver/test_autounmask: Check the suggested use changesSebastian Luther2010-08-072-25/+31
|
* Tests: resolver/test_autounmask: Remove test that don't test what they were ↵Sebastian Luther2010-08-072-22/+1
| | | | supposed to
* autounmask: Restart less often for use changesSebastian Luther2010-08-071-8/+26
|
* Ensure that _select_pkg_highest_available_imp() falls back to anZac Medico2010-08-061-0/+7
| | | | installed package if the autounmask path fails to select something.
* Fix _getMissingProperties() package.properties handling so that settingsZac Medico2010-08-061-3/+15
| | | | from more specific atoms override those of less specific atoms.
* Fix _getMissingLicenses() package.license handling so that settingsZac Medico2010-08-061-3/+15
| | | | from more specific atoms override those of less specific atoms.
* Use ResolverPlayground for it's config instance, so that we don'tZac Medico2010-08-061-2/+6
| | | | instantiate portage.settings.
* Bug #331429 - Fix breakage in package.properties and package.licenseZac Medico2010-08-061-12/+3
| | | | | handling due to behavior of ExtendedAtomDict.get(). We need to use setdefault() when updating ExtendedAtomDict like this.
* Implement ExtendedAtomDict.__len__().Zac Medico2010-08-061-0/+3
|
* Implement ExtendedAtomDict.__iter__().Zac Medico2010-08-061-0/+9
|
* Fix _select_pkg_highest_available_imp to reject installed packagesZac Medico2010-08-061-0/+5
| | | | | returned from _wrapped_select_pkg_highest_available_imp when necessary.
* Rename allow_missing_keywords to allow_unstable_keywords since that'sZac Medico2010-08-061-9/+9
| | | | what it does.
* Delay variable definitions in _pkg_visibility_check untilZac Medico2010-08-061-2/+4
| | | | they are needed.
* Make dep_check use depgraph._pkg_use_enabled to query USE settings of ↵Zac Medico2010-08-062-2/+7
| | | | new-style virtuals when appropriate.
* Use finally block for autounmask handling insideZac Medico2010-08-061-3/+5
| | | | _select_atoms_highest_available.
* autounmask: Add ability to adjust USESebastian Luther2010-08-065-35/+288
|
* Fix typo in comment.Arfrever Frehtes Taifersar Arahesis2010-08-061-1/+1
|
* Add a _MaskReason.hint attribute that the --autounmask code can useZac Medico2010-08-062-5/+8
| | | | to simplify the 'unstable keyword' check.
* Use _get_masking_status() for the --autounmaks KEYWORDS check.Zac Medico2010-08-061-2/+4
|
* * Split out a _get_masking_status() method that returns categorizedZac Medico2010-08-062-7/+15
| | | | | message objects instead of plain strings. * Move masks to the "invalid" category.
* Split out a _getmaskingstatus() method that returns categorizedZac Medico2010-08-061-10/+23
| | | | message objects instead of plain strings.
* Use a regular expression to simplify dblink.getcontents().Zac Medico2010-08-061-65/+45
|
* In action_unmerge(), create a Schuduler instance for calls to unmerge(),Zac Medico2010-08-062-6/+18
| | | | | in order to cause redirection of ebuild phase output to logs as required for options such as --quiet.
* Pass more parameters to the Package constructor.Zac Medico2010-08-061-2/+2
|
* Fix scope issue that could cause 'retval' variable to be undefined.Zac Medico2010-08-051-2/+2
|
* Bug #331271 - Fix USE_EXPAND wildcards so that the USE="linguas_*Zac Medico2010-08-051-1/+21
| | | | -linguas_en_US" case is handled correctly.
* Bug #331271 - Fix USE_EXPAND wildcards so that the USE="linguas_en_USZac Medico2010-08-051-0/+6
| | | | -linguas_*" case is handled correctly.
* Use ValueError.args since direct indexing of ValueError is notZac Medico2010-08-052-2/+2
| | | | supported in python3, as reported in bug 241132, commment #4.
* Add a test case for lazyimport._preload_portage_submodules().Zac Medico2010-08-053-0/+16
|
* Add a fake _test_ option to myopts that can be used for conditional test code.Zac Medico2010-08-052-3/+6
|
* Use a ResolverPlayground.cleanup() method to cleanup temporary directories.Zac Medico2010-08-053-8/+20
|
* Tests: Add resolver/test_eapi (2 tests disabled)Sebastian Luther2010-08-053-3/+103
| | | | The resolver accepts EAPI-0 ebuilds with IUSE defaults and slot dependencies.
* Tests: Add resolver/test_simple and the resolver test infrastructureSebastian Luther2010-08-054-0/+224
|