From 49393bba118e095e2972523a26977e2b31e550ff Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Fri, 13 Sep 2013 10:49:01 -0300 Subject: Tahoe LAFS --- pcr/tahoe-lafs/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pcr/tahoe-lafs/PKGBUILD (limited to 'pcr/tahoe-lafs/PKGBUILD') diff --git a/pcr/tahoe-lafs/PKGBUILD b/pcr/tahoe-lafs/PKGBUILD new file mode 100644 index 000000000..8ace70679 --- /dev/null +++ b/pcr/tahoe-lafs/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor: Peter Simons +# Contributor: Nicolas Pouillard +pkgname=tahoe-lafs +pkgver=1.10.0 +pkgrel=1 +pkgdesc="a secure, decentralized, fault-tolerant filesystem" +arch=('any') +url='http://tahoe-lafs.org/' +license=('GPL') +# net-tools is needed because Tahoe-LAFS uses /sbin/ifconfig +depends=('net-tools' 'python2' 'python2-zope-interface>=3.6.5' + 'twisted' 'python2-pyasn1' 'python2-crypto' 'pycryptopp' 'nevow' + 'python2-foolscap' 'python2-simplejson' 'zfec' 'python2-pyopenssl' + 'pyutil' 'python2-argparse' 'zbase32' 'python2-mock>=0.8.0') +source=(nodaemon.patch https://tahoe-lafs.org/source/tahoe-lafs/releases/allmydata-tahoe-$pkgver.tar.bz2) +sha256sums=('7fb13a50bdca729b9c78f12369e56fccf55594b646bddb270d55c08c83ce3449' + '9c5516700fe95fdf8c57eca1e2a7b4aebf2de9a4d327d50afd684ebf833ccfe2') + +build(){ + cd "$srcdir/allmydata-tahoe-$pkgver" + patch -p0 < ../nodaemon.patch + python2 setup.py build + # disabled due to the nodaemon patch and the test_filesystem* tests + #python2 setup.py test || return 1 +} + +package(){ + cd "$srcdir/allmydata-tahoe-$pkgver" + python2 setup.py install --root="$pkgdir" +} -- cgit v1.2.3