We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28e715c commit c6620ccCopy full SHA for c6620cc
Makefile
@@ -4,8 +4,9 @@ JAIL_IP?=172.16.0
4
JAIL_NET?=16
5
MYPYPATH = $(shell pwd)/.travis/mypy-stubs
6
7
-PYTHON_VERSION != if [ "$(PYTHON_VERSION)" != "" ]; then echo $(PYTHON_VERSION); else pkg info -g 'python3*' | cut -d'-' -f1 | sed 's/^python//' | sort -n | tail -n1 | sed -r 's/^([0-9])([0-9]+)/\1.\2/'; fi
8
-PYTHON ?= python${PYTHON_VERSION}
+PYTHON_VERSION ?= $(TRAVIS_PYTHON_VERSION)
+SELECTED_PYTHON_VERSION != if [ "$(PYTHON_VERSION)" != "" ]; then echo $(PYTHON_VERSION); else pkg info -g 'python3*' | cut -d'-' -f1 | sed 's/^python//' | sort -n | tail -n1 | sed -r 's/^([0-9])([0-9]+)/\1.\2/'; fi
9
+PYTHON ?= python${SELECTED_PYTHON_VERSION}
10
pyver= ${PYTHON:S/^python//:S/.//:C/\([0-9]+\)/\1/}
11
12
.if $(pyver) < 35
0 commit comments