From 2bbbb764167beba835309a4fa12718b3811812cb Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Thu, 18 Nov 2010 03:28:06 +0000 Subject: pycrypto: update --- abs/extra/pycrypto/PKGBUILD | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/abs/extra/pycrypto/PKGBUILD b/abs/extra/pycrypto/PKGBUILD index 2801337..fba0c5d 100644 --- a/abs/extra/pycrypto/PKGBUILD +++ b/abs/extra/pycrypto/PKGBUILD @@ -1,19 +1,23 @@ -# $Id: PKGBUILD 17322 2008-10-28 12:29:19Z douglas $ +# $Id: PKGBUILD 96778 2010-10-24 17:01:27Z ibiru $ # Maintainer: Jan de Groot # Contributor: Kritoke pkgname=pycrypto -pkgver=2.0.1 -pkgrel=3 -pkgdesc="A collection of cryptographic algorithms and protocols, implemented for use from Python." +pkgver=2.3 +pkgrel=1 +pkgdesc="Collection of cryptographic algorithms and protocols, implemented for use from Python." arch=(i686 x86_64) -depends=('python' 'gmp') -url="http://www.amk.ca/python/code/crypto.html" -license=(GPL) -source=(http://www.amk.ca/files/python/crypto/${pkgname}-${pkgver}.tar.gz) -md5sums=('4d5674f3898a573691ffb335e8d749cd') +depends=('python2') +url="http://www.dlitz.net/software/pycrypto/" +license=(custom) +source=(http://ftp.dlitz.net/pub/dlitz/crypto/${pkgname}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('4f11e85fbcf13960373650fc2dae8f088f9b001f07fb6d3efb2fcb5334987182') build() { - cd ${startdir}/src/${pkgname}-${pkgver} - python setup.py build install --root=${startdir}/pkg + cd "${srcdir}/${pkgname}-${pkgver}" + python2 setup.py build + python2 setup.py install --root="${pkgdir}" --optimize=1 + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/" + cp -r LEGAL "${pkgdir}/usr/share/licenses/${pkgname}/" } -- cgit v0.12