aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-hgtools/APKBUILD
blob: e87d0d679180f552f02da469a847b96e25314607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=py-hgtools
_pkgname=hgtools
pkgver=6.5.2
pkgrel=0
pkgdesc="Classes and setuptools plugin for Mercurial and Git repositories"
url="https://pypi.python.org/pypi/hgtools"
arch="noarch"
license="GPL-2.0"
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"
	python2 setup.py build || return 1
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

sha512sums="8927d0b1970a367116d27a62d1f673af5de6a064cff1187d05139a4c9bb78886639c9683c012526393be046f589eb66793f7cbab2bc4fe6f52a582f70e56915f  hgtools-6.5.2.tar.gz"