borgmatic: update to 1.2.7, fixes
This commit is contained in:
parent
a35230ab9e
commit
02cebb6ff3
1 changed files with 10 additions and 6 deletions
|
@ -1,20 +1,20 @@
|
||||||
# Template file for 'borgmatic'
|
# Template file for 'borgmatic'
|
||||||
pkgname=borgmatic
|
pkgname=borgmatic
|
||||||
version=1.2.6
|
version=1.2.7
|
||||||
revision=1
|
revision=1
|
||||||
|
noarch=yes
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
pycompile_module="borgmatic"
|
pycompile_module="borgmatic"
|
||||||
hostmakedepends="python3-setuptools python3-devel"
|
hostmakedepends="python3-setuptools"
|
||||||
makedepends="python3-devel"
|
depends="borg python3-setuptools python3-ruamel.yaml python3-pykwalify"
|
||||||
depends="borg python3-ruamel.yaml python3-pykwalify"
|
|
||||||
checkdepends="python3-ruamel.yaml python3-pytest python3-flexmock
|
checkdepends="python3-ruamel.yaml python3-pytest python3-flexmock
|
||||||
python3-pykwalify"
|
python3-pykwalify"
|
||||||
short_desc="Simple wrapper script for the Borg backup software"
|
short_desc="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=5ecab809c61bb9b3cbc4182b93d0e1d2c8cbde729b9f3c9e83f8a080124408b6
|
checksum=b32012fac0b9eb35f41ddef990df02be16cbc18e72dda1b04ee8bfac2eb9df23
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
# The tests use the NEWS file to get version and checks against
|
# The tests use the NEWS file to get version and checks against
|
||||||
|
@ -22,3 +22,7 @@ do_check() {
|
||||||
echo ${version} > ${wrksrc}/NEWS
|
echo ${version} > ${wrksrc}/NEWS
|
||||||
python3 -m pytest
|
python3 -m pytest
|
||||||
}
|
}
|
||||||
|
post_install() {
|
||||||
|
# remove tests directory polluting site-packages
|
||||||
|
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/tests
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue