projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77960c6
)
sys-apps/portage: sed VERSION apidoc
author
Zac Medico
<zmedico@gentoo.org>
Mon, 25 May 2020 00:35:25 +0000
(17:35 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 25 May 2020 00:35:50 +0000
(17:35 -0700)
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Zac Medico <zmedico@gentoo.org>
sys-apps/portage/portage-2.3.100.ebuild
patch
|
blob
|
history
diff --git
a/sys-apps/portage/portage-2.3.100.ebuild
b/sys-apps/portage/portage-2.3.100.ebuild
index 4a9c0ce1cb293092951dc612ef19bac630ed5dce..8abae5056549a5783ed98bcf1197dcd857adf8b2 100644
(file)
--- 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":' \