aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/py3-pygit2/APKBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/community/py3-pygit2/APKBUILD b/community/py3-pygit2/APKBUILD
index 8043bd4a08..8c416c8042 100644
--- a/community/py3-pygit2/APKBUILD
+++ b/community/py3-pygit2/APKBUILD
@@ -3,8 +3,8 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-pygit2
_pkgname=pygit2
-pkgver=1.4.0
-pkgrel=1
+pkgver=1.7.0
+pkgrel=0
pkgdesc="Python bindings for libgit2"
url="https://github.com/libgit2/pygit2"
arch="all"
@@ -20,6 +20,9 @@ builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-pygit" # Backward compat
provides="py-pygit=$pkgver-r$pkgrel" # Backward compat
+# 2/6 tests fail https://github.com/libgit2/pygit2/issues/812
+[ "$CARCH" = "s390x" ] && options="!check"
+
build() {
python3 setup.py build_ext --inplace
}
@@ -32,5 +35,7 @@ package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-sha512sums="b6b9d5028fd63593e6ecd869735132edeeb55c1fd97664be5d0d5dac0c25f844ce0d981782fad7f47e54555ab1f7fa5e87d1ad8a76340d81e1f908ad4ea1e35a pygit2-1.4.0.tar.gz
-c0e22ae9a50cb727bae87fd2b03c5b71b7aee77b88764133b9d60d78a9903895d80db10c037859cbc9bfc06d251c2ed169b63c06798e70169de2b39b12fa0fc5 s390x-patch-context-mark-xfail.patch"
+sha512sums="
+3a8654036d0ab875898ce60e81bcab48bdb6d6bd63c29dc98272c71b5c82391e3186da61083fba09faf722e176fed5c592a36edb53ae0b957726e74646d25616 pygit2-1.7.0.tar.gz
+c0e22ae9a50cb727bae87fd2b03c5b71b7aee77b88764133b9d60d78a9903895d80db10c037859cbc9bfc06d251c2ed169b63c06798e70169de2b39b12fa0fc5 s390x-patch-context-mark-xfail.patch
+"