From: Zac Medico Date: Mon, 25 May 2020 00:35:25 +0000 (-0700) Subject: sys-apps/portage: sed VERSION apidoc X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3d41a41ee0335632b9b2489706c72c1cf163c0d7;p=gentoo.git sys-apps/portage: sed VERSION apidoc Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Zac Medico --- diff --git a/sys-apps/portage/portage-2.3.100.ebuild b/sys-apps/portage/portage-2.3.100.ebuild index 4a9c0ce1cb29..8abae5056549 100644 --- a/sys-apps/portage/portage-2.3.100.ebuild +++ b/sys-apps/portage/portage-2.3.100.ebuild @@ -89,6 +89,8 @@ pkg_pretend() { python_prepare_all() { distutils-r1_python_prepare_all + sed -e "s:^VERSION = \"HEAD\"$:VERSION = \"${PV}\":" -i lib/portage/__init__.py || die + if use gentoo-dev; then einfo "Disabling --dynamic-deps by default for gentoo-dev..." sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \