borgmatic: update to 1.2.6.

This commit is contained in:
maxice8 2018-09-30 22:48:36 -03:00 committed by maxice8
parent 08db4cd530
commit 8bd8a1f5b7
1 changed files with 12 additions and 3 deletions

View File

@ -1,15 +1,24 @@
# Template file for 'borgmatic' # Template file for 'borgmatic'
pkgname=borgmatic pkgname=borgmatic
version=1.2.2 version=1.2.6
revision=1 revision=1
build_style=python3-module build_style=python3-module
pycompile_module="borgmatic" pycompile_module="borgmatic"
hostmakedepends="python3-setuptools python3-devel" hostmakedepends="python3-setuptools python3-devel"
makedepends="${hostmakedepends/python3-setuptools/}" makedepends="python3-devel"
depends="borg python3-ruamel.yaml python3-pykwalify" 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" short_desc="Simple wrapper script for the Borg backup software"
maintainer="Renato Aguiar <renato@renag.me>" maintainer="Renato Aguiar <renato@renag.me>"
license="GPL-3.0-only" license="GPL-3.0-only"
homepage="https://torsion.org/borgmatic/" homepage="https://torsion.org/borgmatic/"
distfiles="${PYPI_SITE}/b/borgmatic/borgmatic-${version}.tar.gz" distfiles="${PYPI_SITE}/b/borgmatic/borgmatic-${version}.tar.gz"
checksum=3d3079f84b2f4e13f7052c109adae358ef3383405e028aa6d3bbb698240de2af 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
}