void-packages/srcpkgs/borgmatic/template
2022-01-16 15:55:21 -03:00

23 lines
947 B
Bash

# Template file for 'borgmatic'
pkgname=borgmatic
version=1.5.22
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=593865eb8c008647a0d66c9d2673a3497cdc958605e2aef48901dd7d82a4785f
post_install() {
# remove tests directory polluting site-packages
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/tests
}