]> arthur.barton.de Git - bup.git/blobdiff - dev/prep-for-macos-build
README: fix and simplify cirrus badges
[bup.git] / dev / prep-for-macos-build
index 94233a5091c62557fa9ae07472dd9a13b7f8e35c..e5594417cf63aa24e71bc70dd85775e8c7aa88c4 100755 (executable)
@@ -9,10 +9,11 @@ usage()
 
 pyver="${1:-python2}"
 
-/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
+if ! command -v brew; then
+    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
+fi
 
-brew update
-brew install par2 readline rsync pkg-config
+brew install par2 readline rsync pkg-config md5sha1sum
 
 # This avoid's macos interference, i.e. without this it looks like we
 # won't actually be able to use the readline we just installed above.
@@ -26,7 +27,6 @@ case "$pyver" in
         ;;
     python3)
         brew install python
-        easy_install --user pip
         pip3 install --user pytest pytest-xdist
         ;;
     *)