summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* Add EAPI 3_pre2 to conditinals so the EAPI 4 stuff is disabled.Zac Medico2009-12-114-13/+13
| | | | svn path=/main/trunk/; revision=15035
* Enable xz unpack for EAPI 3_pre2.Zac Medico2009-12-111-1/+1
| | | | svn path=/main/trunk/; revision=15034
* Don't filter/interfere with prefix variables unless they are supported by theZac Medico2009-12-111-1/+12
| | | | | | current EAPI. svn path=/main/trunk/; revision=15031
* Filter prefix variables ED, EPREFIX, and EROOT insideZac Medico2009-12-111-2/+2
| | | | | | | | | | | | | | | | filter_readonly_variables() but don't mark them readonly for now since some ebuilds/eclasses try to assign EROOT (such as kde4-base_pkg_setup) which causes the whole bash shell to exit like this: >>> Extracting info * CPV: kde-base/oxygen-icons-4.3.4 * REPO: gentoo * USE: elibc_glibc kernel_linux test userland_GNU x86 /var/tmp/portage/kde-base/oxygen-icons-4.3.4/temp/environment: line 2781: EROOT: readonly variable Also, add ED to the environment blacklist. svn path=/main/trunk/; revision=15030
* Implement forward compatible Prefix support. This makes EPREFIX, ED andFabian Groffen2009-12-101-2/+2
| | | | | | | | | | | EROOT available to the ebuild environment, and updates the manpage accordingly. EPREFIX is hardwired to the empty string, and not configurable. For that, the prefix branch should be used for now. This should satisfy the requirements for EAPI=3. svn path=/main/trunk/; revision=15024
* Remove obsolete env-update.sh script.Zac Medico2009-12-091-219/+0
| | | | svn path=/main/trunk/; revision=14992
* Add localization variables (LANG and LC_*) to the environment whitelist andZac Medico2009-12-091-0/+5
| | | | | | | filter them from the saved environment (so user settings override those of binary packages). Thanks to Fabio Erculiani <lxnay@g.o> for reporting. svn path=/main/trunk/; revision=14975
* Fix handling for TEMP, TMP, and TMPDIR variables:Zac Medico2009-12-092-1/+7
| | | | | | | | * Add to whitelist so current values are always used. * Always filter them from the saved environment. * Always add thier values to SANDBOX_WRITE. svn path=/main/trunk/; revision=14973
* Move ebuild helpers to account for rename of EAPI 3 to 4.Zac Medico2009-12-083-0/+0
| | | | svn path=/main/trunk/; revision=14966
* Bump EAPI conditionals to account for rename of EAPI 3 to 4. Thanks toZac Medico2009-12-084-19/+19
| | | | | | Jonathan Callen <abcd@g.o> for this patch. svn path=/main/trunk/; revision=14965
* Bug #295715 - Implement a register_success_hook function to complementZac Medico2009-12-063-1/+27
| | | | | | | register_die_hook, and also add code to ensure the die hooks are called even when the failure is on the python side (like for file collisions). svn path=/main/trunk/; revision=14936
* Add 'tla' to the lists of live eclasses.Zac Medico2009-12-061-1/+2
| | | | svn path=/main/trunk/; revision=14935
* Make register_die_hook() ensure that each hook is registered only once.Zac Medico2009-12-061-1/+5
| | | | svn path=/main/trunk/; revision=14932
* Bug #294886 - Show some basic info at the beginning of the build log,Zac Medico2009-11-271-0/+5
| | | | | | including USE flags. svn path=/main/trunk/; revision=14907
* Use einfo instead of ewarn for the "Skipping make test/check due to ebuildZac Medico2009-11-251-1/+1
| | | | | | restriction." message. svn path=/main/trunk/; revision=14885
* Remove SLOT.missing since SLOT.invalid handles that case now.v2.2_rc50Zac Medico2009-11-161-3/+2
| | | | svn path=/main/trunk/; revision=14824
* Bug #292820 - Make the Package constructor handle invalid SLOT values.Zac Medico2009-11-121-0/+1
| | | | svn path=/main/trunk/; revision=14819
* Restore support for bash-3.Arfrever Frehtes Taifersar Arahesis2009-11-081-0/+3
| | | | svn path=/main/trunk/; revision=14804
* Collapse two [[ ]] into one.Zac Medico2009-11-061-1/+1
| | | | svn path=/main/trunk/; revision=14782
* For --debug mode, enable bash tracing when sourcing the ebuild.Zac Medico2009-11-061-1/+8
| | | | svn path=/main/trunk/; revision=14781
* For compatibility, still exit successfully if there are skipped directories.Zac Medico2009-10-311-1/+1
| | | | | | We can make it more strict later. svn path=/main/trunk/; revision=14762
* Bug #290921 - Always exit unsuccessfully if -r is not specified and aZac Medico2009-10-311-5/+6
| | | | | | directory is skipped. This reverts a behavior change from r9484. svn path=/main/trunk/; revision=14760
* Revert the workaround for bug #288863. This will require a dependency onZac Medico2009-10-261-6/+0
| | | | | | >=sys-apps/sandbox-2.2. svn path=/main/trunk/; revision=14733
* Add a parsedate() function which emulates rfc822.parsedate(), since python3Zac Medico2009-10-251-12/+28
| | | | | | doesn't have it. svn path=/main/trunk/; revision=14729
* Use calendar.timegm instead of time.mktime, for correct timezone handling.Zac Medico2009-10-251-1/+2
| | | | svn path=/main/trunk/; revision=14728
* Don't set mtime on downloaded metadata.dtd when using python3, since theZac Medico2009-10-251-5/+23
| | | | | | | rfc822.parsedate() function is not available. Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=14725
* Use urllib.urlopen() instead of portage.fetch() for fetching metadata.dtd.Zac Medico2009-10-241-42/+68
| | | | svn path=/main/trunk/; revision=14709
* Use find with -print0 for absolute safety.Zac Medico2009-10-231-2/+2
| | | | svn path=/main/trunk/; revision=14707
* Bug #289967 - Update installsources rsync code for >=debugedit-4.4.6-r2.Zac Medico2009-10-231-9/+23
| | | | | | Thanks to Peter Alfredsen <loki_val@g.o> for this patch. svn path=/main/trunk/; revision=14706
* drop IMAGE -- people have had years to catch upMike Frysinger2009-10-192-5/+1
| | | | svn path=/main/trunk/; revision=14694
* Bug #259697 - Update IUSE.invalid docs for glep 56. Thanks to Alec WarnerZac Medico2009-10-191-1/+1
| | | | | | <antarus@g.o> for this patch. svn path=/main/trunk/; revision=14681
* Move filtering of misc bash variables from save_ebuild_env() toZac Medico2009-10-182-6/+7
| | | | | | | filter_readonly_variables(). Add additional variables found in the output of `env -i bash -c 'declare -p'`. svn path=/main/trunk/; revision=14676
* Fix messages broken in r14616. Thanks to Arfrever for reporting and thanks toZac Medico2009-10-181-4/+3
| | | | | | Jonathan Callen <abcd@g.o> for this patch. svn path=/main/trunk/; revision=14675
* Fix breakage in DEFINED_PHASES code.Zac Medico2009-10-181-2/+2
| | | | svn path=/main/trunk/; revision=14664
* Remove reference to non-existent _source_ebuild function.Zac Medico2009-10-181-1/+0
| | | | svn path=/main/trunk/; revision=14663
* Preserve variables which have been set in global scope using 'declare'.Arfrever Frehtes Taifersar Arahesis2009-10-182-67/+64
| | | | svn path=/main/trunk/; revision=14662
* Bug #227225 - Add *DEPEND.badtilde warning for ~ operator used with non-zeroZac Medico2009-10-181-0/+12
| | | | | | revision. Thanks to David Leverton <levertond@googlemail.com> for this patch. svn path=/main/trunk/; revision=14629
* Bug #273636 - Add doins and newins support for symlink preservation inZac Medico2009-10-172-7/+30
| | | | | | | EAPI 3. Thanks to Jonathan Callen <abcd@g.o> for the initial patch (I added EAPI conditionals in order to share code between all EAPIs). svn path=/main/trunk/; revision=14625
* Use short substitution syntax in use_with() and use_enable(). Thanks toZac Medico2009-10-171-18/+4
| | | | | | Jonathan Callen <abcd@g.o> for this patch. svn path=/main/trunk/; revision=14623
* Fix einstall() change from previous commit, for compatibility with emptyZac Medico2009-10-171-1/+1
| | | | | | but set CONF_PREFIX. Thanks to Jonathan Callen <abcd@g.o> for reporting. svn path=/main/trunk/; revision=14622
* Use [ "${foo+set}" = set ] instead of "${foo-unset}" != unset ], to avoidZac Medico2009-10-171-18/+18
| | | | | | | any possility of ambiguity. Thanks to Jonathan Callen <abcd@g.o> for the suggestion. svn path=/main/trunk/; revision=14621
* Fix WorldHandler to use the "selected" set.Zac Medico2009-10-171-2/+2
| | | | svn path=/main/trunk/; revision=14620
* In dyn_unpack, check mtimes on $A instead of $AA. Thanks to Jonathan CallenZac Medico2009-10-171-1/+1
| | | | | | <abcd@g.o> for reporting. svn path=/main/trunk/; revision=14619
* Make phase variable local in has_phase_defined_up_to().Zac Medico2009-10-171-0/+1
| | | | svn path=/main/trunk/; revision=14618
* Simplify the conditionals from bug #273648. Thanks to Jonathan CallenZac Medico2009-10-172-18/+14
| | | | | | <abcd@g.o> for this patch. svn path=/main/trunk/; revision=14617
* Bug #273648 - EAPI 3 - the following condtions must be met:Zac Medico2009-10-171-13/+49
| | | | | | | | | | | | 1. The A variable contains no items. 2. The phase function in question is not in DEFINED_PHASES. 3. None of the phase functions unpack, prepare, configure, compile or install, if supported by the EAPI in question and occurring prior to the phase about to be executed, are in DEFINED_PHASES. Thanks to Jonathan Callen <abcd@g.o> for this patch. svn path=/main/trunk/; revision=14616
* Ensure that /dev/std* streams have appropriate sandbox permission forZac Medico2009-10-161-0/+6
| | | | | | | bug #288863. This can be removed after sandbox is fixed and portage depends on the fixed version. svn path=/main/trunk/; revision=14612
* Use a shell script wrapper for EPYTHON handling.Zac Medico2009-10-111-1/+11
| | | | svn path=/main/trunk/; revision=14585
* Use a shell script for dohtml instead of a function, for xargs compatibility.Zac Medico2009-10-112-7/+11
| | | | svn path=/main/trunk/; revision=14582
* Rename dohtml to dohtml.py. Next commit will add a shell script wrapper forZac Medico2009-10-111-0/+0
| | | | | | EPYTHON handling. svn path=/main/trunk/; revision=14581