sys-apps/portage: 2.3.99-r1 revbump for bug 700830
authorZac Medico <zmedico@gentoo.org>
Sun, 12 Apr 2020 23:40:37 +0000 (16:40 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 12 Apr 2020 23:44:45 +0000 (16:44 -0700)
 #700830 fix ENV_UNSET for DISPLAY variable

Bug: https://bugs.gentoo.org/711148
Bug: https://bugs.gentoo.org/700830
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Zac Medico <zmedico@gentoo.org>
sys-apps/portage/portage-2.3.99-r1.ebuild [moved from sys-apps/portage/portage-2.3.99.ebuild with 97% similarity]

similarity index 97%
rename from sys-apps/portage/portage-2.3.99.ebuild
rename to sys-apps/portage/portage-2.3.99-r1.ebuild
index 5d75a62bf4542979399835e49c5c58934ab1f6eb..2b801329cf67d9b91972f7cbabb59c6dde3f7411 100644 (file)
@@ -89,6 +89,9 @@ pkg_pretend() {
 python_prepare_all() {
        distutils-r1_python_prepare_all
 
+       # Apply 03efd1125214
+       sed -e '50s|"EMERGE_FROM", "EPREFIX",|"EMERGE_FROM", "ENV_UNSET", "EPREFIX",|' -i lib/portage/package/ebuild/_config/special_env_vars.py || die
+
        sed -e "s:^VERSION = \"HEAD\"$:VERSION = \"${PV}\":" -i lib/portage/__init__.py || die
 
        if use gentoo-dev; then