borg: update to 1.2.8.

This commit is contained in:
Leah Neukirchen 2024-04-03 13:08:55 +02:00
parent b99610ff1f
commit 373260f9de
1 changed files with 3 additions and 10 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'borg'
pkgname=borg
version=1.2.7
revision=2
version=1.2.8
revision=1
build_style=python3-module
make_check_args="-k not((benchmark)or(readonly))"
make_check_target="build/lib.*/borg/testsuite"
@ -16,20 +16,13 @@ license="BSD-3-Clause"
homepage="https://www.borgbackup.org"
changelog="https://borgbackup.readthedocs.io/en/stable/changes.html#changelog"
distfiles="${PYPI_SITE}/b/borgbackup/borgbackup-${version}.tar.gz"
checksum=f63f28a3383c041971cec87b061ca39a815b5fd445db24aa8172cac417d9411a
checksum=d39d22b0d2cb745584d68608a179b6c75f7b40e496e96feb789e41d34991f4aa
export BORG_OPENSSL_PREFIX="${XBPS_CROSS_BASE}/usr"
export BORG_LIBLZ4_PREFIX="${XBPS_CROSS_BASE}/usr"
export BORG_LIBZSTD_PREFIX="${XBPS_CROSS_BASE}/usr"
export BORG_LIBXXHASH_PREFIX="${XBPS_CROSS_BASE}/usr"
post_extract() {
# borg#8133
vsed -i '/msgpack/s/<=1.0.7/<=1.0.8/g' setup.py
vsed -i '/msgpack/s/<= (1, 0, 7)/<= (1, 0, 8)/g' src/borg/helpers/msgpack.py
}
post_install() {
vlicense LICENSE