From 8bd8a1f5b7587faeb4312ff4b65c7ce251b72f4a Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sun, 30 Sep 2018 22:48:36 -0300 Subject: [PATCH] borgmatic: update to 1.2.6. --- srcpkgs/borgmatic/template | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/srcpkgs/borgmatic/template b/srcpkgs/borgmatic/template index d5110f3204c..9980833fd79 100644 --- a/srcpkgs/borgmatic/template +++ b/srcpkgs/borgmatic/template @@ -1,15 +1,24 @@ # Template file for 'borgmatic' pkgname=borgmatic -version=1.2.2 +version=1.2.6 revision=1 build_style=python3-module pycompile_module="borgmatic" hostmakedepends="python3-setuptools python3-devel" -makedepends="${hostmakedepends/python3-setuptools/}" +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 " license="GPL-3.0-only" homepage="https://torsion.org/borgmatic/" 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 +}