void-packages/srcpkgs/bup/template
Érico Rolim 529b5f37a4 bup: update to 0.32, switch to python3.
Also fix xbps-src check.

Co-authored-by: Enno Boland <gottox@voidlinux.org>
2021-02-22 15:45:53 -03:00

24 lines
654 B
Bash

# Template file for 'bup'
pkgname=bup
version=0.32
revision=1
build_style=configure
hostmakedepends="python3 perl git"
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=a894cfa96c44b9ef48003b2c2104dc5fa6361dd2f4d519261a93178984a51259
python_version=3
nocross=yes
pre_configure() {
sed -i 's#^PREFIX=.*#PREFIX=/usr#' Makefile
}
do_check() {
./pytest -x --ignore-glob='test/ext/test-ls*'
}