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