void-packages/srcpkgs/borgmatic/template
2021-10-29 00:00:05 -03:00

23 lines
944 B
Bash

# Template file for 'borgmatic'
pkgname=borgmatic
version=1.5.20
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="Orphaned <orphan@voidlinux.org>"
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=0aa6705cd72c6bd8fec94ba9e5e13ba9e90e6671799af2f2f5cb91186b90b7e5
post_install() {
# remove tests directory polluting site-packages
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/tests
}