summaryrefslogtreecommitdiff
path: root/extra/pyopenssl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pyopenssl/PKGBUILD')
-rw-r--r--extra/pyopenssl/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/extra/pyopenssl/PKGBUILD b/extra/pyopenssl/PKGBUILD
index b24f162b7..7056b53f7 100644
--- a/extra/pyopenssl/PKGBUILD
+++ b/extra/pyopenssl/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 138458 2011-09-23 18:52:47Z ibiru $
+# $Id: PKGBUILD 169005 2012-10-17 10:19:52Z allan $
# Maintainer : Ionut Biru<ibiru@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgbase=pyopenssl
-pkgname=('pyopenssl' 'python2-pyopenssl')
+pkgname=('python-pyopenssl' 'python2-pyopenssl')
pkgver=0.13
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64' 'mips64el')
url="http://pypi.python.org/pypi/pyOpenSSL"
license=('LGPL2.1')
@@ -26,9 +26,12 @@ build() {
python2 setup.py build
}
-package_pyopenssl(){
+package_python-pyopenssl(){
pkgdesc="Python3 wrapper module around the OpenSSL library"
- depends=('python>=3.2' 'openssl')
+ depends=('python>=3.3' 'openssl')
+ replaces=('pyopenssl')
+ provides=('pyopenssl')
+ conflicts=('pyopenssl')
cd "${srcdir}/pyOpenSSL-${pkgver}"
python setup.py install --root "${pkgdir}" --optimize=1