void-packages/srcpkgs/bup/template

25 lines
668 B
Bash

# Template file for 'bup'
pkgname=bup
version=0.33
revision=2
build_style=configure
hostmakedepends="python3 perl git pandoc"
makedepends="python3-devel"
checkdepends="python3-pytest tar rsync"
short_desc="Backup system based on the git packfile format"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.0-only"
homepage="https://github.com/bup/bup"
distfiles="https://github.com/bup/bup/archive/${version}.tar.gz"
checksum=2c21b25ab0ab845e1490cf20781bdb46e93b9c06f0c6df4ace760afc07a63fe9
python_version=3
nocross=yes
pre_configure() {
vsed -e 's#^PREFIX=.*#PREFIX=/usr#' -i GNUmakefile
}
do_check() {
./pytest -x --ignore-glob='test/ext/test-ls*'
}