summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2020-05-24 17:35:25 -0700
committerZac Medico <zmedico@gentoo.org>2020-05-24 17:35:50 -0700
commit3d41a41ee0335632b9b2489706c72c1cf163c0d7 (patch)
tree4690b5723c8673058c1dfbea53f1315be08e78fa
parentsys-apps/portage: Bump to version 2.3.100 (diff)
downloadgentoo-3d41a41ee0335632b9b2489706c72c1cf163c0d7.tar.gz
gentoo-3d41a41ee0335632b9b2489706c72c1cf163c0d7.tar.bz2
gentoo-3d41a41ee0335632b9b2489706c72c1cf163c0d7.zip
sys-apps/portage: sed VERSION apidoc
Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rw-r--r--sys-apps/portage/portage-2.3.100.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-apps/portage/portage-2.3.100.ebuild b/sys-apps/portage/portage-2.3.100.ebuild
index 4a9c0ce1cb2..8abae505654 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":' \