diff options
author | André Klitzing <aklitzing@gmail.com> | 2017-03-28 20:58:44 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-10 11:21:39 +0000 |
commit | 4bec687cba32dbfec1d1887bd0aea3ed6c55eae4 (patch) | |
tree | 901c570af406e0bf753dbe1f93f2e257b67432d0 /main/py-hgtools | |
parent | 333939963bf1abdc8196988dabe2b5da2368b0d0 (diff) | |
download | aports-4bec687cba32dbfec1d1887bd0aea3ed6c55eae4.tar.bz2 aports-4bec687cba32dbfec1d1887bd0aea3ed6c55eae4.tar.xz |
main/py-hgtools: upgrade to 6.5.2
* Modernize abuild
* Update homepage
Diffstat (limited to 'main/py-hgtools')
-rw-r--r-- | main/py-hgtools/APKBUILD | 34 |
1 files changed, 9 insertions, 25 deletions
diff --git a/main/py-hgtools/APKBUILD b/main/py-hgtools/APKBUILD index bb700fa126..d883347266 100644 --- a/main/py-hgtools/APKBUILD +++ b/main/py-hgtools/APKBUILD @@ -2,40 +2,24 @@ # Maintainer: William Pitcock <nenolod@dereferenced.org> pkgname=py-hgtools _pkgname=hgtools -pkgver=3.0.2 +pkgver=6.5.2 pkgrel=0 -pkgdesc="setuptools plugin for mercurial repositories" -url="https://bitbucket.org/elarson/hgtools" +pkgdesc="Classes and setuptools plugin for Mercurial and Git repositories" +url="https://pypi.python.org/pypi/hgtools" arch="noarch" license="GPL2" -depends="py-setuptools" -depends_dev="" -makedepends="$depends_dev" -install="" -subpackages="" -source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip" - -_builddir="$srcdir"/$_pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +makedepends="py-setuptools" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir"/$_pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" python2 setup.py build || return 1 } package() { - cd "$_builddir" + cd "$builddir" python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 } -md5sums="5ba749feb5f78ef3e7baf43ad79e0e42 hgtools-3.0.2.zip" -sha256sums="c07d775c12653767a6677cb81eea40952f1795b1da9dba4d3e42ffe7f6df8657 hgtools-3.0.2.zip" -sha512sums="0160c6ac2361371359d96012dbdd191d99f9f9b3161ac97308c0479a810847c2c233f6598ee50f94538e34ddeb418f70830f58280a1a3526b59e6a36dc163587 hgtools-3.0.2.zip" +sha512sums="8927d0b1970a367116d27a62d1f673af5de6a064cff1187d05139a4c9bb78886639c9683c012526393be046f589eb66793f7cbab2bc4fe6f52a582f70e56915f hgtools-6.5.2.tar.gz" |