borg: update to 1.2.2.

This commit is contained in:
Leah Neukirchen 2022-08-21 14:36:29 +02:00
parent 19f85624fa
commit 1545c52a07

View file

@ -1,12 +1,13 @@
# Template file for 'borg'
pkgname=borg
version=1.2.1
version=1.2.2
revision=1
wrksrc="borgbackup-${version}"
build_style=python3-module
make_check_args="-k not((benchmark)or(test_readonly_check)or(test_readonly_diff)or(test_readonly_export_tar)or(test_readonly_extract)or(test_readonly_info)or(test_readonly_list))"
make_check_target="build/lib.*/borg/testsuite"
hostmakedepends="python3-setuptools python3-dateutil python3-pkgconfig"
hostmakedepends="python3-dateutil python3-pip python3-pkgconfig
python3-setuptools python3-wheel"
makedepends="python3-devel openssl-devel acl-devel liblz4-devel libzstd-devel"
depends="python3-llfuse python3-msgpack python3-packaging python3-argon2"
# llfuse is purposefully not included in checkdepends since the tests using it
@ -18,16 +19,16 @@ license="BSD-3-Clause"
homepage="https://borgbackup.github.io/"
changelog="https://borgbackup.readthedocs.io/en/stable/changes.html#changelog"
distfiles="${PYPI_SITE}/b/borgbackup/borgbackup-${version}.tar.gz"
checksum=9f9ce2d1923cb33a147ee6d08177d860974567721b1142fca67914a02e64c633
checksum=d730687443f1beb602b1d72bae36318f6f9654818fcdc50458540ec579e57260
export BORG_OPENSSL_PREFIX="${XBPS_CROSS_BASE}/usr"
export BORG_LIBLZ4_PREFIX="${XBPS_CROSS_BASE}/usr"
export BORG_LIBZSTD_PREFIX="${XBPS_CROSS_BASE}/usr"
pre_build() {
Xpre_build() {
vsed -i setup.py \
-e '/setup_requires=/d' \
-e '/use_scm_version=/,+2d' \
-e '/use_scm_version=/,+3d' \
-e "/name=/ a\
version='${version}',"
}