File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ JAIL_IP?=172.16.0
4
4
JAIL_NET? =16
5
5
MYPYPATH = $(shell pwd) /.travis/mypy-stubs
6
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}
7
+ PYTHON_VERSION ?= $(TRAVIS_PYTHON_VERSION )
8
+ 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}
9
10
pyver = ${PYTHON:S/^python//:S/.//:C/\([0-9]+\)/\1/}
10
11
11
12
.if $(pyver) < 35
You can’t perform that action at this time.
0 commit comments