File: build.sh-Add-more-Python3-versions-to-support.patch

package info (click to toggle)
klayout 0.28.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 279,296 kB
  • sloc: cpp: 2,009,432; ruby: 43,292; xml: 25,855; python: 11,686; sh: 1,611; tcl: 212; perl: 170; makefile: 112; ansic: 42
file content (22 lines) | stat: -rw-r--r-- 847 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Ruben Undheim <ruben.undheim@gmail.com>
Date: Fri, 29 Mar 2019 17:30:39 +0100
Subject: build.sh: Add more Python3 versions to support

Forwarded: No
---
 build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.sh b/build.sh
index 8d647de..a9bf018 100755
--- a/build.sh
+++ b/build.sh
@@ -395,7 +395,7 @@ fi
 
 # if not given, locate Python interpreter
 if [ "$PYTHON" = "" ]; then
-  for python in "python3.5" "python3.4" "python3.3" "python3.2" "python3.1" "python3" "python2.8" "python2.7" "python2" "python"; do
+  for python in "python3.10" "python3.9" "python3.8" "python3.7" "python3.5" "python3.4" "python3.3" "python3.2" "python3.1" "python3" "python2.8" "python2.7" "python2" "python"; do
     if [ "$PYTHON" = "" ] && [ "`$python -c 'print(1)' 2>/dev/null`" = "1" ]; then
       PYTHON="$python"
     fi