aboutsummaryrefslogtreecommitdiffstats
path: root/main/mercurial/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/mercurial/APKBUILD')
-rw-r--r--main/mercurial/APKBUILD16
1 files changed, 13 insertions, 3 deletions
diff --git a/main/mercurial/APKBUILD b/main/mercurial/APKBUILD
index 1248de41e9..9ec93e6c46 100644
--- a/main/mercurial/APKBUILD
+++ b/main/mercurial/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mercurial
-pkgver=5.3.2
+pkgver=5.4
pkgrel=0
pkgdesc="Scalable distributed SCM tool"
url="https://www.mercurial-scm.org"
@@ -9,13 +9,18 @@ arch="all"
license="GPL-2.0-or-later"
depends="python3"
makedepends="python3-dev"
+checkdepends="unzip diffutils xz sqlite gettext py3-docutils"
subpackages="
$pkgname-doc
$pkgname-vim:vim:noarch
$pkgname-zsh-completion:zshcomp:noarch
$pkgname-bash-completion:bashcomp:noarch
"
-source="https://www.mercurial-scm.org/release/mercurial-$pkgver.tar.gz"
+source="https://www.mercurial-scm.org/release/mercurial-$pkgver.tar.gz
+ blacklist.txt"
+case "$CARCH" in
+ armv7) options="$options !check" ;; # around 400 of 919 tests time out
+esac
# secfixes:
# 4.9-r0:
@@ -25,6 +30,10 @@ build() {
HGPYTHON3=1 python3 setup.py build
}
+check() {
+ make PYTHON=python3 TESTFLAGS=--blacklist="$srcdir/blacklist.txt" tests
+}
+
package() {
HGPYTHON3=1 python3 setup.py install --root="$pkgdir"
install -m755 contrib/hgk contrib/hg-ssh hgeditor "$pkgdir"/usr/bin
@@ -65,4 +74,5 @@ bashcomp() {
"$subpkgdir"/usr/share/bash-completion/completions/$pkgname
}
-sha512sums="b0afcf82b51676d2e7592eb9b29f9611d59816399166400027b6c8b29c10c9ddc96b57f7913e78f938b1345bb7ac29ecd4ddc793165b7cf192c3c7a95712cc99 mercurial-5.3.2.tar.gz"
+sha512sums="5f92d653ab74da4696ba7f1402e6cb219c0c514a5eeecb9d7282ab95aef2c6f16d5c8e3d0149525f3dc694a133c713b671ba92327e1b0dc3ad8701d522986d8d mercurial-5.4.tar.gz
+5fcbfed5ba4f48550f50eeaab92e3f6d17bc6b2c26ad0aca6f12e238d4f8f3291810d6f215a4e5b22b96d7b0841e250eb19301eb71487803f878b82c00daac2b blacklist.txt"