version=4
opts="filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/bagel-$1\.tar\.gz/" \
  https://github.com/qsimulate-open/bagel/tags .*/v?(\d\S+)\.tar\.gz
