Subject: [alpine-aports] [PATCH] main/mercurial: upgrade to 4.1

From: Valery Kartel <[email-masked]>
Date: Mon, 6 Feb 2017 16:04:58 +0200

---
 main/mercurial/APKBUILD | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/main/mercurial/APKBUILD b/main/mercurial/APKBUILD
index 1126798b66..f01c45c2fc 100644
--- a/main/mercurial/APKBUILD
+++ b/main/mercurial/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: Sören Tempel <[email-masked]>
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=mercurial
-pkgver=4.0.1
+pkgver=4.1
 pkgrel=0
 pkgdesc="A scalable distributed SCM tool"
 url="https://www.mercurial-scm.org/"
@@ -15,8 +15,7 @@ subpackages="
 	$pkgname-zsh-completion:zshcomp:noarch
 	$pkgname-bash-completion:bashcomp:noarch"
 source="https://www.mercurial-scm.org/release/$pkgname-$pkgver.tar.gz"
-
-builddir="$srcdir"/$pkgname-$pkgver
+builddir="$srcdir/$pkgname-$pkgver"
 
 build() {
 	cd "$builddir"
@@ -28,7 +27,7 @@ package() {
 	python2 setup.py install --root="$pkgdir" || return 1
 	install -m755 contrib/hgk hgeditor "$pkgdir"/usr/bin || return 1
 
-	for man in doc/*.?; do
+	local man; for man in doc/*.?; do
 		install -Dm644 "$man" \
 			"$pkgdir"/usr/share/man/man${man##*.}/${man##*/} || return 1
 	done
@@ -63,6 +62,6 @@ bashcomp() {
 		"$subpkgdir"/usr/share/bash-completion/completions/${pkgname} || return 1
 }
 
-md5sums="22a9b1d7c0c06a53f0ae5b386d536d08  mercurial-4.0.1.tar.gz"
-sha256sums="6aa4ade93c1b5e11937820880a466ebf1c824086d443cd799fc46e2617250d40  mercurial-4.0.1.tar.gz"
-sha512sums="145bb80d5dbefb5b770a8d74ce31929fafbd235bb3f641bcaa54b1f5278b2abef4298025152aaba212f639c307741d3aaf75be83e3fc52eaf440c86e4a804459  mercurial-4.0.1.tar.gz"
+md5sums="59c7072a70c8b41dbde801f935c47aea  mercurial-4.1.tar.gz"
+sha256sums="7b33c32cdd1d518bc2e2ae223e6ef63c486cf52e9d01a45b99cf8eab7bea5274  mercurial-4.1.tar.gz"
+sha512sums="02e4aabe47473194961870909d4512a4be6814cccb51b727dfa9a34dd0aa5f92bfad7b03e6b58ce6c7e2531df52dac530f02264df28dcfc801036fe103cd4471  mercurial-4.1.tar.gz"
-- 
2.11.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---