commit:     0b7a6ea689c896fa26dbc857f5e8c13628596a0d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 25 17:46:55 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 25 17:46:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b7a6ea6

sci-geosciences/gpsd: call python_setup uncondiitonally

python_setup is called by the distutils machinery
when USE=python, but wasn't in the USE=-python case
until now.

We need this because we're using (e)scons to build.

Closes: https://bugs.gentoo.org/734352
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-geosciences/gpsd/gpsd-3.21.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sci-geosciences/gpsd/gpsd-3.21.ebuild 
b/sci-geosciences/gpsd/gpsd-3.21.ebuild
index 12d81cded2b..8083dc4252b 100644
--- a/sci-geosciences/gpsd/gpsd-3.21.ebuild
+++ b/sci-geosciences/gpsd/gpsd-3.21.ebuild
@@ -100,7 +100,12 @@ src_prepare() {
 
        default
 
-       use python && distutils-r1_src_prepare
+       if use python ; then
+               distutils-r1_src_prepare
+       else
+               # We're using escons, bug #734352
+               python_setup
+       fi
 }
 
 python_prepare_all() {

Reply via email to