aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean McAvoy <seanmcavoy@gmail.com>2022-02-24 01:08:52 -0500
committerJakub Jirutka <jakub@jirutka.cz>2022-03-06 19:47:34 +0000
commitd2d920c4d98c99e28b4eedcb0885424bad71256a (patch)
treed39628e11b7966fb5fd342bd26be71e35f8683cf
parentadf79a7dd47196b856a9dd489fdadb9edf635467 (diff)
downloadaports-d2d920c4d98c99e28b4eedcb0885424bad71256a.tar.gz
aports-d2d920c4d98c99e28b4eedcb0885424bad71256a.tar.bz2
aports-d2d920c4d98c99e28b4eedcb0885424bad71256a.tar.xz
community/borgbackup: upgrade to 1.2.0
-rw-r--r--community/borgbackup/APKBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/community/borgbackup/APKBUILD b/community/borgbackup/APKBUILD
index 8f5411e261..468347bff3 100644
--- a/community/borgbackup/APKBUILD
+++ b/community/borgbackup/APKBUILD
@@ -3,16 +3,16 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=borgbackup
_pkgname=borg
-pkgver=1.1.17
-pkgrel=3
+pkgver=1.2.0
+pkgrel=0
pkgdesc="Deduplicating backup program"
url="https://www.borgbackup.org/"
arch="all"
license="BSD-3-Clause"
-depends="python3 py3-packaging py3-pyzmq"
+depends="python3 py3-packaging py3-pyzmq py3-msgpack"
makedepends="python3-dev lz4-dev acl-dev attr-dev openssl1.1-compat-dev linux-headers
py3-setuptools py3-setuptools_scm"
-checkdepends="py3-pytest py3-pytest-benchmark"
+checkdepends="py3-pytest py3-pytest-benchmark py3-dateutil"
subpackages="
$pkgname-doc
$pkgname-bash-completion
@@ -27,13 +27,17 @@ case "$CARCH" in
*) makedepends="$makedepends zstd-dev" ;;
esac
+export BORG_OPENSSL_PREFIX="/usr/include/openssl"
+
build() {
# https://github.com/borgbackup/borg/issues/4891#issuecomment-615838317
- CFLAGS="$CFLAGS -DXXH_FORCE_MEMORY_ACCESS=1" python3 setup.py build
+ CFLAGS="$CFLAGS -DXXH_FORCE_MEMORY_ACCESS=1" \
+ python3 setup.py build
}
check() {
- PYTHONPATH="$(echo "$builddir"/build/lib.linux-*)" pytest -v --benchmark-skip --pyargs borg.testsuite
+ PYTHONPATH="$(echo "$builddir"/build/lib.linux-*)" pytest -v \
+ --benchmark-skip --pyargs borg.testsuite
}
package() {
@@ -56,5 +60,5 @@ package() {
}
sha512sums="
-6170680efcca35341031a8fcfd9434d2dca530bb6f7fcabbf452e6af6a8df5a825b4991d342f3c97bd7378d56b9ee86e6118f9281a31ba51235f49818852f4bb borgbackup-1.1.17.tar.gz
+c06a797439078118fc57418be2a9af64e84248659ba25cfc04dff7c67f9f52a033a11cd1e830410be390ae59dcacd2474f97d8b5886db7d4910486d0ad9b7c51 borgbackup-1.2.0.tar.gz
"