borg: update to 1.2.1.

This commit is contained in:
Joel Beckmeyer 2022-03-24 12:52:43 -04:00 committed by Leah Neukirchen
parent 52c3e7eff4
commit cc39aabf3b
1 changed files with 14 additions and 9 deletions

View File

@ -1,19 +1,24 @@
# Template file for 'borg' # Template file for 'borg'
pkgname=borg pkgname=borg
version=1.1.17 version=1.2.1
revision=3 revision=1
wrksrc="borgbackup-${version}" wrksrc="borgbackup-${version}"
build_style=python3-module build_style=python3-module
hostmakedepends="python3-setuptools python3-devel openssl-devel" 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))"
makedepends="${hostmakedepends/python3-setuptools/} acl-devel liblz4-devel libzstd-devel" make_check_target="build/lib.*/borg/testsuite"
depends="python3-llfuse python3-setuptools python3-packaging" hostmakedepends="python3-setuptools python3-dateutil python3-pkgconfig"
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
# don't work in chroot
checkdepends="python3-pytest ${depends/python3-llfuse/}"
short_desc="Deduplicating backup program with compression and encryption" short_desc="Deduplicating backup program with compression and encryption"
maintainer="Leah Neukirchen <leah@vuxu.org>" maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-3-Clause" license="BSD-3-Clause"
homepage="https://borgbackup.github.io/" homepage="https://borgbackup.github.io/"
changelog="https://borgbackup.readthedocs.io/en/stable/changes.html#changelog" changelog="https://borgbackup.readthedocs.io/en/stable/changes.html#changelog"
distfiles="${PYPI_SITE}/b/borgbackup/borgbackup-${version}.tar.gz" distfiles="${PYPI_SITE}/b/borgbackup/borgbackup-${version}.tar.gz"
checksum=7ab924fc017b24929bedceba0dcce16d56f9868bf9b5050d2aae2eb080671674 checksum=9f9ce2d1923cb33a147ee6d08177d860974567721b1142fca67914a02e64c633
export BORG_OPENSSL_PREFIX="${XBPS_CROSS_BASE}/usr" export BORG_OPENSSL_PREFIX="${XBPS_CROSS_BASE}/usr"
export BORG_LIBLZ4_PREFIX="${XBPS_CROSS_BASE}/usr" export BORG_LIBLZ4_PREFIX="${XBPS_CROSS_BASE}/usr"
@ -35,7 +40,7 @@ post_install() {
done done
cd scripts/shell_completions cd scripts/shell_completions
vinstall bash/${pkgname} 644 usr/share/bash-completion/completions ${pkgname} vcompletion bash/${pkgname} bash
vinstall fish/${pkgname}.fish 644 usr/share/fish/vendor_completions.d vcompletion fish/${pkgname}.fish fish
vinstall zsh/_${pkgname} 644 usr/share/zsh/site-functions _${pkgname} vcompletion zsh/_${pkgname} zsh
} }