commit: cf6fffceaaa3e559358340a267940a403fe88824
Author: Duje Mihanović <duje.mihanovic <AT> skole <DOT> hr>
AuthorDate: Thu Jul 14 11:43:36 2022 +0000
Commit: Duje Mihanović <duje.mihanovic <AT> skole <DOT> hr>
CommitDate: Thu Jul 14 11:43:36 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cf6fffce
dev-util/pmbootstrap: migrate to python-single-r1
Signed-off-by: Duje Mihanović <duje.mihanovic <AT> skole.hr>
dev-util/pmbootstrap/pmbootstrap-1.45.0.ebuild | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dev-util/pmbootstrap/pmbootstrap-1.45.0.ebuild
b/dev-util/pmbootstrap/pmbootstrap-1.45.0.ebuild
index 970e1ce66..2dc8bba6f 100644
--- a/dev-util/pmbootstrap/pmbootstrap-1.45.0.ebuild
+++ b/dev-util/pmbootstrap/pmbootstrap-1.45.0.ebuild
@@ -4,6 +4,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{8,9,10} )
+DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1 linux-info
DESCRIPTION="Helper tool for developing and building postmarketOS"
@@ -31,3 +32,8 @@ pkg_pretend() {
die
fi
}
+
+# Without this, emerge errors with an "EPYTHON not set" error.
+pkg_setup() {
+ python-single-r1_pkg_setup
+}