summaryrefslogtreecommitdiffstats
path: root/bin/ebuild
Commit message (Collapse)AuthorAgeFilesLines
* Use EROOT instead of ROOT for keys everywhere.Zac Medico2011-10-251-2/+2
| | | | | | | | | | It makes more sense to use EROOT instead of ROOT for keys in mappings like portage.db, since it allows for multiple prefixes to exist simultaneously within the same map without having a key collision. This affects all portageq commands which take a <root> parameter, since that parameter now corresponds to EROOT instead of ROOT. None of this makes any difference for non-prefix users, since EROOT and ROOT are identical when EPREFIX is empty.
* bin/ebuild: don't set PORTAGE_CALLERZac Medico2011-10-151-1/+0
| | | | This removes the last reference to PORTAGE_CALLER.
* cache: rewrite to support arbitrary validation methodBrian Harring2011-10-141-4/+2
| | | | | | | | | | Specifically, the cache can use any portage supported checksum method, or use the standard mtime approach. In addition, support controlling whether or not paths are stored, and generally try to restore some of the centralization/encapsulation that was in place originally. (cherry picked from commit bc1aed614fb588f0ade5bcb5d1265a8db0f8d247) Change-Id: Ic38057e7dbb15063c64a93c99e66e113a7d4c70e
* bin/ebuild: add --version optionZac Medico2011-10-111-3/+9
|
* bin/ebuild: simplify PORTDIR_OVERLAY queryv2.2.0_alpha59Zac Medico2011-09-181-5/+1
| | | | | There's no need to query os.environ here, because portage.settings will inherit the value automatically.
* Deprecate the manifest1_compat parameter.v2.2.0_alpha56Zac Medico2011-09-131-1/+1
|
* ebuild(1): remove unneeded porttrees modificationZac Medico2011-09-121-6/+4
| | | | | | | | This code should be unnecessary, as long as the repo is correctly identified for all calls to portdbapi methods like aux_get and findname. Notably, config.setcpv() must be called with a Package instance in order to ensure that it gets the metadata from the correct repository.
* ebuild(1): avoid "Location not set for repo" msgsZac Medico2011-09-121-2/+8
| | | | | | When overriding PORTDIR_OVERLAY, we can avoid "Location not set for repository" messages if we include the original PORTDIR_OVERLAY paths in the overridden setting.
* Bind all manifest access through repoconfigsBrian Harring2011-09-121-2/+3
| | | | | This enables controling the behaviour (creation and validation) per repo, and while mildly ugly, refactors in the right direction.
* ebuild(1): show merge/noauto msg only if neededZac Medico2011-08-201-4/+4
|
* ebuild(1): pass missing myrepo arg to aux_getZac Medico2011-06-291-1/+1
|
* ebuild(1): pass "installed" arg to PackageZac Medico2011-06-291-0/+1
|
* ebuild(1): pass Package instance to setcpvZac Medico2011-06-291-3/+19
| | | | This should improve repo-level support, for bug #370693.
* portdbapi: cleanup when base module is reloadedZac Medico2011-06-031-1/+0
| | | | | | | This prevents memory leaks via portdbapi.portdbapi_instances when the module is reloaded. Also, there's no need for ebuild(1) to call close_portdbapi_caches() since it's now handled automatically during the reload.
* ebuild(1): fix env FEATURES overrides bug #364035Zac Medico2011-04-231-4/+2
|
* ebuild(1): fix ebuild modification checkZac Medico2011-03-011-12/+13
| | | | | | This has been broken since the setcpv call (triggering metadata generation) was added before it in commit 0b39d24bb8270e5c89eaddfd1f5a4181cf9e31d3.
* ebuild(1): apply package.env earlierZac Medico2011-02-281-6/+22
| | | | This makes it possible to override PORTAGE_TMPDIR.
* When killed by signal, return 128 + signum.Zac Medico2011-01-151-4/+4
| | | | | This is the same convention that bash uses for returncodes of processes that are killed by signals.
* doebuild: fix bug #349273Zac Medico2010-12-211-1/+1
| | | | | | | | | Since commit 75d3130fc8293fff68389b8fed44b8d47a0abe80, doebuild() for the 'setup' phase triggers the actionmap_deps code path in order to call the 'pretend' phase as a dependency. This path previously assumed a portdbapi instance, which may not hold for some api consumers such as entropy. Therefore, fix the code path to work with other dbapi types.
* ebuild: account for symlink in /var/db/pkg pathZac Medico2010-10-271-1/+1
|
* ebuild(1): fix breakage for /var/db/pkg ebuildsZac Medico2010-10-261-3/+5
|
* Fix ebuild(1) to handle layout.conf masters.Zac Medico2010-10-051-5/+9
|
* Fix VDB_PATH handling in ebuild(1) to join with EROOT.Zac Medico2010-09-031-2/+2
|
* Add ebuild(1) support for FEATURES=digest.Zac Medico2010-08-251-1/+6
|
* Add a wrapper around config.features that provides the followingZac Medico2010-08-211-9/+3
| | | | | | | | | | | | | | | | enhancements: * The FEATURES variable is automatically synchronized upon modification. * Modifications result in a permanent override that will cause the change to propagate to the incremental stacking mechanism in config.regenerate(). This eliminates the need to call config.backup_changes() when FEATURES is modified, since any overrides are guaranteed to persist despite calls to config.reset(). This allows cleanup of all code that overrides FEATURES, and also allows config.regenerate() to stack FEATURES such that special cases are not needed for package.env handling inside config.setcpv().
* Temporarily disable portage.dep deprecation warnings for external apiZac Medico2010-08-171-0/+1
| | | | | consumers. Once the relevant api changes are in a portage release with stable keywords, make these warnings unconditional.
* For ebuilds from $ROOT/var/db/pkg, don't give /var/db/pkg with theZac Medico2010-08-161-1/+4
| | | | "Appending /var/db/pkg to PORTDIR_OVERLAY..." treatment.
* portage.dep._dep_check_strict: Unused, removedSebastian Luther2010-08-101-2/+0
|
* GLEP 55 removalDaniel Robbins2010-07-061-4/+1
|
* Bug #315741 and bug #315709 - Handle whitespace and unicode inZac Medico2010-04-271-5/+21
| | | | PORTDIR_OVERLAY paths.
* Pass in missing vartree parameter to doebuild(). Thanks to Arfrever forZac Medico2010-04-221-1/+2
| | | | reporting.
* Add back executable bits, accidentally removed in previous commit.Zac Medico2010-03-241-0/+0
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Update SIGPIPE comments to refer to "[Errno 32] Broken pipe" exceptions sinceZac Medico2010-03-131-1/+2
| | | | | | | this is signal hander now set automatically for subprocesses after the fork in portage.process.spawn(). svn path=/main/trunk/; revision=15826
* Add references to bug #309001 in comments about SIGPIPE handling.Zac Medico2010-03-131-0/+1
| | | | svn path=/main/trunk/; revision=15824
* Bug #309001 - Use signal(signal.SIGPIPE, signal.SIG_DFL) for quiet killing ofZac Medico2010-03-131-0/+1
| | | | | | | subprocesses by SIGPIPE (as emerge has for a long time). Thanks to Harald van Dijk truedfx@g.o for this patch. svn path=/main/trunk/; revision=15823
* Bug #300388 - Fix terminal handling code to so term codes aren't sent whenZac Medico2010-01-111-0/+1
| | | | | | TERM=dumb. svn path=/main/trunk/; revision=15191
* Add a --color < y | n > option so that color output can be forced. This isZac Medico2009-10-091-1/+9
| | | | | | going to be used by emerge to force color fetch output when appropriate. svn path=/main/trunk/; revision=14529
* Bug #287950 - Add support for FEATURES=fail-clean which is useful for cleaningZac Medico2009-10-071-0/+5
| | | | | | up temp files on tmpfs after build failures with --keep-going. svn path=/main/trunk/; revision=14517
* Use imp.reload() instead of reload() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-251-1/+2
| | | | svn path=/main/trunk/; revision=14426
* Support print() function with Python 2 in some files.Arfrever Frehtes Taifersar Arahesis2009-09-201-0/+2
| | | | svn path=/main/trunk/; revision=14291
* Update syntax of calls to print() for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-9/+9
| | | | | | (2to3-3.1 -f print -nw ${FILES}) svn path=/main/trunk/; revision=14290
* Update syntax of 'except' statements for compatibility with Python 3.Arfrever Frehtes Taifersar Arahesis2009-09-201-3/+3
| | | | | | (2to3-3.1 -f except -nw ${FILES}) svn path=/main/trunk/; revision=14289
* Fix usage of VDB_PATHFabian Groffen2009-09-051-1/+1
| | | | svn path=/main/trunk/; revision=14187
* Update imports to import portage.os (with unicode wrappers), and useZac Medico2009-08-111-0/+2
| | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13993
* Add support for FEATURES=parse-eapi-glep-55. This feature is only intended forZac Medico2009-03-241-5/+9
| | | | | | experimental purposes and should not be enabled under normal circumstances. svn path=/main/trunk/; revision=13175
* Only check for ebuild/eclass modification when a relevant phase is called.Zac Medico2009-03-231-7/+8
| | | | svn path=/main/trunk/; revision=13150
* Make ebuild(1) detect ebuild/eclass changes and automatically source theZac Medico2009-03-231-1/+12
| | | | | | | | 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
* Make config.features a set instead of a list.Zac Medico2009-03-181-3/+2
| | | | svn path=/main/trunk/; revision=13134