summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove the bsd-chflags module since it hasn't been used for some timeZac Medico2010-08-224-198/+0
| | | | | (python as read support and we spawn binaries for any necessary modifications).
* Remove unused tbz2tool.c file. The latest stable ebuild doesn'tZac Medico2010-08-221-227/+0
| | | | build/install it.
* Add notes about package.env and package.accept_keywords.Zac Medico2010-08-221-0/+5
|
* Remove deprecated destroot argument from dblink.isowner() call.Zac Medico2010-08-221-1/+1
|
* Remove python-oriented checks from install_qa_check() since I'm unsureZac Medico2010-08-221-29/+0
| | | | | about these policy decisions being included in portage. Besides, these kinds of things could go in the python eclass.
* During the post src_install QA checks, log to a temporary fileZac Medico2010-08-222-4/+50
| | | | | | since the code we are running reads PORTAGE_LOG_FILE, and we want to avoid annoying "gzip: unexpected end of file" messages when FEATURES=compress-build-logs is enabled.
* Make Binpkg call prepare_build_dirs() before trying to clean the oldZac Medico2010-08-221-2/+2
| | | | log, so PORTAGE_LOG_FILE is initialized.
* Add missing scheduler attribute to BinpkgVerifier (broken since theZac Medico2010-08-223-3/+4
| | | | the addition of FEATURES=compress-build-logs support).
* Make EOutput.write() use writemsg() for special unicode handling.Zac Medico2010-08-221-6/+1
|
* _use_dep.{evaluate_conditionals,_eval_qa_conditionals,violated_conditionals} ↵Sebastian Luther2010-08-222-155/+223
| | | | : Be faster and preserve token order
* Fix broken logic in InheritDeprecated.Zac Medico2010-08-221-6/+6
|
* Make InheritDeprecated detect indirect inherits of deprecated eclasses,Zac Medico2010-08-221-5/+20
| | | | and indicate the indirect nature in the error message.
* Make InheritDeprecated check for direct inherits, and give line numbersZac Medico2010-08-221-11/+31
| | | | in error messages.
* repoman: check for deprecated eclasseswired2010-08-223-1/+35
| | | | | | compare the inherited eclasses to a list of deprecated eclasses. print QA warnings for each deprecated eclass found and suggest an alternative for those that have one.
* Add back _conditionals_class.values() method in order to fix breakageZac Medico2010-08-221-0/+5
| | | | in circular_dependency_handler._find_suggestions().
* portage.dep._use_dep: Rewrite the parser for better readability and speedSebastian Luther2010-08-222-67/+40
| | | | | Using a regex leads to better readability, but no speed change. Replacing slot_dict_class with a simple dict results in ~1/3 run time decrease in my tests.
* Fix erroneoud reference to self.aux_get in bintree.move_ent().Zac Medico2010-08-221-1/+2
|
* Fix AttributeError for MetadataRegen._sched_iface.Zac Medico2010-08-221-1/+1
|
* * By default, disable the calc_prelink parameter to perform_md5() forZac Medico2010-08-213-7/+17
| | | | | merge and unmerge. * Add FEATURES=prelink-checksums in order to trigger the old behavior.
* Fix UnboundLocalError for catdir inside dblink.unmerge().Zac Medico2010-08-211-1/+2
|
* Bug #292083 - Support package.accept_keywords in profiles.Zac Medico2010-08-212-2/+41
|
* Add EPREFIX support to load_default_config().Zac Medico2010-08-211-1/+5
|
* Fix broken writemsg call in depgraph._resolve() that triggers this error:Zac Medico2010-08-211-1/+1
| | | | TypeError: writemsg() got an unexpected keyword argument 'file'
* Omit non-existent files from the config._pkeywords_listZac Medico2010-08-211-0/+7
| | | | | | | stack (stores data for profile package.keywords). This isn't feasible for package.use (among other package.* files such as package.use.mask) since it is stacked in layers with make.defaults USE, and the layer indices need to align.
* Move default ACCEPT_KEYWORDS handling for package.keywords out ofZac Medico2010-08-211-10/+5
| | | | an unnecessary loop.
* Revert back to using ROOT for env_update(), since that's how theZac Medico2010-08-212-4/+5
| | | | prefix branch does it.
* Fix env_update() calls to use EROOT.Zac Medico2010-08-212-3/+6
|
* Bug #324191 - Add support for FEATURES=compress-build-logs. The causesZac Medico2010-08-2117-171/+132
| | | | | | | all build logs to be compressed while they are being written. Log file names have an extension that is appropriate for the compression type. Currently, only gzip(1) compression is supported, so build logs will have a '.gz' extension when this feature is enabled.
* When accessing pkgsettings.features inside Scheduler._generate_digests(),Zac Medico2010-08-211-0/+8
| | | | | ensure that we are using global features settings rather than those from package.env.
* Add a deprecation warning to FetchlistDict.has_key().Zac Medico2010-08-211-0/+3
|
* Add a deprecation warning for the unused justmanifest parameter ofZac Medico2010-08-211-1/+11
| | | | digestcheck().
* Quote arrays in QA_PREBUILT handling.Zac Medico2010-08-211-1/+1
|
* Add support for a QA_PREBUILT variable should contain a list ofZac Medico2010-08-212-0/+30
| | | | | | pre-built binaries. Paths listed here will be appended to each of the other QA_* variables. Thanks to Diego Pettenò <flameeyes@g.o> for the suggestion.
* Add upstream.workaround warning for addpredict calls. Thanks toZac Medico2010-08-212-2/+9
| | | | Diego Pettenò <flameeyes@g.o> for the suggestion.
* Fix broken reference to portage._validate_cache_for_unsupported_eapis.Zac Medico2010-08-211-1/+1
|
* Add a wrapper around config.features that provides the followingZac Medico2010-08-216-70/+125
| | | | | | | | | | | | | | | | 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().
* When stacking incrementals in config.regenerate(), use a set to avoidZac Medico2010-08-211-10/+6
| | | | relatively inefficient __contains__ and remove operations on a list.
* Fix config.setcpv() so it only calls _grab_pkg_env when there areZac Medico2010-08-201-1/+1
| | | | relevant package.env settings.
* Remove duplicate realpath call for PORTAGE_TMPDIR.Zac Medico2010-08-201-4/+2
|
* At some point we may want to stop exporting FEATURES to the ebuildZac Medico2010-08-202-2/+10
| | | | | | | environment, in order to prevent ebuilds from abusing it. In preparation for that, export it as PORTAGE_FEATURES so that bashrc users will be able to migrate any FEATURES conditional code to use this alternative variable.
* Bug #44796 - Add support for /etc/portage/package.env. As documented inZac Medico2010-08-203-16/+171
| | | | | | | | | | | | | | man/portage.5: Per-package environment variable settings. Entries refer to environment files that are placed in the /etc/portage/env/ directory and have the same format as make.conf(5). Format: - comment lines begin with # (no inline comments) - one DEPEND atom per line followed by name(s) of environment file(s) Example: sys-libs/glibc glibc.conf
* Make varexpand() create a new empty dict for variable expansions inZac Medico2010-08-201-1/+3
| | | | | case one is not passed in. This will prevent some potentially confusing behavior.
* Split out a _ordered_by_atom_specificity() in order to eliminateZac Medico2010-08-201-86/+48
| | | | duplicate code from the package.* config file handling.
* Make DEPCACHE_PATH relative to EPREFIX, and comment about similarityZac Medico2010-08-201-2/+17
| | | | to make.globals handling.
* * Make dblink._linkmap_rebuild() return early if preserve-libs is disabledZac Medico2010-08-201-2/+10
| | | | | | and the preserve-libs registry is empty. * Make dblink._find_unused_preserved_libs() return early if the preserve-libs registry is empty.
* Stop using the myroot arguments to the dblink constructor, merge(),Zac Medico2010-08-201-29/+52
| | | | | and unmerge(). Use settings['ROOT'] instead. This helps avoid confusion given support for EROOT.
* * Fix EROOT handling in various places in vartree.py. It should beZac Medico2010-08-203-44/+81
| | | | | | | | | all fixed now, but needs testing. * Remove unused root parameter in calls to dblink.isowner() and _match_contents(). * Make doebuild_environment() and prepare_build_dirs() take keyword arguments, and ignore unused parameters. Especially don't use myroot parameters since they are confusing given EROOT support.
* Fix LinkageMap to use vardbapi._eroot instead of _root.Zac Medico2010-08-201-1/+1
|
* Don't pass the myroot parameter to *counter_tick* methods since it'sZac Medico2010-08-201-7/+7
| | | | ignored anyway.
* Make the portagetree.root attribute a property that generates aZac Medico2010-08-201-3/+11
| | | | DeprecationWarning on access.