summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* Use constants for more hardcoded *DEPEND lists.v2.2.0_alpha133Zac Medico2012-09-252-8/+7
|
* Use constants for more hardcoded *DEPEND lists.Zac Medico2012-09-252-5/+6
|
* Use constants for hardcoded *DEPEND lists.Zac Medico2012-09-254-12/+8
|
* _add_pkg_deps: use _get_eapi_attrsZac Medico2012-09-251-2/+3
|
* repoman: rename most *DEPEND.* to dependency.*Zac Medico2012-09-251-2/+7
| | | | This makes it easier to add new types, like HDEPEND.
* circular_dependency: handle HDEPENDZac Medico2012-09-241-1/+2
|
* Add experimental EAPI 5-hdepend support.Ambroz Bizjak2012-09-245-28/+41
|
* _create_use_string: pass in feature_flags argv2.2.0_alpha132Zac Medico2012-09-232-7/+8
| | | | This allows them to be looked up outside of the USE_EXPAND loop.
* Add _get_feature_flags(eapi_attrs) function.Zac Medico2012-09-233-8/+13
| | | | | | This will be useful for adding flags that behave specially in experimental EAPIs, such as the targetroot/sysroot flag which is planned for EAPI 5-hdepend.
* Use re.UNICODE for category/package name regexes.Zac Medico2012-09-221-2/+2
| | | | | | | | This only affects r'\w' with Python 2.x, since Python 3 already defaults to re.UNICODE behavior when compiling unicode str objects (unless re.ASCII is specified). If a repository wants to ban unicode categore/package names then we can add a layout.conf setting for that, as discussed in bug #435934.
* Add preserve-libs for stable branch (not default)Zac Medico2012-09-212-16/+12
| | | | | | | | | EAPI 5 supports automatic rebuilds via the slot-operator and sub-slots, which makes preserve-libs much more user-friendly, since it makes @preserved-rebuild unnecessary (also see bug #364425 for explanation of @preserved-rebuild shortcomings). Therefore, enable preserve-libs for the stable branch, but not by default. After EAPI 5 is widely adopted, we can consider enabling preserve-libs by default.
* Add _DEPCLEAN_LIB_CHECK_DEFAULT constant.Zac Medico2012-09-211-2/+2
| | | | | This will allow for the option to be available in the stable branch without changing the default --depclean behavior.
* repoman: reject "built" slot-operator atomsZac Medico2012-09-161-2/+15
|
* egencache: skip auxdb write if not metadata-transZac Medico2012-09-152-5/+10
|
* Display: simplify _blockersZac Medico2012-09-131-13/+6
| | | | | The fetch_symbol variable was always just a space, and no return value was really needed.
* merge list: distinguish reinstall with red "r"Zac Medico2012-09-132-2/+13
| | | | | This is for reinstall due to slot or sub-slot change of a dependency when the := slot operator is used.
* Refactor merge list attribute display.Zac Medico2012-09-132-84/+106
| | | | | This should not change the behavior at all, but it makes the display much easier to modify or extend.
* Bind FEATURES=-test to USE=-test for bug #373209.Zac Medico2012-09-132-5/+10
| | | | | | Also, make options like emerge --newuse ignore the state of USE=test, since users typically don't want to trigger a bunch of rebuilds when they enable or disable FEATURES=test.
* Prefer /etc/portage/make.profile.v2.2.0_alpha126Zac Medico2012-09-121-2/+3
| | | | | | | | | This is the default location used by current versions of eselect profile, and will soon be the default location in stages. Since eselect profile generates a warning if both /etc/make.profile and /etc/portage/make.profile exist, the new default should be fairly safe (although eselect profile currently prefers /etc/make.profile when both exist).
* EbuildPhase: fix WORKDIR owner after unpackZac Medico2012-09-111-1/+4
| | | | See bug #332217, comment #24.
* Improve ignored binpkg display for bug #434540.Zac Medico2012-09-101-4/+10
|
* EbuildPhase: simplify utime argsZac Medico2012-09-081-3/+1
|
* EbuildPhase: bump WORKDIR timestamp after unpackZac Medico2012-09-081-2/+9
| | | | This will fix bug #332217.
* Deprecate @installed for bug #387059.Zac Medico2012-09-031-0/+6
|
* EbuildBuildDir: ignore rmdir failure, bug #400641Zac Medico2012-09-031-5/+2
|
* Rename _slot_abi.py to _slot_operator.py.Zac Medico2012-09-022-2/+2
|
* _prepare_self_update: ignore installed versionZac Medico2012-09-011-9/+4
| | | | | | | | Now portage will unconditionally make a temporary copy of itself during updates. This is safer, since it provides maximum protection against any possible incompatibilities. For example, suppose that the ebuild has been updated to change the location of installed files (such as libdir change) without a revision bump.
* Remove FEATURES=parse-eapi-ebuild-headZac Medico2012-08-291-4/+2
| | | | | | | | It's already been enabled by default in stable portage for awhile now, so it should be safe to enable it unconditionally. The PMS eapi-5 branch also says that it's mandatory to parse the EAPI: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=91d1e1e39b034bde7e5b981a5616a127135f37fa
* Rename slot-abi stuff to refer to slot-operator.Zac Medico2012-08-298-94/+94
| | | | | This makes it consistent with the language in the PMS eapi-5 branch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=5d6749ac9e5ddc5b1daaad7737b65fa81c6ece47
* EAPI 5: Profile IUSE injectionZac Medico2012-08-291-5/+8
| | | | | See bug #176467 and the PMS patch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=d9040ab3482af5f790368bac5d053bf1cd760ba8
* Package: skip REQUIRED_USE validation if builtZac Medico2012-08-271-1/+1
|
* Pass eapi to check_required_use more.Zac Medico2012-08-272-12/+26
|
* EAPI 5: REQUIRED_USE at-most-one-of ?? operatorZac Medico2012-08-271-1/+1
| | | | | See bug #354219 and the PMS patch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=1c2dff2df2305aff88a734e3a2716de1bb69f3b6
* EAPI 5 stable use.mask/force for bug #431078Zac Medico2012-08-241-0/+4
|
* _pkg_str: pass in config + metadata with KEYWORDSZac Medico2012-08-241-4/+11
| | | | | This will be needed in order to support stable use.mask/force for bug #431078.
* Optimize sys.std* flush code.v2.2.0_alpha122Zac Medico2012-08-222-4/+6
|
* Use sys.__std*.fileno() in case of overrides.Zac Medico2012-08-223-19/+19
| | | | | This fixes AttributeError exceptions for API consumers that override sys.std* streams pseudo-file objects.
* _apply_hash_filter: make hash_filter simplerZac Medico2012-08-211-0/+2
| | | | | Now any callable object will work, which might be helpful for consumers of the Manifest.checkFileHashes() method.
* Implement PORTAGE_CHECKSUM_FILTER for bug #432170Zac Medico2012-08-211-1/+3
|
* PollScheduler: use timeout for loadavg checksZac Medico2012-08-201-6/+12
| | | | | | | This ensures that the code from commit fe03b5fd790fc09bd6594c55bb174e80aaac1e5a behaves correctly even when there are no poll events arriving for a long time (which might happen if the running builds don't produce output for a long time).
* Scheduler: only use poll timeout when neededZac Medico2012-08-201-3/+6
| | | | This avoids wasteful CPU consumption, as reported in bug #432024.
* emaint logs: simplify error output handlingv2.2.0_alpha121Zac Medico2012-08-111-6/+5
|
* emaint: split into separate modulesBrian Dolbec2012-07-221-19/+8
|
* Fix extended atom match for =* operator.Zac Medico2012-07-181-7/+21
|
* depgraph: __auto_rebuild__ KeyError, bug #427036Zac Medico2012-07-182-3/+9
|
* Propagate EAPI for update_dbentry (bug #426476).Zac Medico2012-07-171-2/+3
|
* Fix --complete-graph-if-new-use for --autounmask.Zac Medico2012-07-101-2/+2
|
* emerge: add --complete-graph-if-new-use < y | n >Zac Medico2012-07-103-5/+32
| | | | | | Trigger the --complete-graph behavior if USE or IUSE will change for an installed package. This option is enabled by default. This will fix bug #425558.
* Rebuild for slot-abi downgrades, bug #424651.Zac Medico2012-07-041-36/+73
|
* emerge: more helpful "non-existent set" messageZac Medico2012-07-031-0/+6
|