]> arthur.barton.de Git - bup.git/blobdiff - dev/prep-for-freebsd-build
Fix all __del__ complaints; fail tests on AssertionErrors
[bup.git] / dev / prep-for-freebsd-build
index 609f8748df693873f3df5483df25db9c38a3a939..c95e77d21faa9e96bd137fbbf9cedd3963cbca5c 100755 (executable)
@@ -7,21 +7,27 @@ usage()
     echo "Usage: prep-for-freebsd-build [python2|python3]"
 }
 
-common_pkgs='gmake git bash rsync curl par2cmdline readline duplicity'
-common_pkgs="$common_pkgs rdiff-backup rsnapshot"
-
 pyver="${1:-python2}"
 
 # Install build deps
 export ASSUME_ALWAYS_YES=yes
 pkg update
 
+# https://reviews.freebsd.org/D24816
+pkg install rdiff-backup || true
+
+pkgs='gmake git bash rsync curl par2cmdline readline duplicity'
+pkgs="$pkgs rsnapshot"
+
 case "$pyver" in
     python2)
-        pkg install $common_pkgs python2 py27-tornado
+        pkgs="$pkgs python2 py27-tornado py27-pip"
+        pkg install $pkgs
+        pip-2.7 install --user pytest pytest-xdist
         ;;
     python3)
-        pkg install $common_pkgs python3 py37-tornado
+        pkgs="$pkgs python38 py38-tornado py38-pytest py38-pytest-xdist"
+        pkg install $pkgs
         ;;
     *)
         usage 1>&2