summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Replace xrange() usage with normal iteration and enumerate() whereZac Medico2009-03-231-14/+15
| | | | | | | appropriate. Thanks to Douglass Anderson <dja@gendja.com> for the initial patch. (trunk r13145) svn path=/main/branches/2.1.6/; revision=13162
* Inside spawn(), avoid redundant os.access() and stat() calls on commonlyZac Medico2009-03-231-1/+2
| | | | | | | spawned binaries such as BASH_BINARY, SANDBOX_BINARY, and FAKEROOT_BINARY. Thanks to Piotr Jaroszyński <peper@g.o> for reporting. (trunk r13144) svn path=/main/branches/2.1.6/; revision=13161
* Inside config.environ(), skip stat call on $T/environment for phases suchZac Medico2009-03-231-5/+6
| | | | | | | as 'clean' and 'depend' where environment filtering isn't needed. Thanks to Piotr Jaroszyński <peper@g.o> for reporting. (trunk r13143) svn path=/main/branches/2.1.6/; revision=13160
* Remove pointless usage of xrange(). Thanks to Douglass AndersonZac Medico2009-03-231-2/+2
| | | | | | <dja@gendja.com> for this patch. (trunk r13142) svn path=/main/branches/2.1.6/; revision=13159
* Add a temporary workaround for bug #263081 (partially reverts r12757).Zac Medico2009-03-231-0/+12
| | | | | | (trunk r13141) svn path=/main/branches/2.1.6/; revision=13158
* Fix argument validation to allow file paths. Thanks to Arfrever for reporting.Zac Medico2009-03-231-0/+7
| | | | | | (trunk r13140) svn path=/main/branches/2.1.6/; revision=13157
* Normalize try/except indentation for compatibility with 2to3. (trunkZac Medico2009-03-235-25/+50
| | | | | | r13136:13139) svn path=/main/branches/2.1.6/; revision=13156
* Make sure mysettings.setcpv() always gets called when necessary insideZac Medico2009-03-231-7/+9
| | | | | | doebuild_environment(). (trunk r13136) svn path=/main/branches/2.1.6/; revision=13155
* Add docstrings for the fd_pipes and returnpid parameters of doebuild().Zac Medico2009-03-231-0/+7
| | | | | | (trunk r13135) svn path=/main/branches/2.1.6/; revision=13154
* Make config.features a set instead of a list. (trunk r13134)Zac Medico2009-03-232-8/+6
| | | | svn path=/main/branches/2.1.6/; revision=13153
* Update copyright headers. (trunk r13131)Zac Medico2009-03-232-3/+3
| | | | svn path=/main/branches/2.1.6/; revision=13152
* In order to avoid possible duplicate elog messages when using ebuild(1) toZac Medico2009-03-231-0/+7
| | | | | | | | call the same phase multiple times, wipe out elog log files for the current phase just before executing the phase. Thanks to Mike Frysinger <vapier@g.o> for reporting. (trunk r13130) svn path=/main/branches/2.1.6/; revision=13151
* Validate argument atoms earlier for build actions. (trunk r13126)v2.1.6.9Zac Medico2009-03-171-0/+12
| | | | svn path=/main/branches/2.1.6/; revision=13127
* Bug #262365 - Punt the prepalldocs check until there is an alternativeZac Medico2009-03-174-16/+1
| | | | | | available in EAPI 3. (trunk r13117:13119) svn path=/main/branches/2.1.6/; revision=13125
* Punt fix-db.py since it's not really needed. It's been broken since 2.1.6Zac Medico2009-03-171-181/+0
| | | | | | and nobody noticed until bug #262132 was filed. (trunk r13117) svn path=/main/branches/2.1.6/; revision=13124
* Bug #262485 - Handle InvalidAtom from dep_expand(). (trunk r13116)Zac Medico2009-03-171-6/+7
| | | | svn path=/main/branches/2.1.6/; revision=13123
* Do not create hardlinks when merging CONFIG_PROTECTed files since configZac Medico2009-03-171-7/+15
| | | | | | | | files shouldn't be hardlinked to eachother (for example, shadow installs several identical config files inside /etc/pam.d/). Thanks to Caleb Cushing <xenoterracide@gmail.com> for reporting. (trunk r13115) svn path=/main/branches/2.1.6/; revision=13122
* add m68k diff from kolla (trunk r13114)Zac Medico2009-03-171-0/+34
| | | | svn path=/main/branches/2.1.6/; revision=13121
* Add make.conf for amd64-fbsd submitted by Timothy Redaelli <drizzt@g.o>.Zac Medico2009-03-171-0/+61
| | | | | | (trunk r13113) svn path=/main/branches/2.1.6/; revision=13120
* Bug #262365 - Make the "portage.internal" category (prepalldocs check) av2.1.6.8Zac Medico2009-03-131-0/+1
| | | | | | warning instead of fatal. (trunk r13109) svn path=/main/branches/2.1.6/; revision=13110
* Add missing brackets to [:upper:] and [:lower:] in _sb_append_var() trZac Medico2009-03-131-1/+2
| | | | | | arguments. (trunk r13104) svn path=/main/branches/2.1.6/; revision=13107
* Filter _sb_append_var in save_ebuild_env(). (trunk r13091)Zac Medico2009-03-131-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=13106
* cleanup sandbox env var handling -- make sure we dont insert empty : ↵Zac Medico2009-03-131-29/+27
| | | | | | | | sections and avoid unnecessary eval usage (trunk r13090) svn path=/main/branches/2.1.6/; revision=13105
* Bug #261670 - Automatically revert the CHOST metadata to the initial valueZac Medico2009-03-122-0/+13
| | | | | | after src_install, in case the ebuild has changed it. (trunk r13088) svn path=/main/branches/2.1.6/; revision=13092
* Disable EAPI 3_pre1.Zac Medico2009-03-121-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=13087
* Update docstring for EbuildBuildDir.clean_log(). (trunk r13072)Zac Medico2009-03-121-2/+1
| | | | svn path=/main/branches/2.1.6/; revision=13086
* Bug #261992 - Replace the EbuildBuildDir.clean() method with a clean_log()Zac Medico2009-03-121-15/+9
| | | | | | | | | method since log cleanup is all that's currently needed and shutil.rmtree() can fail with "OSError: [Errno 36] File name too long" due to strange file names, or on FreeBSD it can fail with EPERM due to file flags in $D. (trunk r13071) svn path=/main/branches/2.1.6/; revision=13085
* Bug #261992 - Inside Binpkg._prefetch_exit(), avoid potention issues withZac Medico2009-03-121-6/+8
| | | | | | shutil.rmtree() by just doing a minimal cleanup. (trunk r13070) svn path=/main/branches/2.1.6/; revision=13084
* Make dyn_clean ignore FEATURES=keepwork when [[ $EMERGE_FROM = binary ]]Zac Medico2009-03-122-9/+3
| | | | | | | and remove shutil.rmtree() call from Binpkg._clean_exit() since dyn_clean is guaranteed to do a full clean now. (trunk r13069) svn path=/main/branches/2.1.6/; revision=13083
* When translating portage uid/gid to root uid/gid after src_install onZac Medico2009-03-121-0/+17
| | | | | | | | FreeBSD, temporarily remove all file flags inside $D in order to avoid EPERM errors. Thanks to Timothy Redaelli <drizzt@g.o> for reporting. (trunk r13068) svn path=/main/branches/2.1.6/; revision=13082
* Use posix compatible find -perm arguments. Thanks to Timothy RedaelliZac Medico2009-03-121-2/+2
| | | | | | <drizzt@g.o> for reporting. (trunk r13067) svn path=/main/branches/2.1.6/; revision=13081
* Also add an einfo binary. (trunk r13066)Zac Medico2009-03-121-0/+1
| | | | svn path=/main/branches/2.1.6/; revision=13080
* Bug #262096 - Add separate eerror, elog, eqawarn, and ewarn binaries forZac Medico2009-03-124-0/+11
| | | | | | | use by non-bash programs running inside the ebuild environment, such as sandbox. (trunk r13065) svn path=/main/branches/2.1.6/; revision=13079
* Use ${x##*/} instead of calling basename. (trunk r13064)Zac Medico2009-03-121-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=13078
* Move ebuild helpers into an ebuild-helpers subdirectory. (trunk r13063)Zac Medico2009-03-1249-3/+6
| | | | svn path=/main/branches/2.1.6/; revision=13077
* Use absolute imports instead of relative. (trunk r13062)Zac Medico2009-03-122-2/+2
| | | | svn path=/main/branches/2.1.6/; revision=13076
* Bug #262211 - Avoid triggering an InvalidAtom exception inside the PackageZac Medico2009-03-121-1/+6
| | | | | | constructor when SLOT is empty. (trunk r13061) svn path=/main/branches/2.1.6/; revision=13075
* Bug #262211 - Make vardbapi.aux_get() translate empty SLOT to 0 since otherZac Medico2009-03-121-0/+4
| | | | | | code expects non-empty SLOT (for generation package slot atoms). (trunk r13060) svn path=/main/branches/2.1.6/; revision=13074
* Bug #262012 - Only trigger the slot conflict message about --newuse whenZac Medico2009-03-121-1/+5
| | | | | | | the installed version is the same as the new one. If they are different versions then there's some other problem. (trunk r13059) svn path=/main/branches/2.1.6/; revision=13073
* Update header: 2.2 -> 2.1.6Zac Medico2009-03-111-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=13058
* Add new xpak.5 man page by Lars Hartmann <lars<at>chaotika<dot>org>.Zac Medico2009-03-111-0/+190
| | | | | | (trunk r13056) svn path=/main/branches/2.1.6/; revision=13057
* Don't default env=os.environ directly in the config constructor becauseZac Medico2009-03-111-1/+3
| | | | | | | that makes it show environment variables in api docs generated by epydoc. (trunk r12824) svn path=/main/branches/2.1.6/; revision=13055
* Use slices instead of startswith inside manifest2AuxfileFilter(). (trunk r12823)Zac Medico2009-03-111-2/+2
| | | | svn path=/main/branches/2.1.6/; revision=13054
* Use protocol=2 for pickle.dump() calls, so that pickles written by py3k willZac Medico2009-03-114-6/+6
| | | | | | be backward compatible. (trunk r12821) svn path=/main/branches/2.1.6/; revision=13053
* Make _src_uri_validate() identify the || operator as invalid and add aZac Medico2009-03-112-0/+6
| | | | | | corresponding test case. (trunk r12820) svn path=/main/branches/2.1.6/; revision=13052
* Remove redundant conditional inside _src_uri_validate(). (trunk r12819)Zac Medico2009-03-111-9/+13
| | | | svn path=/main/branches/2.1.6/; revision=13051
* Fix incorrect slice inside _src_uri_validate() and add new test case.Zac Medico2009-03-112-2/+3
| | | | | | (trunk r12818) svn path=/main/branches/2.1.6/; revision=13050
* Simplify cmp_sort_key._cmp_key.__lt__(). (trunk r12817)Zac Medico2009-03-111-4/+2
| | | | svn path=/main/branches/2.1.6/; revision=13049
* Initialize UserDict.data in the constructor. (trunk r12816)Zac Medico2009-03-111-0/+2
| | | | svn path=/main/branches/2.1.6/; revision=13048
* Optimize dbapi._cpv_sort_ascending() by calling vercmp directly instead ofZac Medico2009-03-111-9/+7
| | | | | | calling pkgcmp. (trunk r12815) svn path=/main/branches/2.1.6/; revision=13047