summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Fix indentation.v2.2.0_alpha52Arfrever Frehtes Taifersar Arahesis2011-09-021-1/+1
|
* xml/metadata: handle py 2.6 cElementTree incompatZac Medico2011-09-021-3/+12
|
* vartree: add missing _merge_unicode_error importZac Medico2011-09-021-2/+2
|
* tests/emerge: disable unmerge delaysZac Medico2011-09-011-0/+2
|
* tests/emerge: test binary packages and emaintZac Medico2011-09-011-1/+12
|
* Use utf_8 encoding for merge when ascii is configured.Zac Medico2011-09-011-3/+14
| | | | | | | It probably won't hurt, and forced conversion to ascii encoding is known to break some packages that install file names with utf_8 encoding (see bug #381509). The ascii aliases are borrowed from python's encodings.aliases.aliases dict.
* tests/emerge: enable arbitrary commandsZac Medico2011-09-011-18/+22
| | | | | | This will allow us to throw in some test commands for various helpers related to emerge (things like etc-update, dispatch-conf, quickpkg, portageq, ebuild, and emaint).
* Show merge list before "missed update" messages.Zac Medico2011-09-011-0/+2
|
* merge: start at correct EPREFIX offsetZac Medico2011-09-011-1/+2
|
* tests/emerge: install some filesZac Medico2011-09-012-0/+18
|
* tests/emerge: add some pkgs for depcleanZac Medico2011-08-311-0/+16
|
* doebuild_environment: include EPREFIX in EDZac Medico2011-08-311-1/+3
|
* unmerge: never unmerge outside of EROOTZac Medico2011-08-311-1/+8
|
* xml/metadata: implement XMLParser.doctype()Zac Medico2011-08-311-2/+13
| | | | | Avoid deprecation warnings again, like in commit 63035acd702ab0cdaac31e33676b5a20a91eae47.
* Revert "xml/metadata: implement XMLParser.doctype()"Zac Medico2011-08-315-65/+11
| | | | | This reverts commit ce501b36d7078db059c606d3b4f38637ad09528e. This commit had lots of unintended changes included.
* xml/metadata: implement XMLParser.doctype()Zac Medico2011-08-315-11/+65
| | | | | Avoid deprecation warnings again, like in commit 63035acd702ab0cdaac31e33676b5a20a91eae47.
* Fix deprecated Element.getchildren() call.Zac Medico2011-08-311-2/+1
|
* Add FEATURES=clean-logs support.Zac Medico2011-08-313-4/+36
| | | | | | | Enable automatic execution of the command specified by the PORT_LOGDIR_CLEAN variable. The default PORT_LOGDIR_CLEAN setting will remove all files from PORT_LOGDIR that were last modified at least 7 days ago.
* Respect package.env buildpkg FEATURES settings.Zac Medico2011-08-303-4/+9
| | | | This will fix bug #318897.
* doebuild: only check .unpacked for porttreeZac Medico2011-08-301-1/+3
|
* tests/emerge: remove unneeded default_argsZac Medico2011-08-301-3/+1
|
* Fix typo in previous commit.Zac Medico2011-08-301-1/+1
|
* env_update: use ldsoconf_update varZac Medico2011-08-301-0/+1
| | | | | | | This fixes an unintended change in behavior from commit a37eb8ebd2fad3f8074490a061f067e2c637f05d, so that the ldconfig call will not be skipped when ld.so.conf has been updated (though ldconfig is still never called when makelinks=False).
* Tweak failure msgs in emerge/repoman tests.Zac Medico2011-08-302-4/+6
|
* Tweak PYTHONPATH check in emerge/repoman tests.Zac Medico2011-08-302-2/+2
|
* doebuild: check distfiles digests less oftenZac Medico2011-08-301-1/+4
| | | | | | If the unpack phase is not going to be executed as a dependency, then we can simply skip the distfiles digest checks if the unpack phase is already marked complete via $PORTAGE_BUILDDIR/.unpacked.
* repoman: discard STDERR output from CVS.Michał Górny2011-08-301-1/+1
| | | | Fixes: https://bugs.gentoo.org/show_bug.cgi?id=373669
* tests/emerge: add USE for installed pkgsZac Medico2011-08-291-0/+2
|
* dblink.treewalk: remove dowgrade checkZac Medico2011-08-291-9/+0
| | | | | This code is unused since commit a37eb8ebd2fad3f8074490a061f067e2c637f05d.
* Fix PORTDIR in emerge tests.Zac Medico2011-08-291-0/+2
|
* Mark some messages for translation.Arfrever Frehtes Taifersar Arahesis2011-08-291-10/+10
|
* env_update: always respect makelinks=FalseZac Medico2011-08-292-8/+5
| | | | | | | | | | | | This ensures that the env-update --no-ldconfig option is always respected. Also, in order to preserve behavior during downgrades for an env_update call in vartree.py, remove the makelinks=False for downgrades since it wasn't respected anyway when lib path mtimes had changed, and we don't want it to behave differently in this case now that makelinks=False is always respected. Note that the unconditional use of the ldconfig -X option (from bug #373341) since commit e1347f9c0dd5ef5ff1a50d6b136b0648efb8a6ca may also come into play for downgrades.
* env_update: fix breakage in last commitZac Medico2011-08-291-1/+1
|
* env_update: fix CHOST/CBUILD ldconfig codeZac Medico2011-08-291-4/+6
| | | | | | This code never worked (since it was added in commit 751893b0272561eb9274110a474d5436a7d2bc76) due to a name collision between the env argument and another variable with the same name.
* Fix env interference in emerge/repoman tests.Zac Medico2011-08-292-15/+26
|
* emerge: add simple unit testsZac Medico2011-08-285-2/+148
| | | | | | | These tests are similar to the repoman tests, using a __PORTAGE_TEST_EPREFIX environment variable to make emerge confine itself to a testing prefix so that things like install and uninstall operations can be performed.
* Send "Recording in world" msg to stdout.Zac Medico2011-08-281-1/+2
|
* ResolverPlayground: fix to make emerge happyZac Medico2011-08-281-1/+15
|
* env_update: add minimal EPREFIX supportZac Medico2011-08-282-10/+16
| | | | | | | This takes EPREFIX from the env argument and uses it when joining all paths. Also, ldconfig calls are disabled when EPREFIX is non-empty, since it's inappropriate to update the global /etc/ld.so.cache in this case.
* python3.2 fixes: ResourceWarning: unclosed fileZac Medico2011-08-281-2/+7
|
* test_poll: fix "ResourceWarning: unclosed file"Zac Medico2011-08-281-1/+9
|
* Sort test cases, for predictable order.Zac Medico2011-08-281-0/+2
|
* spawnebuild: skip previously executed phasesZac Medico2011-08-281-0/+11
| | | | | | | | | | This simply checks of $PORTAGE_BUILDDIR/.${EBUILD_PHASE%e}ed and skips the phase like ebuild.sh would. It preserves a special case for the install phase with FEATURES=noauto, so that dyn_install in ebuild.sh continues to work the same for this case.. Also, note that commit ae9b6cb513c7b29376caecf3b4e52aac452e2b93 preserves the automatic "recreating WORKDIR" behavior that used to be implemented in dyn_unpack.
* doebuild: avoid redundant distfiles checksZac Medico2011-08-281-2/+68
| | | | | | | | | When the unpack phase is already marked as complete, it's wasteful to check distfiles digests. In order to avoid this, we have to migrate the distfiles/workdir timestamp comparisons from ebuild.sh to doebuild.py, so that doebuild always knows when unpack will be triggered. This also allows us to eliminate code in dyn_unpack that duplicated dyn_clean, actually call dyn_clean instead.
* Fix possible NameError in finally block.Zac Medico2011-08-281-1/+3
|
* Fix "ResourceWarning: unclosed file" with Python 3.2.Arfrever Frehtes Taifersar Arahesis2011-08-281-2/+5
|
* Fix "ResourceWarning: unclosed file" with Python 3.2.Arfrever Frehtes Taifersar Arahesis2011-08-271-1/+1
|
* python3.2 fixes: ResourceWarning: unclosed fileZac Medico2011-08-263-6/+14
|
* Update --rebuild-if-* flags to rebuild when build dependencies are changed.David James2011-08-263-129/+104
| | | | | | | | | | | | | | Right now, the --rebuild-if-* flags only rebuild packages that are used at both run-time and build-time. This doesn't help for packages that are used only at build-time (for example, static libaries). Rebuilding packages whenever a build-time dependency is changed is easier to understand and explain, and it handles all cases correctly. BUG=chromium-os:15517 TEST=Run emerge test suite. Change-Id: Iae8dab24e8acb6625bc1a0ce41862e90b232eb84
* Fix EPREFIX/EROOT typo in repoman test.Zac Medico2011-08-261-1/+1
|