From: Fabian Groffen Date: Fri, 15 Apr 2011 18:25:31 +0000 (+0200) Subject: Merge remote-tracking branch 'overlays-gentoo-org/master' into prefix X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d3ccb4434f987833b705b3a3bceef68e8032e673;p=portage.git Merge remote-tracking branch 'overlays-gentoo-org/master' into prefix --- d3ccb4434f987833b705b3a3bceef68e8032e673 diff --cc cnf/make.globals index c6ba9f532,bcad5deb6..930b3d52e --- a/cnf/make.globals +++ b/cnf/make.globals @@@ -131,10 -119,13 +131,13 @@@ PORTAGE_WORKDIR_MODE="0700 PORTAGE_ELOG_CLASSES="log warn error" PORTAGE_ELOG_SYSTEM="save_summary echo" -PORTAGE_ELOG_MAILURI="root" +PORTAGE_ELOG_MAILURI="@rootuser@" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for \${PACKAGE} on \${HOST}" -PORTAGE_ELOG_MAILFROM="portage@localhost" +PORTAGE_ELOG_MAILFROM="@portageuser@@localhost" + # Signing command used by repoman + PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --clearsign --yes --default-key \"\${PORTAGE_GPG_KEY}\" --homedir \"\${PORTAGE_GPG_DIR}\" \"\${FILE}\"" + # ***************************** # ** DO NOT EDIT THIS FILE ** # *************************************************** diff --cc pym/portage/const.py index 7929c28c3,db3f8414b..7df2ecbd9 --- a/pym/portage/const.py +++ b/pym/portage/const.py @@@ -1,23 -1,9 +1,23 @@@ # portage: Constants - # Copyright 1998-2010 Gentoo Foundation + # Copyright 1998-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 +# =========================================================================== +# autotool supplied constants. +# =========================================================================== +from portage.const_autotool import * + import os +# save the original prefix +BPREFIX = EPREFIX +# pick up EPREFIX from the environment if set +if "EPREFIX" in os.environ: + if os.environ["EPREFIX"] != "": + EPREFIX = os.path.normpath(os.environ["EPREFIX"]) + else: + EPREFIX = os.environ["EPREFIX"] + # =========================================================================== # START OF CONSTANTS -- START OF CONSTANTS -- START OF CONSTANTS -- START OF # =========================================================================== @@@ -132,10 -88,9 +132,10 @@@ EBUILD_PHASES = ("pretend", SUPPORTED_FEATURES = frozenset([ "assume-digests", "binpkg-logs", "buildpkg", "buildsyspkg", "candy", "ccache", "chflags", "collision-protect", "compress-build-logs", - "digest", "distcc", "distlocks", - "fakeroot", "fail-clean", "fixpackages", "getbinpkg", + "digest", "distcc", "distlocks", "fakeroot", + "fail-clean", "fixpackages", "force-mirror", "getbinpkg", "installsources", "keeptemp", "keepwork", "fixlafiles", "lmirror", + "macossandbox", "macosprefixsandbox", "macosusersandbox", "metadata-transfer", "mirror", "multilib-strict", "news", "noauto", "noclean", "nodoc", "noinfo", "noman", "nostrip", "notitles", "parallel-fetch", "parse-eapi-ebuild-head",