diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-08-21 20:07:06 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-08-23 08:41:53 +0000 |
commit | 8a2cabe289bd4e7eba4634b5b79de9c1e8b848f0 (patch) | |
tree | 1de001f94e91db8339a2327d4a81a5714c810ab7 /main/mercurial | |
parent | 401b4855fa4c15e4a2097cd98c68c0be6678e4c7 (diff) | |
download | aports-8a2cabe289bd4e7eba4634b5b79de9c1e8b848f0.tar.bz2 aports-8a2cabe289bd4e7eba4634b5b79de9c1e8b848f0.tar.xz |
main/mercurial: upgrade to 5.1
Diffstat (limited to 'main/mercurial')
-rw-r--r-- | main/mercurial/APKBUILD | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/main/mercurial/APKBUILD b/main/mercurial/APKBUILD index dc8d9074fc..1048c99af5 100644 --- a/main/mercurial/APKBUILD +++ b/main/mercurial/APKBUILD @@ -1,21 +1,20 @@ # Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mercurial -pkgver=5.0.2 +pkgver=5.1 pkgrel=0 pkgdesc="Scalable distributed SCM tool" url="https://www.mercurial-scm.org" arch="all" license="GPL-2.0-or-later" -depends="" -makedepends="python2-dev" +makedepends="python3-dev" subpackages=" $pkgname-doc $pkgname-vim:vim:noarch $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 + $pkgname-bash-completion:bashcomp:noarch + " +source="https://www.mercurial-scm.org/release/mercurial-$pkgver.tar.gz" # secfixes: # 4.9-r0: @@ -23,12 +22,12 @@ builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" - python2 setup.py build + HGPYTHON3=1 python3 setup.py build } package() { cd "$builddir" - python2 setup.py install --root="$pkgdir" + HGPYTHON3=1 python3 setup.py install --root="$pkgdir" install -m755 contrib/hgk contrib/hg-ssh hgeditor "$pkgdir"/usr/bin local man @@ -55,7 +54,7 @@ zshcomp() { install_if="$pkgname=$pkgver-r$pkgrel zsh" install -Dm644 "$builddir"/contrib/zsh_completion \ - "$subpkgdir"/usr/share/zsh/site-functions/_${pkgname} + "$subpkgdir"/usr/share/zsh/site-functions/_$pkgname } bashcomp() { @@ -64,7 +63,7 @@ bashcomp() { install_if="$pkgname=$pkgver-r$pkgrel bash-completion" install -Dm644 "$builddir"/contrib/bash_completion \ - "$subpkgdir"/usr/share/bash-completion/completions/${pkgname} + "$subpkgdir"/usr/share/bash-completion/completions/$pkgname } -sha512sums="8b328e2e5a2896b690492d75c055bb13cd76df6efb087ef770f60ead86e30f7d952cb3ca82a696c0c5ce7039c319bd0fc9b448a52c079653622760317d5bb315 mercurial-5.0.2.tar.gz" +sha512sums="cf7a64a181eeb3dc8f24067ea032fb17504358a9ed08cb50ac041e66ef20426c060d997cb5d30e7582874135b0a351b3e58d7297aaa4e009aabbf562a1ab9fae mercurial-5.1.tar.gz" |