summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/pycryptopp/PKGBUILD48
1 files changed, 27 insertions, 21 deletions
diff --git a/pcr/pycryptopp/PKGBUILD b/pcr/pycryptopp/PKGBUILD
index 7dd659593..48c444c1c 100644
--- a/pcr/pycryptopp/PKGBUILD
+++ b/pcr/pycryptopp/PKGBUILD
@@ -1,31 +1,37 @@
-# Maintainer (Arch): Nicolas Pouillard <nicolas.pouillard@gmail.com>
-# Contributor (Arch): Peter Simons <simons@cryp.to>
+# Maintainer: Nicolas Pouillard <nicolas.pouillard@gmail.com>
+# Contributor: Peter Simons <simons@cryp.to>
+
pkgname=pycryptopp
-pkgver=0.6.0
-_pkgtag=1206569328141510525648634803928199668821045408958
-pkgrel=2
+pkgver=0.7.1
+_pkgtag=869544967005693312591928092448767568728501330214
+pkgrel=1
+
pkgdesc="Python wrappers for the Crypto++ library"
-arch=('i686' 'x86_64' 'mips64el')
+arch=('i686' 'x86_64')
url='http://allmydata.org/trac/pycryptopp'
-license=('GPL2' 'custom')
+license=('GPL')
+makedepends=('python2-setuptools')
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')
+
+source=("https://pypi.python.org/packages/7c/e2/7e035d306c7516c471802d7cd7b6c1e403e582489bc5c14706854a187a24/$pkgname-$pkgver.$_pkgtag.tar.gz")
+
+#key 242BE85F: public key "Zooko Wilcox-O'Hearn (Hacker) <zooko@zooko.com>"
+validpgpkeys=('A60B7EE17164D0C5F13738685F22F428242BE85F')
+sha256sums=('08ad57a1a39b7ed23c173692281da0b8d49d98ad3dcc09f8cca6d901e142699f')
build() {
- cd "$srcdir/$pkgname-$pkgver.$_pkgtag"
- export PYCRYPTOPP_DISABLE_EMBEDDED_CRYPTOPP=1
- python2 setup.py build
- python2 setup.py test
+ cd "$srcdir/$pkgname-$pkgver.$_pkgtag"
+ export PYCRYPTOPP_USE_SYSTEM_CRYPTOPP_WITH_ASM=1
+ export PYCRYPTOPP_DISABLE_EMBEDDED_CRYPTOPP=1
+ python2 setup.py build
}
-package() {
- cd "$srcdir/$pkgname-$pkgver.$_pkgtag"
- python2 setup.py install --root="$pkgdir"
+check() {
+ cd "$srcdir/$pkgname-$pkgver.$_pkgtag"
+ python2 setup.py test
+}
- install -d $pkgdir/usr/share/licenses/$pkgname/
- install -m 644 COPYING* $pkgdir/usr/share/licenses/$pkgname/
+package() {
+ cd "$srcdir/$pkgname-$pkgver.$_pkgtag"
+ python2 setup.py install --root="$pkgdir"
}