26 lines
855 B
Bash
26 lines
855 B
Bash
# Template file for 'borgmatic'
|
|
pkgname=borgmatic
|
|
version=1.5.10
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="borg python3-setuptools python3-ruamel.yaml python3-pykwalify
|
|
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-only"
|
|
homepage="https://torsion.org/borgmatic/"
|
|
distfiles="${PYPI_SITE}/b/borgmatic/borgmatic-${version}.tar.gz"
|
|
checksum=31459e5573c34b7b9e53ad54012be6d367e2f23c0612fd5a315593ebf23074c5
|
|
|
|
do_check() {
|
|
# runs not yet installed self
|
|
rm tests/integration/commands/test_borgmatic.py
|
|
python3 -m pytest
|
|
}
|
|
|
|
post_install() {
|
|
# remove tests directory polluting site-packages
|
|
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/tests
|
|
}
|