]> arthur.barton.de Git - bup.git/blobdiff - dev/prep-for-freebsd-build
Drop vestigial compat.range
[bup.git] / dev / prep-for-freebsd-build
index 9631b412cf2d284027f17db4cc2322881899769f..556b72deeb4f31a09eafe240b203cb3cc280a60c 100755 (executable)
@@ -4,10 +4,10 @@ set -exu
 
 usage()
 {
-    echo "Usage: prep-for-freebsd-build [python2|python3]"
+    echo "Usage: prep-for-freebsd-build [python3]"
 }
 
-pyver="${1:-python2}"
+pyver="${1:-python3}"
 
 # Install build deps
 export ASSUME_ALWAYS_YES=yes
@@ -20,13 +20,8 @@ pkgs='gmake git bash rsync curl par2cmdline readline duplicity'
 pkgs="$pkgs rsnapshot"
 
 case "$pyver" in
-    python2)
-        pkgs="$pkgs python2 py27-tornado py27-pip"
-        pkg install $pkgs
-        pip-2.7 install --user pytest pytest-xdist
-        ;;
     python3)
-        pkgs="$pkgs python37 py37-tornado py37-pytest py37-pytest-xdist"
+        pkgs="$pkgs python38 py38-tornado py38-pytest py38-pytest-xdist"
         pkg install $pkgs
         ;;
     *)