summaryrefslogtreecommitdiffstats
path: root/pym/portage
Commit message (Collapse)AuthorAgeFilesLines
* Move FEATURES=unknown-features-warn code to config.regenerate() soZac Medico2010-08-301-12/+21
| | | | | that it shows warnings for unknown FEATURES settings from package.env, and keep a record of shown warnings in config._unknown_features.
* When _ENABLE_SET_CONFIG is False, disable reading/writing of theZac Medico2010-08-301-7/+21
| | | | world_sets file in WorldSelectedSet.
* When _ENABLE_SET_CONFIG is False, make load_default_config() createZac Medico2010-08-301-1/+42
| | | | | a default hardcoded set configuration that will be used by the upcoming 2.1.9 branch.
* Use _ENABLE_PRESERVE_LIBS and _ENABLE_DYN_LINK_MAP constants to controlZac Medico2010-08-301-7/+13
| | | | instantiation of vardbapi._plib_registry and vardbapi._linkmap.
* Add some private constants for use in conditional code in order toZac Medico2010-08-301-0/+18
| | | | minimize the diff between branches.
* Make match_from_list() strip "!!" when appropriate for strong blocks.Zac Medico2010-08-301-1/+4
|
* Rename the portage.sets module to portage._sets since it will be usefulZac Medico2010-08-3013-20/+25
| | | | | in the upcoming 2.1.9 branch which will not have sets support but will still have the code in private and disabled form.
* Always check if vardbapi._linkmap and vardbapi._plib_registry areZac Medico2010-08-292-41/+93
| | | | | | None before trying to use them. This will be useful in the upcoming 2.1.9 branch which will not have preserve-libs support but will still have the code in private and disabled form.
* Rename vardbapi.linkmap to vardbapi._linkmap since I'mZac Medico2010-08-292-12/+12
| | | | | | trying to minimize the diff between the master branch and upcoming 2.1.9 branch which will not have preserve-libs support but will still have the code in private and disabled form.
* Rename vardbapi.plib_registry to vardbapi._plib_registry since I'mZac Medico2010-08-293-18/+18
| | | | | | trying to minimize the diff between the master branch and upcoming 2.1.9 branch which will not have preserve-libs support but will still have the code in private and disabled form.
* Move LinkageMap to a new portage.util._dyn_libs.LinkageMapELF module.Zac Medico2010-08-292-614/+636
|
* Move PreservedLibsRegistry to a new ↵Zac Medico2010-08-293-117/+141
| | | | portage.util._dyn_libs.PreservedLibsRegistry module.
* Remove unused imports found by pylint.Arfrever Frehtes Taifersar Arahesis2010-08-2919-37/+23
|
* Fix import.Arfrever Frehtes Taifersar Arahesis2010-08-291-2/+2
|
* Add LocationsManager.profile_and_user_locations for use with ↵Sebastian Luther2010-08-292-8/+12
| | | | config.categories and archlist.
* Simplify the empty USE conditional /var/db/pkg metadata code inZac Medico2010-08-281-8/+6
| | | | _post_src_install_uid_fix(), and handle one more case.
* When evaluating USE conditional metadata for /var/db/pkg insideZac Medico2010-08-281-0/+11
| | | | | _post_src_install_uid_fix(), ensure non-empty entries are removed if the evaluation results in an empty value.
* Bug #335055 - Fix "TypeError: argument of type 'NoneType' is notZac Medico2010-08-281-4/+5
| | | | | iterable" raised from first call to VirtualsManager.get_virts_p() when trying to expand the category for a package name.
* Bug #334935 - Fix broken reference to config.pmaskdict insidev2.2_rc71Zac Medico2010-08-271-2/+3
| | | | getmaskingreason().
* Use StopIteration to exit nested loops.v2.2_rc70Zac Medico2010-08-271-5/+9
|
* Add support for IUSE.missing checks in conditional USE dependencies.Zac Medico2010-08-271-3/+35
|
* Add the chflags and selinux values to SUPPORTED_FEATURES.Zac Medico2010-08-271-2/+2
|
* Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portageZac Medico2010-08-273-3/+3
|\
| * Fix some typos.Arfrever Frehtes Taifersar Arahesis2010-08-283-3/+3
| |
* | Fix breakage caused ignorance of /etc/portage/{arch.list,categories}Zac Medico2010-08-271-9/+12
|/ | | | config overrides.
* Fix _get_legacy_global() so that it does't pass in the target_rootZac Medico2010-08-271-1/+1
| | | | | parameter to create_trees() unless ROOT is set. This is required for make.conf ROOT override to work with LocationsManager.
* Fix the config constructor to pass missing parameters to theZac Medico2010-08-271-2/+3
| | | | LocationsManager constructor.
* config: Remove last traces of autouseSebastian Luther2010-08-271-29/+19
|
* Use InvalidDependString import instead ofZac Medico2010-08-271-42/+42
| | | | portage.exception.InvalidDependString.
* Remove unused imports.Zac Medico2010-08-272-6/+6
|
* Bug #334817 - Make genconfig() warn about EISDIR instead of raisingZac Medico2010-08-271-1/+2
| | | | a IOError.
* config: Add special_env_varsSebastian Luther2010-08-272-152/+169
|
* config: Add LocationsManagerSebastian Luther2010-08-272-163/+212
|
* config: Add VirtualsManagerSebastian Luther2010-08-272-164/+264
|
* config: Add MaskManagerSebastian Luther2010-08-272-42/+75
|
* config: Avoid copying _license_managerSebastian Luther2010-08-274-54/+31
| | | | | | | | | Strictly speaking _license_manager is not immutable. Users need to ensure that extract_global_changes() is called right after __init__ (if at all). It also has the mutable member _undef_lic_groups. It is used to track undifiend license groups, to not display an error message for the same group again and again. Because of this, it's useful to share it between all LicenseManager instances.
* Add a IUSE.missing repoman category for packages that have a USEZac Medico2010-08-262-3/+8
| | | | | | conditional which references a flag that is not listed in IUSE. Also split out a Package._metadata_exception() method to handle IUSE.missing for *DEPEND and SRC_URI.
* Do not include the whole input string in the use_reduce()Zac Medico2010-08-261-21/+21
| | | | | | | | InvalidDependString messages since the string is often extremely long which makes it flood the terminal when displayed. Instead we'll have to rely on the caller to display react appropriately to the exception (perhaps displaying the whole input if appropriate).
* Use shallow copy for more immutable config attributes.Zac Medico2010-08-261-14/+15
|
* Make LicenseManager.__deepcopy__() do a shallow copy of _license_groupsZac Medico2010-08-261-1/+6
| | | | | since internal policy ensures lack of mutation, and fix memo usage for the other immutable attributes.
* Implement LicenseManager.__deepcopy__(), using shallow copy forZac Medico2010-08-261-1/+23
| | | | immutable attributes.
* Disable autouse support and add a deprecation warning to the autouse()Zac Medico2010-08-261-34/+5
| | | | function.
* Use frozenset for config.usemask and useforce attributes, so there'sZac Medico2010-08-262-8/+7
| | | | | no need to copy them during clone operations. Also, there's no need to copy config.puse since its an immutable string.
* Bug #334365 - Make dep_check() less strict with respect to EAPIZac Medico2010-08-261-17/+12
| | | | | | | | | | constraints for installed packages since previous validation will have already marked them as invalid when necessary and now we're more interested in evaluating dependencies so that things like --depclean work as well as possible in spite of partial invalidity. Also, remove obsolete EAPI atom validation code from _expand_new_virtuals() since it's handled by use_reduce() and the Atom constructor now.
* Ensure SystemExit is never caught.Zac Medico2010-08-266-3/+15
|
* Make the Atom class add 'EAPI.incompatible' category attributes toZac Medico2010-08-262-5/+22
| | | | | | | | InvalidAtom exceptions, make use_reduce() raise InvalidDependString exceptions that encapsulate InvalidAtom exceptions, and make Package._validate_deps() use the InvalidAtom categories when recording the invalid metadata for use by repoman. Also, remove the EAPI.incompatible code from repoman that's no longer used.
* Fix breakage in use_reduce() calls where token_class=Atom is incorrect.Zac Medico2010-08-262-2/+13
|
* Make use_reduce() call Atom.evaluate_conditionals() when matchall is False,Zac Medico2010-08-264-28/+7
| | | | | and pass token_class=Atom in use_reduce() calls so that external Atom.evaluate_conditionals() calls can be eliminated.
* Add PORTAGE_SIGPIPE_STATUS to config._environ_whitelist.Zac Medico2010-08-261-1/+1
|
* Add code to dep_check(), borrowed from _expand_new_virtuals(), to passZac Medico2010-08-261-4/+16
| | | | eapi to use_reduce() when available.