blob: 7db3756379660cd9b6b048e4799d9755332e842b (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=py-hgtools
_pkgname=hgtools
pkgver=3.0.2
pkgrel=0
pkgdesc="setuptools plugin for mercurial repositories"
url="https://bitbucket.org/elarson/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
}
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python 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"
|