summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Fix @module-rebuild to support $ROOT.Zac Medico2010-01-311-1/+4
| | | | svn path=/main/trunk/; revision=15308
* Bug #298141 - Make /etc/portage/sets relative to PORTAGE_CONFIGROOT. ThanksZac Medico2010-01-311-1/+2
| | | | | | to Martin Gysel (bearsh) <m.gysel@gmx.ch> for this patch. svn path=/main/trunk/; revision=15307
* Deprecate pordbapi.mysettings since the portdbapi.settings alias is nowZac Medico2010-01-314-38/+43
| | | | | | supported by stable portage. svn path=/main/trunk/; revision=15306
* Validate categories.Zac Medico2010-01-311-1/+2
| | | | svn path=/main/trunk/; revision=15305
* Reverting r15293, it was actually not needed.Mounir Lamouri2010-01-311-1/+1
| | | | svn path=/main/trunk/; revision=15298
* In __iter__, handle OSError from lstat in case a cache entry disappears.Zac Medico2010-01-311-1/+5
| | | | svn path=/main/trunk/; revision=15297
* Make __iter__ use list.pop() instead of pop(0), for greater efficiency.Zac Medico2010-01-311-6/+4
| | | | svn path=/main/trunk/; revision=15296
* Bug #302764 - Inside __iter__, only recurse 1 deep, in order to avoidZac Medico2010-01-311-4/+10
| | | | | | | | iteration over entries from another nested cache instance. This can happen if the user nests an overlay inside /usr/portage/local. Thanks to Vlastimil Babka <caster@g.o> for this patch. svn path=/main/trunk/; revision=15295
* Fix: change os.mkdir to os.makedirs in case of there are more than one ↵Mounir Lamouri2010-01-301-1/+1
| | | | | | | | directory depth missing. According to docs.python.org, permissions may be not respected with os.makedirs... with some systems. svn path=/main/trunk/; revision=15293
* Show a DeprecationWarning if the deprecated pordbapi constructor parameterZac Medico2010-01-301-4/+5
| | | | | | is used incorrectly. svn path=/main/trunk/; revision=15292
* fix flat_list cache backendMounir Lamouri2010-01-301-11/+11
| | | | | | looks like it was outdated wrt. template cache backend svn path=/main/trunk/; revision=15291
* Don't generate DeprecationWarning for portdbapi arguments. Wait until newZac Medico2010-01-301-2/+3
| | | | | | portdbapi constructor is in stable portage first. svn path=/main/trunk/; revision=15290
* Fix concatenation of list + tuple in Manifest._createManifestEntries().Zac Medico2010-01-301-4/+4
| | | | svn path=/main/trunk/; revision=15289
* In config._expandLicenseToken(), make sure traversed_groups is only initializedZac Medico2010-01-301-1/+1
| | | | | | when appropriate. svn path=/main/trunk/; revision=15288
* Define __slots__ in all classes.Zac Medico2010-01-301-0/+8
| | | | svn path=/main/trunk/; revision=15287
* fix: python dbm module doesn't accept unicode as keyMounir Lamouri2010-01-301-2/+2
| | | | svn path=/main/trunk/; revision=15286
* For immutable config attributes, use shallow copy for speed and memoryZac Medico2010-01-301-4/+5
| | | | | | conservation. svn path=/main/trunk/; revision=15285
* For immutable config attributes, use shallow copy for speed and memoryZac Medico2010-01-301-8/+7
| | | | | | conservation. svn path=/main/trunk/; revision=15284
* For immutable config attributes, use shallow copy for speed and memoryZac Medico2010-01-301-10/+14
| | | | | | conservation. svn path=/main/trunk/; revision=15283
* Use tuples instead of lists for immutability.Zac Medico2010-01-301-7/+7
| | | | svn path=/main/trunk/; revision=15282
* Deprecate the first parameter of the portdbapi constructor since it is alwaysZac Medico2010-01-301-3/+17
| | | | | | the same as mysettings['PORTDIR']. svn path=/main/trunk/; revision=15281
* Fix code from r15278 for python3 unicode compatibility.Zac Medico2010-01-301-2/+3
| | | | svn path=/main/trunk/; revision=15280
* Fix conditional logic for userpriv_groups intialization.Zac Medico2010-01-301-19/+20
| | | | svn path=/main/trunk/; revision=15279
* Bug #277902 - When excluding config files, instead of using an empty file as aZac Medico2010-01-301-2/+9
| | | | | | | placeholder, use a file containing a comment like this: # empty file because --include-config=n when `quickpkg` was used svn path=/main/trunk/; revision=15278
* Define userpriv_groups earlier in order to avoid an AttributeError fromZac Medico2010-01-291-0/+1
| | | | | | lazy import code. Thanks to antarus for reporting. svn path=/main/trunk/; revision=15277
* Enable EAPI 3 and deprecate EAPI 3_pre2.Zac Medico2010-01-292-3/+3
| | | | svn path=/main/trunk/; revision=15221
* Show the path of the lockfile when chown fails. Thanks to Jeremy OlexaZac Medico2010-01-291-2/+2
| | | | | | <darkside@g.o> for reporting. svn path=/main/trunk/; revision=15220
* In portage.spawn(), apply group write permission to the log file.Zac Medico2010-01-291-0/+2
| | | | svn path=/main/trunk/; revision=15218
* Bug #300378 - Don't export FILESDIR to the 'depend' phase.Zac Medico2010-01-291-0/+3
| | | | svn path=/main/trunk/; revision=15217
* Move the DOM unlink call to a finally block.Zac Medico2010-01-291-18/+20
| | | | svn path=/main/trunk/; revision=15216
* Fix AttributeError from has_versions for atoms with no USE deps. Thanks toZac Medico2010-01-281-1/+1
| | | | | | Arfrever for reporting. svn path=/main/trunk/; revision=15214
* Fix typo in docstring.Zac Medico2010-01-281-1/+1
| | | | svn path=/main/trunk/; revision=15213
* Add an Atom.evaluate_conditionals() method and use where appropriate.Zac Medico2010-01-282-5/+17
| | | | svn path=/main/trunk/; revision=15212
* Add a warning for built_with_use. Thanks to Petteri Räty <betelgeuse@g.o> forZac Medico2010-01-242-2/+8
| | | | | | this patch. svn path=/main/trunk/; revision=15209
* Bug #302005 - Remove broken test code.Zac Medico2010-01-241-12/+0
| | | | svn path=/main/trunk/; revision=15208
* Bug #301926 - Handle ValueError in parseManifest2(), triggered by corruptZac Medico2010-01-241-1/+4
| | | | | | manifest entry. svn path=/main/trunk/; revision=15207
* Don't bail out if postinst fails. Thanks to Brain Harring for the suggestion.Zac Medico2010-01-181-2/+2
| | | | svn path=/main/trunk/; revision=15202
* Bug #300744 - Inside xpak(), exclude CONTENTS for quickpkg since contents isZac Medico2010-01-131-0/+3
| | | | | | generated by the merge process. svn path=/main/trunk/; revision=15198
* Bug #300388 - Fix terminal handling code to so term codes aren't sent whenZac Medico2010-01-114-6/+13
| | | | | | TERM=dumb. svn path=/main/trunk/; revision=15191
* Tweak TERM usage in xtermTitleReset() to match that in xtermTitle().Zac Medico2010-01-111-1/+4
| | | | svn path=/main/trunk/; revision=15190
* Skip global updates for help, version, and info actions.Zac Medico2010-01-081-1/+2
| | | | svn path=/main/trunk/; revision=15179
* Add a TODO comment for improved handling of /lib/modules.Zac Medico2010-01-071-0/+4
| | | | svn path=/main/trunk/; revision=15173
* In python-2.x, convert PortageException.value attribute from unicode to strZac Medico2010-01-051-0/+5
| | | | | | in order to avoid empty output with string format operator. svn path=/main/trunk/; revision=15169
* Handle AttributeError inside atomic_ofstream.__del__. Thanks to Cardoe forZac Medico2010-01-051-3/+7
| | | | | | reporting. svn path=/main/trunk/; revision=15168
* Rearrange _selinux ImportError handling so the workaround for bug #298310Zac Medico2010-01-051-10/+6
| | | | | | isn't necessary. svn path=/main/trunk/; revision=15167
* Revert r15161 so 12.2.5 is greater than 12.2b once again. Depending on how youZac Medico2010-01-042-20/+15
| | | | | | | | look at, it may seem counter-intuitive. However, if you really think about it, it seems like it's probably safe to assume that 12.2.5 > 12.2b is the behavior that is intended by anyone who would use versions such as these. svn path=/main/trunk/; revision=15166
* More cases.Zac Medico2010-01-041-0/+3
| | | | svn path=/main/trunk/; revision=15165
* Add some more cases for versions with letter suffixes.Zac Medico2010-01-041-0/+3
| | | | svn path=/main/trunk/; revision=15164
* Add test cases for cvs versions.Zac Medico2010-01-041-0/+3
| | | | svn path=/main/trunk/; revision=15163
* Fix vercmp so 1b > 1 and add corresponding tests.Zac Medico2010-01-042-1/+10
| | | | svn path=/main/trunk/; revision=15162