]> arthur.barton.de Git - bup.git/blobdiff - dev/prep-for-debianish-build
Drop vestigial compat.range
[bup.git] / dev / prep-for-debianish-build
index f441d5b6e23c6deeb166c7a2c0cc154890e18120..56ab0dbd3b2f4ae0bce46263d6ab88b01068bc1a 100755 (executable)
@@ -4,7 +4,7 @@ set -exuo pipefail
 
 usage()
 {
-    echo "Usage: prep-for-debianish-build [python2|python3] [pyxattr|xattr]"
+    echo "Usage: prep-for-debianish-build [python3] [pyxattr|xattr]"
 }
 
 export DEBIAN_FRONTEND=noninteractive
@@ -12,25 +12,20 @@ apt-get update
 
 common_debs='gcc make linux-libc-dev git rsync eatmydata acl attr par2'
 common_debs="$common_debs duplicity rdiff-backup rsnapshot dosfstools kmod"
-common_debs="$common_debs libreadline-dev libacl1-dev"
+common_debs="$common_debs pkg-config libreadline-dev libacl1-dev"
 
-pyver="${1:-python2}"
+pyver="${1:-python3}"
 xattr="${2:-pyxattr}"
 
 # dosfstools: for vfat for the (root) tests
 
 case "$pyver" in
-    python2)
-        apt-get install -y \
-                $common_debs \
-                python2.7-dev python-fuse \
-                python-"$xattr" python-tornado
-        ;;
     python3)
         apt-get install -y \
                 $common_debs \
-                python3.7-dev python3-distutils python3-fuse \
-                python3-"$xattr" python3-tornado
+                python3-dev python3-distutils python3-fuse \
+                python3-"$xattr" python3-tornado python3-pytest \
+                python3-pytest-xdist pylint3
         ;;
     *)
         usage 1>&2