borgmatic: update to 1.2.8.

This commit is contained in:
maxice8 2018-10-14 23:44:17 -03:00 committed by maxice8
parent d85f6731c9
commit 6f146d779b
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'borgmatic'
pkgname=borgmatic
version=1.2.7
version=1.2.8
revision=1
noarch=yes
build_style=python3-module
@ -14,7 +14,7 @@ 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=b32012fac0b9eb35f41ddef990df02be16cbc18e72dda1b04ee8bfac2eb9df23
checksum=a8eeee4a9bb2741acdb27833c1083ed49b136c92792c669a2b8734825fe7e67c
do_check() {
# The tests use the NEWS file to get version and checks against
@ -22,6 +22,7 @@ do_check() {
echo ${version} > ${wrksrc}/NEWS
python3 -m pytest
}
post_install() {
# remove tests directory polluting site-packages
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/tests