From 3d41a41ee0335632b9b2489706c72c1cf163c0d7 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 24 May 2020 17:35:25 -0700 Subject: [PATCH] sys-apps/portage: sed VERSION apidoc Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Zac Medico --- sys-apps/portage/portage-2.3.100.ebuild | 2 ++ 1 file changed, 2 insertions(+) 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":' \ -- 2.26.2