[arch-commits] Commit in pyopenssl/trunk (PKGBUILD)

Ionut Biru ibiru at archlinux.org
Wed Aug 18 06:10:08 EDT 2010


    Date: Wednesday, August 18, 2010 @ 06:10:07
  Author: ibiru
Revision: 87790

upgpkg: pyopenssl 0.10-3
python rebuild

Modified:
  pyopenssl/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-18 10:09:38 UTC (rev 87789)
+++ PKGBUILD	2010-08-18 10:10:07 UTC (rev 87790)
@@ -1,21 +1,20 @@
 # $Id$
-# Maintainer : Biru Ionut <ionut at archlinux.ro>
+# Maintainer : Ionut Biru<ibiru at archlinux.org>
 # Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
 
 pkgname=pyopenssl
 pkgver=0.10
-pkgrel=2
+pkgrel=3
 pkgdesc="pyOpenSSL is a Python interface to the OpenSSL library"
 arch=('i686' 'x86_64')
 url="http://pyopenssl.sourceforge.net"
-license=("GPL")
-depends=('python>=2.6' 'openssl')
-#source=(http://downloads.sourceforge.net/sourceforge/pyopenssl/pyOpenSSL-${pkgver}.tar.gz)
-source=(http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-$pkgver.tar.gz)
-sha256sums=('4514f8960389042ca2587f9cb801a13f7990387753fc678680b0c084719b5b60')
+license=('LGPL')
+depends=('python2' 'openssl')
+source=(http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-${pkgver}.tar.gz)
+md5sums=('34db8056ec53ce80c7f5fc58bee9f093')
 
 build() {
-	cd "$srcdir/pyOpenSSL-$pkgver"
-	python setup.py build
-	python setup.py install --prefix="$pkgdir/usr"
+    cd "${srcdir}/pyOpenSSL-${pkgver}"
+    python2 setup.py build
+    python2 setup.py install --prefix="$pkgdir/usr" --optimize=1
 }



More information about the arch-commits mailing list