summaryrefslogtreecommitdiffstats
path: root/abs/extra/pyopenssl/PKGBUILD
diff options
context:
space:
mode:
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
+}
+