From 323a72708ac9e00ad544eb92f61ef7cf1d9caf08 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Thu, 26 Nov 2009 14:06:35 +0000 Subject: [PATCH] Merged from trunk -r14884:14886 | 14885 | Use einfo instead of ewarn for the "Skipping make test/check | | zmedico | due to ebuild restriction." message. | | 14886 | Set built=True when creating Package instances. This fixes a | | zmedico | problem with --resume, reported by Sebastian Mingramm (few). | svn path=/main/branches/prefix/; revision=14895 --- bin/ebuild.sh | 2 +- pym/_emerge/FakeVartree.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index d2e879547..13fe2c4b1 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1003,7 +1003,7 @@ dyn_test() { if ! hasq test $FEATURES && [ "${EBUILD_FORCE_TEST}" != "1" ]; then vecho ">>> Test phase [not enabled]: ${CATEGORY}/${PF}" elif hasq test $RESTRICT; then - ewarn "Skipping make test/check due to ebuild restriction." + einfo "Skipping make test/check due to ebuild restriction." vecho ">>> Test phase [explicitly disabled]: ${CATEGORY}/${PF}" else local save_sp=${SANDBOX_PREDICT} diff --git a/pym/_emerge/FakeVartree.py b/pym/_emerge/FakeVartree.py index e1b819809..3a9d5d639 100644 --- a/pym/_emerge/FakeVartree.py +++ b/pym/_emerge/FakeVartree.py @@ -158,7 +158,7 @@ class FakeVartree(portage.vartree): def _pkg(self, cpv): root_config = self._root_config real_vardb = root_config.trees["vartree"].dbapi - pkg = Package(cpv=cpv, installed=True, + pkg = Package(cpv=cpv, built=True, installed=True, metadata=zip(self._db_keys, real_vardb.aux_get(cpv, self._db_keys)), root_config=root_config, -- 2.26.2