void-packages/srcpkgs/borgmatic/template
2021-12-03 15:05:23 -03:00

24 lines
947 B
Bash

# Template file for 'borgmatic'
pkgname=borgmatic
version=1.5.21
revision=1
build_style=python3-module
# runs not yet installed self
make_check_args="--deselect=tests/integration/commands/test_borgmatic.py"
hostmakedepends="python3-setuptools"
depends="borg python3-setuptools python3-ruamel.yaml python3-jsonschema
python3-colorama python3-requests"
checkdepends="${depends} python3-pytest-cov python3-flexmock"
short_desc="Wrapper script for the Borg backup software"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="GPL-3.0-or-later"
homepage="https://torsion.org/borgmatic/"
changelog="https://projects.torsion.org/borgmatic-collective/borgmatic/raw/branch/master/NEWS"
distfiles="${PYPI_SITE}/b/borgmatic/borgmatic-${version}.tar.gz"
checksum=b8aa9dbf250b95b829827310c9638a17cd52fee160a437283eed23bffcae83cf
post_install() {
# remove tests directory polluting site-packages
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/tests
}