vp-build/srcpkgs/borgmatic/template

24 lines
947 B
Bash

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