desktop/python2-openssl/PKGBUILD
2014-06-04 08:55:30 +00:00

25 lines
696 B
Bash

# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
pkgname=python2-openssl
pkgver=0.14
pkgrel=1
pkgdesc="pyOpenSSL is a Python interface to the OpenSSL library"
arch=('x86_64')
url="http://pyopenssl.sourceforge.net"
license=('LGPL')
depends=('python2' 'openssl' 'python2-setuptools' 'python2-six' 'python2-crypto')
replaces=('pyopenssl')
provides=('pyopenssl')
source=(http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-${pkgver}.tar.gz)
md5sums=('8579ff3a1d858858acfba5f046a4ddf7')
build() {
cd "${srcdir}/pyOpenSSL-${pkgver}"
python2 setup.py build
}
package() {
cd "${srcdir}/pyOpenSSL-${pkgver}"
python2 setup.py install --root "${pkgdir}" --optimize=1
}