[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-build-common] 39/50: configure: reduce tests to python3 + python3
From: |
gnunet |
Subject: |
[taler-build-common] 39/50: configure: reduce tests to python3 + python3.7 + python3.8; add check for python3 |
Date: |
Sat, 02 Nov 2019 16:38:58 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository build-common.
commit 6cb9711744d5bc32c4e8ebe6db53500826891f4c
Author: ng0 <address@hidden>
AuthorDate: Fri Oct 18 15:59:12 2019 +0000
configure: reduce tests to python3 + python3.7 + python3.8; add check for
python3
---
configure | 32 +++++++++++++++++++-------------
1 file changed, 19 insertions(+), 13 deletions(-)
diff --git a/configure b/configure
index f74d338..c50a146 100755
--- a/configure
+++ b/configure
@@ -42,19 +42,25 @@ existence()
# executable name because there is a PEP which
# defines the executable to be like this.
if existence python3; then
- python="python3"
-elif existence python3.1; then
- python="python3.1"
-elif existence python3.2; then
- python="python3.2"
-elif existence python3.3; then
- python="python3.3"
-elif existence python3.4; then
- python="python3.4"
-elif existence python3.5; then
- python="python3.5"
-elif existence python3.6; then
- python="python3.6"
+ if test ! -z "`python3 --version | awk '$2 ~ /3.7/ { print }'`"; then
+ python="python3"
+ else
+ echo "*** At least python 3.7 is required for the buildsystem"
+ exit 1
+ fi
+fi
+# elif existence python3.1; then
+# python="python3.1"
+# elif existence python3.2; then
+# python="python3.2"
+# elif existence python3.3; then
+# python="python3.3"
+# elif existence python3.4; then
+# python="python3.4"
+# elif existence python3.5; then
+# python="python3.5"
+# elif existence python3.6; then
+# python="python3.6"
elif existence python3.7; then
python="python3.7"
elif existence python3.8; then
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [taler-build-common] 25/50: apply most feedback + lint, (continued)
- [taler-build-common] 25/50: apply most feedback + lint, gnunet, 2019/11/02
- [taler-build-common] 28/50: check in code independent build system code., gnunet, 2019/11/02
- [taler-build-common] 41/50: start to make sh code reusable., gnunet, 2019/11/02
- [taler-build-common] 49/50: python is not always python3., gnunet, 2019/11/02
- [taler-build-common] 38/50: logging, gnunet, 2019/11/02
- [taler-build-common] 33/50: fix template, gnunet, 2019/11/02
- [taler-build-common] 42/50: Add PythonTool(). Contrary the code in sh/, it is limited to python3.7 - python4.0 right now., gnunet, 2019/11/02
- [taler-build-common] 37/50: link configure instead of copying, gnunet, 2019/11/02
- [taler-build-common] 27/50: refactor, rename switches, document more, add initial browser and pybabel detection., gnunet, 2019/11/02
- [taler-build-common] 43/50: configure: use a fixed location for the build-scripts., gnunet, 2019/11/02
- [taler-build-common] 39/50: configure: reduce tests to python3 + python3.7 + python3.8; add check for python3,
gnunet <=
- [taler-build-common] 32/50: build scripts as library, gnunet, 2019/11/02
- [taler-build-common] 45/50: fix syntax warning., gnunet, 2019/11/02
- [taler-build-common] 47/50: Revert "move tests to t.", gnunet, 2019/11/02
- [taler-build-common] 46/50: move tests to t., gnunet, 2019/11/02