blob: 8bc264382fbd0d5a3daf9ad697383e5926136b69 (
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
|
# Maintainer (Arch): Nicolas Pouillard <nicolas.pouillard@gmail.com>
# Contributor (Arch): Peter Simons <simons@cryp.to>
pkgname=pyutil
pkgver=1.9.4
pkgrel=2
pkgdesc="general-purpose python library (used by tahoe-lafs)"
arch=('any')
url='http://pypi.python.org/pypi/pyutil'
license=('GPL2' 'custom')
depends=('python2')
makedepends=('setuptools' 'darcsver' 'setuptools_darcs' 'python2-simplejson') # 'zbase32') # missing: setuptools_trial
source=( http://pypi.python.org/packages/source/p/pyutil/pyutil-$pkgver.tar.gz )
md5sums=('af51cf296b574112e115c9dfba51464d')
build(){
cd "$srcdir/$pkgname-$pkgver"
python2 setup.py build
python2 setup.py trial
}
package(){
cd "$srcdir/$pkgname-$pkgver"
python2 setup.py install --root="$pkgdir"
install -d $pkgdir/usr/share/licenses/$pkgname/
install -m644 COPYING* $pkgdir/usr/share/licenses/$pkgname/
}
|