25 lines
858 B
Bash
25 lines
858 B
Bash
# Template file for 'borgmatic'
|
|
pkgname=borgmatic
|
|
version=1.2.6
|
|
revision=1
|
|
build_style=python3-module
|
|
pycompile_module="borgmatic"
|
|
hostmakedepends="python3-setuptools python3-devel"
|
|
makedepends="python3-devel"
|
|
depends="borg python3-ruamel.yaml python3-pykwalify"
|
|
checkdepends="python3-ruamel.yaml python3-pytest python3-flexmock
|
|
python3-pykwalify"
|
|
short_desc="Simple wrapper script for the Borg backup software"
|
|
maintainer="Renato Aguiar <renato@renag.me>"
|
|
license="GPL-3.0-only"
|
|
homepage="https://torsion.org/borgmatic/"
|
|
distfiles="${PYPI_SITE}/b/borgmatic/borgmatic-${version}.tar.gz"
|
|
checksum=5ecab809c61bb9b3cbc4182b93d0e1d2c8cbde729b9f3c9e83f8a080124408b6
|
|
|
|
do_check() {
|
|
# The tests use the NEWS file to get version and checks against
|
|
# setup.py's version, see: tests/integration/test_version.py
|
|
echo ${version} > ${wrksrc}/NEWS
|
|
python3 -m pytest
|
|
}
|