27 lines
1.2 KiB
Bash
27 lines
1.2 KiB
Bash
# Template file for 'borgmatic'
|
|
pkgname=borgmatic
|
|
version=1.7.6
|
|
revision=1
|
|
build_style=python3-module
|
|
# test_borgmatic.py runs not yet installed self,
|
|
# tests from test_execute.py sporadically fail in CI
|
|
make_check_args="--deselect=tests/integration/commands/test_borgmatic.py
|
|
--deselect=tests/integration/test_execute.py::test_log_outputs_returns_output_without_logging_for_output_log_level_none
|
|
--deselect=tests/integration/test_execute.py::test_log_outputs_logs_each_line_separately"
|
|
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=4cd87495a340c8790864b0b9d61cdc852203bec1ecb7668fc6845d23a31dafce
|
|
|
|
post_install() {
|
|
# remove tests directory polluting site-packages
|
|
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/tests
|
|
}
|