Bug 248305 - net/google-cloud-sdk: gcloud looking for "python"
Summary: net/google-cloud-sdk: gcloud looking for "python"
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Steve Wills
Depends on:
Reported: 2020-07-27 18:45 UTC by Jason W. Bacon
Modified: 2020-07-27 18:45 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (swills)


Note You need to log in before you can comment on or make changes to this bug.
Description Jason W. Bacon freebsd_committer 2020-07-27 18:45:09 UTC
FreeBSD barracuda.uits  bacon ~/Data/TOPMed/Jobs/Haplohseq-analysis 1025: gcloud compute scp Split-vcfs/Combined/combined.NWD102903.vcf.xz topmed1-16:
exec: python: not found

Should this have PYTHON_CMD patched in?  Currently one must separately install lang/python or lang/python[23] to make it work.

From the gcloud script:

setup_cloudsdk_python() {
  # if $CLOUDSDK_PYTHON is not set, prefer python3 over python2
  if [ -z "$CLOUDSDK_PYTHON" ]; then
    CLOUDSDK_PYTHON=$(order_python python3 python2 python2.7 python)

Same goes for other installed scripts.