pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/52122: net/py-google-cloud-sdk can't find python
The following reply was made to PR pkg/52122; it has been noted by GNATS.
From: coypu%sdf.org@localhost
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/52122: net/py-google-cloud-sdk can't find python
Date: Fri, 28 Apr 2017 14:20:12 +0000
Looks like it has a script to let you specify python path with
CLOUDSDK_PYTHON and tries python2 first, we can blindly replace python2
with ${PYTHONBIN} in these files in the pre-configure stage, but that
may not be sufficient.
It should look something like this (perhaps specify less wildcards)
SUBST_CLASSES+= python
SUBST_STAGE.python+= pre-configure
SUBST_MESSAGE.python= replacing hard coded python executable name
SUBST_FILES.python= lib/googlecloudsdk/core/*
SUBST_FILES.python+= bin/*
SUBST_FILES.python+= install.sh
SUBST_SED.python= -e "s,python2,${PYTHONBIN},g"
Does that work well enough?
Home |
Main Index |
Thread Index |
Old Index