apr 19 update
This commit is contained in:
		@ -1,11 +1,11 @@
 | 
			
		||||
ZPOOL=""
 | 
			
		||||
SERVER=""
 | 
			
		||||
PYTHON?=/usr/local/bin/python3.7
 | 
			
		||||
PYTHON?=/usr/local/bin/python3.8
 | 
			
		||||
 | 
			
		||||
depends:
 | 
			
		||||
	@(pkg -vv | grep -e "url.*/latest") > /dev/null 2>&1 || (echo "It is advised pkg url is using \"latest\" instead of \"quarterly\" in /etc/pkg/FreeBSD.conf.";)
 | 
			
		||||
	@test -s ${PYTHON} || (echo "Python binary ${PYTHON} not found, iocage will install python37"; pkg install -q -y python37)
 | 
			
		||||
	pkg install -q -y py37-libzfs
 | 
			
		||||
	@test -s ${PYTHON} || (echo "Python binary ${PYTHON} not found, iocage will install python38"; pkg install -q -y python38)
 | 
			
		||||
	pkg install -q -y py38-libzfs
 | 
			
		||||
	${PYTHON} -m ensurepip
 | 
			
		||||
	${PYTHON} -m pip install -Ur requirements.txt
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,3 @@
 | 
			
		||||
pkg install python37 py37-cython py37-pip py37-libzfs py37-six
 | 
			
		||||
python3.7 -m pip install pip==19.3.1
 | 
			
		||||
pkg install python38 py38-cython py38-pip py38-libzfs py38-six
 | 
			
		||||
python3.8 -m pip install pip==19.3.1
 | 
			
		||||
# iocage install does not work with pip 20.x
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user