From 49393bba118e095e2972523a26977e2b31e550ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Reynolds?= Date: Fri, 13 Sep 2013 10:49:01 -0300 Subject: Tahoe LAFS --- pcr/pyutil/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pcr/pyutil/PKGBUILD (limited to 'pcr/pyutil') diff --git a/pcr/pyutil/PKGBUILD b/pcr/pyutil/PKGBUILD new file mode 100644 index 000000000..7c3ca9f60 --- /dev/null +++ b/pcr/pyutil/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Nicolas Pouillard +# Contributor: Peter Simons +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/ + +} -- cgit v1.2.3-2-g168b