[arch-commits] Commit in pycrypto/trunk (PKGBUILD)
Ionut Biru
ibiru at archlinux.org
Wed Aug 18 13:32:33 UTC 2010
Date: Wednesday, August 18, 2010 @ 09:32:33
Author: ibiru
Revision: 87853
upgpkg: pycrypto 2.2-1
update to 2.2 and python rebuild
Modified:
pycrypto/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-08-18 13:24:37 UTC (rev 87852)
+++ PKGBUILD 2010-08-18 13:32:33 UTC (rev 87853)
@@ -3,20 +3,20 @@
# Contributor: Kritoke <kritoke at gamebox.net>
pkgname=pycrypto
-pkgver=2.1.0
+pkgver=2.2
pkgrel=1
pkgdesc="Collection of cryptographic algorithms and protocols, implemented for use from Python."
arch=(i686 x86_64)
-depends=('python')
+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=('253e1c22ea0249f0429df4f7e2eb973b119c83b146c0f421298f5e8e6822d8a2')
+sha256sums=('9219449bc85ab4f4ff61fc83b0cbe0ec23d46943caab3d5413c6ba52da6f922c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- python setup.py build
- python setup.py install --root="${pkgdir}"
+ 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}/"
More information about the arch-commits
mailing list