summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add support for --rdeps-only and --root-deps options which are useful inZac Medico2009-03-293-1/+42
| | | | | | | combination with $ROOT. Thanks to Ned Ludd <solar@g.o> for the initial patch. svn path=/main/trunk/; revision=13245
* In order to eliminate the possibility of integer overflay, replace things likeZac Medico2009-03-2912-17/+17
| | | | | | ((ret+=$?)) with ((ret|=$?)). Thanks to zong_sharo for the suggestion. svn path=/main/trunk/; revision=13242
* Bug #243220 - Show messages in emerge.log when old versions are uninstalledZac Medico2009-03-282-6/+37
| | | | | | | | for AUTOCLEAN. This reverts behavior so that messages which used to be generated prior to portage-2.1.5.x (when AUTOCLEAN was moved from emerge to dblink.treewalk()) are generated once again. svn path=/main/trunk/; revision=13241
* Don't show the package counter for "Uninstalling" messages.Zac Medico2009-03-281-3/+6
| | | | svn path=/main/trunk/; revision=13240
* Add (x of y ) package counter in the "Installing" message, similar to theZac Medico2009-03-281-1/+5
| | | | | | | counter show in the "Emerging" message. Thanks to Ned Ludd <solar@g.o> for the suggestion. svn path=/main/trunk/; revision=13239
* Make the argument hash in config.setcpv() a little stronger.v2.2_rc28Zac Medico2009-03-271-5/+7
| | | | svn path=/main/trunk/; revision=13232
* Fix typo in comment.Zac Medico2009-03-271-1/+1
| | | | svn path=/main/trunk/; revision=13230
* In config.setcpv(), make sure the current args are really identical to theZac Medico2009-03-271-2/+7
| | | | | | previous args before returning early. svn path=/main/trunk/; revision=13227
* Inside config.setcpv(), don't clear out self.configdict['pkg'] entirelyZac Medico2009-03-271-4/+11
| | | | | | since some values need to be reused sometimes. svn path=/main/trunk/; revision=13226
* In portdbapi.findname2(), move some of the path joining out of the loop.Zac Medico2009-03-271-3/+6
| | | | svn path=/main/trunk/; revision=13224
* In dyn_unpack(), don't force a new unpack when the ebuild mtime is newerZac Medico2009-03-271-4/+1
| | | | | | | than $WORKDIR, since that may be too touchy. The user can easily call the clean phase explicitly if they really want it. svn path=/main/trunk/; revision=13222
* When copying symlink targets to temp files, use a private temp dir insideZac Medico2009-03-271-2/+7
| | | | | | $T instead of using $T directly. svn path=/main/trunk/; revision=13202
* For consistency in output with other helpers, check for file existenceZac Medico2009-03-271-1/+3
| | | | | | before calling install. svn path=/main/trunk/; revision=13201
* Move checks for /usr/lib/distcc/bin and /usr/lib/ccache/bin to the pythonZac Medico2009-03-262-20/+27
| | | | | | | | side and don't add distcc to CC and CXX when /usr/lib/distcc/bin doesn't exist since that won't necessarily work. Thanks to Jeroen Roovers <jer@g.o> for reporting the issue with adding distcc to CC. svn path=/main/trunk/; revision=13198
* Make StaticFileSet.multiBuilder() filter hidden files and directories. ThanksZac Medico2009-03-261-0/+5
| | | | | | to oahong for reporting. svn path=/main/trunk/; revision=13193
* In config.regenerate(), always synchronize self.features with self['FEATURES'].Zac Medico2009-03-261-4/+6
| | | | svn path=/main/trunk/; revision=13189
* In config.setcpv(), clear out self.configdict["pkg"] to make sure that noZac Medico2009-03-261-0/+1
| | | | | | preexisting metadata leaks through here. svn path=/main/trunk/; revision=13188
* Bug #227265 - Make pkgsplit() allow multiple consecutive hyphens in packageZac Medico2009-03-262-9/+5
| | | | | | names, and add corresponding test cases. svn path=/main/trunk/; revision=13187
* Add test case for consecutive hyphens.Zac Medico2009-03-251-0/+3
| | | | svn path=/main/trunk/; revision=13186
* Bug #227265 - Make pkgsplit() allow "versiony looking parts" in package names,Zac Medico2009-03-252-6/+4
| | | | | | for pms compliance. Also, add corresponding test cases. svn path=/main/trunk/; revision=13185
* Source bashrc after PATH tweaks inside ebuild_main().Zac Medico2009-03-251-1/+2
| | | | svn path=/main/trunk/; revision=13184
* Move distcc and ccache PATH setup later, after EAPI is guaranteed to be known,Zac Medico2009-03-251-58/+35
| | | | | | | so that it's possible to do indepenent EAPI-specific PATH modifications prior to the distcc/ccache modifications. svn path=/main/trunk/; revision=13183
* Fix domo and doexe to return non-zero if there are any errors. Thanks toZac Medico2009-03-252-1/+14
| | | | | | zong_sharo for reporting. svn path=/main/trunk/; revision=13182
* Remove unused tar_opts variable inside unpack(). Thanks to zong_sharo forZac Medico2009-03-251-5/+4
| | | | | | reporting. svn path=/main/trunk/; revision=13181
* Note that --noreplace takes precedence over options such as --newuse.Zac Medico2009-03-241-0/+6
| | | | svn path=/main/trunk/; revision=13180
* Note that --noreplace takes precedence over options such as --newuse.Zac Medico2009-03-241-1/+4
| | | | svn path=/main/trunk/; revision=13179
* Update code for removing noauto from FEATURES since config.features is aZac Medico2009-03-241-3/+2
| | | | | | set instead of a list now. svn path=/main/trunk/; revision=13178
* Remove redundant EAPI assingment inside doebuild_environment().v2.2_rc27Zac Medico2009-03-241-1/+1
| | | | svn path=/main/trunk/; revision=13176
* Add support for FEATURES=parse-eapi-glep-55. This feature is only intended forZac Medico2009-03-246-22/+117
| | | | | | experimental purposes and should not be enabled under normal circumstances. svn path=/main/trunk/; revision=13175
* If a package is masked by EAPI then don't show any other masking reasons.Zac Medico2009-03-231-3/+9
| | | | svn path=/main/trunk/; revision=13174
* Add support for FEATURES=parse-eapi-ebuild-head, which is similar to GLEP 55Zac Medico2009-03-235-13/+87
| | | | | | | | except that the EAPI is parsed from the head of the ebuild (first 30 lines). This feature is only intended for experimental purposes and should not be enabled under normal circumstances. svn path=/main/trunk/; revision=13173
* When calling doebuild() to spawn the 'depend' phase, just call config.setcpv()Zac Medico2009-03-233-5/+5
| | | | | | since that should be enough (no need for separate reset or reload calls). svn path=/main/trunk/; revision=13170
* Fix misc typos in comments.Zac Medico2009-03-232-2/+2
| | | | svn path=/main/trunk/; revision=13168
* Only check for ebuild/eclass modification when a relevant phase is called.Zac Medico2009-03-231-7/+8
| | | | svn path=/main/trunk/; revision=13150
* Use a separate if/then to group boolean or'd expressions together, ratherZac Medico2009-03-231-6/+6
| | | | | | than a subshell. svn path=/main/trunk/; revision=13149
* Make ebuild(1) detect ebuild/eclass changes and automatically source theZac Medico2009-03-232-3/+16
| | | | | | | | ebuild atain in this case (even though $T/environment may already exist). This should help avoid confusion by ensuring that the latest changes to the ebuild/eclasses are reflected in the environment. svn path=/main/trunk/; revision=13148
* Add "prepare" to the list of phases that trigger a warning about staleZac Medico2009-03-221-1/+1
| | | | | | ${T}/environment. svn path=/main/trunk/; revision=13147
* When triggering a fresh unpack inside dyn_unpack(), remove theZac Medico2009-03-221-1/+1
| | | | | | .prepared, .configured and .installed files along with the others. svn path=/main/trunk/; revision=13146
* Replace xrange() usage with normal iteration and enumerate() whereZac Medico2009-03-221-14/+15
| | | | | | | appropriate. Thanks to Douglass Anderson <dja@gendja.com> for the initial patch. svn path=/main/trunk/; revision=13145
* Inside spawn(), avoid redundant os.access() and stat() calls on commonlyZac Medico2009-03-221-1/+2
| | | | | | | spawned binaries such as BASH_BINARY, SANDBOX_BINARY, and FAKEROOT_BINARY. Thanks to Piotr Jaroszyński <peper@g.o> for reporting. svn path=/main/trunk/; revision=13144
* Inside config.environ(), skip stat call on $T/environment for phases suchZac Medico2009-03-221-5/+6
| | | | | | | as 'clean' and 'depend' where environment filtering isn't needed. Thanks to Piotr Jaroszyński <peper@g.o> for reporting. svn path=/main/trunk/; revision=13143
* Remove pointless usage of xrange(). Thanks to Douglass AndersonZac Medico2009-03-221-2/+2
| | | | | | <dja@gendja.com> for this patch. svn path=/main/trunk/; revision=13142
* Add a temporary workaround for bug #263081 (partially reverts r12757).Zac Medico2009-03-221-0/+12
| | | | svn path=/main/trunk/; revision=13141
* Fix argument validation to allow file paths. Thanks to Arfrever for reporting.Zac Medico2009-03-221-0/+7
| | | | svn path=/main/trunk/; revision=13140
* Normalize try/except indentation for compatibility with 2to3.Zac Medico2009-03-204-23/+46
| | | | svn path=/main/trunk/; revision=13139
* Fix try/except indentation so that 2to3 will recognize it.Zac Medico2009-03-191-1/+2
| | | | svn path=/main/trunk/; revision=13138
* Fix try/except indentation so that 2to3 will recognize it.Zac Medico2009-03-191-1/+2
| | | | svn path=/main/trunk/; revision=13137
* Make sure mysettings.setcpv() always gets called when necessary insideZac Medico2009-03-181-7/+9
| | | | | | doebuild_environment(). svn path=/main/trunk/; revision=13136
* Add docstrings for the fd_pipes and returnpid parameters of doebuild().Zac Medico2009-03-181-0/+7
| | | | svn path=/main/trunk/; revision=13135
* Make config.features a set instead of a list.Zac Medico2009-03-182-8/+6
| | | | svn path=/main/trunk/; revision=13134