summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Add support for FEATURES=parse-eapi-glep-55. This feature is only intended forZac Medico2009-03-244-17/+103
| | | | | | 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-234-13/+82
| | | | | | | | 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
* 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-181-5/+4
| | | | svn path=/main/trunk/; revision=13134
* Validate argument atoms earlier for build actions.v2.2_rc26Zac Medico2009-03-171-0/+12
| | | | svn path=/main/trunk/; revision=13126
* Bug #262365 - Punt the prepalldocs check until there is an alternativeZac Medico2009-03-172-11/+1
| | | | | | available in EAPI 3. svn path=/main/trunk/; revision=13118
* 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. svn path=/main/trunk/; revision=13115
* Bug #261670 - Automatically revert the CHOST metadata to the initial valuev2.2_rc25Zac Medico2009-03-122-0/+13
| | | | | | after src_install, in case the ebuild has changed it. svn path=/main/trunk/; revision=13088
* Update docstring for EbuildBuildDir.clean_log().Zac Medico2009-03-121-2/+1
| | | | svn path=/main/trunk/; revision=13072
* 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. svn path=/main/trunk/; revision=13071
* Bug #261992 - Inside Binpkg._prefetch_exit(), avoid potention issues withZac Medico2009-03-121-6/+8
| | | | | | shutil.rmtree() by just doing a minimal cleanup. svn path=/main/trunk/; revision=13070
* Make dyn_clean ignore FEATURES=keepwork when [[ $EMERGE_FROM = binary ]]Zac Medico2009-03-121-7/+0
| | | | | | | and remove shutil.rmtree() call from Binpkg._clean_exit() since dyn_clean is guaranteed to do a full clean now. svn path=/main/trunk/; revision=13069
* 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. svn path=/main/trunk/; revision=13068
* Move ebuild helpers into an ebuild-helpers subdirectory.Zac Medico2009-03-121-1/+2
| | | | svn path=/main/trunk/; revision=13063
* Use absolute imports instead of relative.Zac Medico2009-03-122-2/+2
| | | | svn path=/main/trunk/; revision=13062
* Bug #262211 - Avoid triggering an InvalidAtom exception inside the PackageZac Medico2009-03-111-1/+6
| | | | | | constructor when SLOT is empty. svn path=/main/trunk/; revision=13061
* Bug #262211 - Make vardbapi.aux_get() translate empty SLOT to 0 since otherZac Medico2009-03-111-0/+4
| | | | | | code expects non-empty SLOT (for generation package slot atoms). svn path=/main/trunk/; revision=13060
* Bug #262012 - Only trigger the slot conflict message about --newuse whenZac Medico2009-03-111-1/+5
| | | | | | | the installed version is the same as the new one. If they are different versions then there's some other problem. svn path=/main/trunk/; revision=13059
* Don't default env=os.environ directly in the config constructor becausev2.2_rc24Zac Medico2009-03-101-1/+3
| | | | | | that makes it show environment variables in api docs generated by epydoc. svn path=/main/trunk/; revision=12824
* Use slices instead of startswith inside manifest2AuxfileFilter().Zac Medico2009-03-101-2/+2
| | | | svn path=/main/trunk/; revision=12823
* Handle ValueError and UnpicklingError inside PreservedLibsRegistry.load().Zac Medico2009-03-101-2/+8
| | | | svn path=/main/trunk/; revision=12822
* Use protocol=2 for pickle.dump() calls, so that pickles written by py3k willZac Medico2009-03-104-7/+7
| | | | | | be backward compatible. svn path=/main/trunk/; revision=12821
* Make _src_uri_validate() identify the || operator as invalid and add aZac Medico2009-03-102-0/+6
| | | | | | corresponding test case. svn path=/main/trunk/; revision=12820
* Remove redundant conditional inside _src_uri_validate().Zac Medico2009-03-101-9/+13
| | | | svn path=/main/trunk/; revision=12819
* Fix incorrect slice inside _src_uri_validate() and add new test case.Zac Medico2009-03-102-2/+3
| | | | svn path=/main/trunk/; revision=12818
* Simplify cmp_sort_key._cmp_key.__lt__().Zac Medico2009-03-101-4/+2
| | | | svn path=/main/trunk/; revision=12817
* Initialize UserDict.data in the constructor.Zac Medico2009-03-101-0/+2
| | | | svn path=/main/trunk/; revision=12816
* Optimize dbapi._cpv_sort_ascending() by calling vercmp directly instead ofZac Medico2009-03-101-9/+7
| | | | | | calling pkgcmp. svn path=/main/trunk/; revision=12815
* When the config_incrementals parameter is unspecified in the configZac Medico2009-03-101-5/+4
| | | | | | | constructor, don't warn because it's ridiculous to require this parameter when it's always the same anyway. svn path=/main/trunk/; revision=12813
* Simplify environment cleansing that's done for the ROOT=/ config instanceZac Medico2009-03-101-21/+9
| | | | | | | when ROOT!=/. A new "env" config constructor parameter is used to allow the caller to avoid having the config instance polluted by os.environ. svn path=/main/trunk/; revision=12812
* Inside create_trees(), when cleansing the environment for the ROOT=/ configZac Medico2009-03-101-1/+1
| | | | | | | | instance, call config.reset() so that configdict['env'] is cleared as was originally intended here. This prevents thinks like CHOST overrides from the calling environment from inappropriately being applied to ROOT=/. svn path=/main/trunk/; revision=12811
* Bug #261670 - Generate a QA Notice if CHOST (from dyn_install) has a valueZac Medico2009-03-091-17/+24
| | | | | | which differs from the initial setting. svn path=/main/trunk/; revision=12810
* Fix _setitem() to account for the change to serialize_eclasses = False.Zac Medico2009-03-091-2/+1
| | | | svn path=/main/trunk/; revision=12803
* Reorganize code for --digests and FEATURES=digest.Zac Medico2009-03-091-21/+49
| | | | svn path=/main/trunk/; revision=12801
* Never call digestgen() inside doebuild() which only 'fetch' has beenZac Medico2009-03-091-1/+4
| | | | | | requested since it's not needed in this case. svn path=/main/trunk/; revision=12800
* Bug #261675 - Generate manifests in advance when FEATURES=digest is enabled.Zac Medico2009-03-091-1/+8
| | | | svn path=/main/trunk/; revision=12799
* Bug #261675 - Also don't call digestgen() from parallel-fetch processes.Zac Medico2009-03-091-1/+2
| | | | svn path=/main/trunk/; revision=12798