diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-09-13 10:49:01 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-09-13 10:49:01 -0300 |
commit | 49393bba118e095e2972523a26977e2b31e550ff (patch) | |
tree | 4a6769d8ccc0eb45d83f149e269aa91a54e7a93f /pcr/pycryptopp/PKGBUILD | |
parent | 23c93a8bc3b2e79b3438f12ca03a3ef28a44fcbb (diff) | |
download | abslibre-49393bba118e095e2972523a26977e2b31e550ff.tar.gz abslibre-49393bba118e095e2972523a26977e2b31e550ff.tar.bz2 abslibre-49393bba118e095e2972523a26977e2b31e550ff.zip |
Tahoe LAFS
Diffstat (limited to 'pcr/pycryptopp/PKGBUILD')
-rw-r--r-- | pcr/pycryptopp/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/pycryptopp/PKGBUILD b/pcr/pycryptopp/PKGBUILD new file mode 100644 index 000000000..f95654884 --- /dev/null +++ b/pcr/pycryptopp/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Nicolas Pouillard <nicolas.pouillard@gmail.com> +# Contributor: Peter Simons <simons@cryp.to> +pkgname=pycryptopp +pkgver=0.6.0 +_pkgtag=1206569328141510525648634803928199668821045408958 +pkgrel=2 +pkgdesc="Python wrappers for the Crypto++ library" +arch=('i686' 'x86_64') +url='http://allmydata.org/trac/pycryptopp' +license=('GPL2' 'custom') +depends=('python2' 'crypto++') +makedepends=('darcsver' 'setuptools_darcs') +source=( http://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.$_pkgtag.tar.gz + http://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.$_pkgtag.tar.gz.asc ) +md5sums=('ce38fbe03705d27da408c78b56eb1947' + '76fe2da5b1fc964d9e1ee4596c36d5bf') + +build() { + cd "$srcdir/$pkgname-$pkgver.$_pkgtag" + export PYCRYPTOPP_DISABLE_EMBEDDED_CRYPTOPP=1 + python2 setup.py build + python2 setup.py test +} + +package() { + cd "$srcdir/$pkgname-$pkgver.$_pkgtag" + python2 setup.py install --root="$pkgdir" + + install -d $pkgdir/usr/share/licenses/$pkgname/ + install -m 644 COPYING* $pkgdir/usr/share/licenses/$pkgname/ +} |