summaryrefslogtreecommitdiffstats
path: root/abs/extra/pyopenssl/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-18 03:28:27 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-18 03:28:27 (GMT)
commit5561085957b500e18e386deca7188026ef0b766f (patch)
treebfb8b5afb1077201d8a40b494ef7955959bcf7a9 /abs/extra/pyopenssl/PKGBUILD
parent2bbbb764167beba835309a4fa12718b3811812cb (diff)
downloadlinhes_pkgbuild-5561085957b500e18e386deca7188026ef0b766f.zip
linhes_pkgbuild-5561085957b500e18e386deca7188026ef0b766f.tar.gz
linhes_pkgbuild-5561085957b500e18e386deca7188026ef0b766f.tar.bz2
pyopenssl: update
Diffstat (limited to 'abs/extra/pyopenssl/PKGBUILD')
-rw-r--r--abs/extra/pyopenssl/PKGBUILD24
1 files changed, 15 insertions, 9 deletions
diff --git a/abs/extra/pyopenssl/PKGBUILD b/abs/extra/pyopenssl/PKGBUILD
index 6fb4ac1..6d2c355 100644
--- a/abs/extra/pyopenssl/PKGBUILD
+++ b/abs/extra/pyopenssl/PKGBUILD
@@ -1,15 +1,21 @@
+# $Id: PKGBUILD 87790 2010-08-18 10:10:07Z ibiru $
+# Maintainer : Ionut Biru<ibiru@archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
pkgname=pyopenssl
-pkgver=0.6
-pkgrel=4
+pkgver=0.10
+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' 'openssl')
-source=(http://easynews.dl.sourceforge.net/sourceforge/pyopenssl/pyOpenSSL-${pkgver}.tar.gz)
+license=('LGPL')
+depends=('python2' 'openssl')
+source=(http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-${pkgver}.tar.gz)
+md5sums=('34db8056ec53ce80c7f5fc58bee9f093')
build() {
- cd $startdir/src/pyOpenSSL-${pkgver}
- python setup.py build
- python setup.py install --prefix=$startdir/pkg/usr
- }
+ cd "${srcdir}/pyOpenSSL-${pkgver}"
+ python2 setup.py build
+ python2 setup.py install --prefix="$pkgdir/usr" --optimize=1
+}
+