pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/52122 CVS commit: pkgsrc/net/py-google-cloud-sdk

The following reply was made to PR pkg/52122; it has been noted by GNATS.

From: "Leonardo Taccari" <>
Subject: PR/52122 CVS commit: pkgsrc/net/py-google-cloud-sdk
Date: Sun, 8 Jul 2018 12:22:57 +0000

 Module Name:	pkgsrc
 Committed By:	leot
 Date:		Sun Jul  8 12:22:56 UTC 2018
 Modified Files:
 	pkgsrc/net/py-google-cloud-sdk: Makefile
 Log Message:
 py-google-cloud-sdk: Choose a safe fallback for Python interpreter
 The logic to find a Python executable can be summarized as:
  - CLOUDSDK_PYTHON environment variable defined:
     + If it matches `*python2*', use it
  - Otherwise:
     + Try `python2'
     + Fallback to `python'
 Substitute the latter fallback to ${PYTHONBIN} in order to have a
 safe choice.
 Should fix PR pkg/52122 reported by <jklos>.
 This patch is based on the one proposed by <maya> (but restricted
 to CLOUDSDK_PYTHON lines and the fallback `python').
 To generate a diff of this commit:
 cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/py-google-cloud-sdk/Makefile
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index