summaryrefslogtreecommitdiff
path: root/pcr/pyutil
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-09-13 10:49:01 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-09-13 10:49:01 -0300
commit49393bba118e095e2972523a26977e2b31e550ff (patch)
tree4a6769d8ccc0eb45d83f149e269aa91a54e7a93f /pcr/pyutil
parent23c93a8bc3b2e79b3438f12ca03a3ef28a44fcbb (diff)
Tahoe LAFS
Diffstat (limited to 'pcr/pyutil')
-rw-r--r--pcr/pyutil/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
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 <nicolas.pouillard@gmail.com>
+# Contributor: 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/
+
+}