diff options
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/python_modules/pyopenssl/PKGBUILD | 26 | ||||
-rw-r--r-- | abs/core/python_modules/pyopenssl/__changelog | 2 |
2 files changed, 14 insertions, 14 deletions
diff --git a/abs/core/python_modules/pyopenssl/PKGBUILD b/abs/core/python_modules/pyopenssl/PKGBUILD index d99cafa..2753f8f 100644 --- a/abs/core/python_modules/pyopenssl/PKGBUILD +++ b/abs/core/python_modules/pyopenssl/PKGBUILD @@ -4,16 +4,18 @@ # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgbase=pyopenssl -pkgname=('python2-pyopenssl') -pkgver=16.0.0 +pkgname=('python-pyopenssl' 'python2-pyopenssl') +pkgver=17.5.0 pkgrel=1 arch=('any') url="http://pypi.python.org/pypi/pyOpenSSL" license=('LGPL2.1') -makedepends=('openssl' 'python2-setuptools' 'python2-cryptography') -checkdepends=('python2-pytest-runner') -source=(http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-$pkgver.tar.gz) -md5sums=('9587d813dcf656e9f2760e41a3682dc3') +makedepends=('openssl' 'python-setuptools' 'python2-setuptools' 'python-cryptography' + 'python2-cryptography') +checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-pretend' 'python2-pretend' + 'python-flaky' 'python2-flaky') +source=("https://pypi.io/packages/source/p/pyOpenSSL/pyOpenSSL-$pkgver.tar.gz") +sha512sums=('f194662b5842f1e3a4fcb910b9f2e6482d1dcdf834f306acc3dd6d9723f65038f7bff550248fa6268d90c839c9d9e8248bb6c7d399495fe6aed25291b93ece86') prepare() { cp -a pyOpenSSL-$pkgver{,-py2} @@ -23,7 +25,7 @@ prepare() { build () { cd "$srcdir"/pyOpenSSL-$pkgver -# python setup.py build + python setup.py build cd "$srcdir"/pyOpenSSL-$pkgver-py2 python2 setup.py build @@ -32,16 +34,19 @@ build () { check () { ( cd "$srcdir"/pyOpenSSL-$pkgver - python setup.py ptr + python setup.py pytest cd "$srcdir"/pyOpenSSL-$pkgver-py2 - python2 setup.py ptr + python2 setup.py pytest ) || warning "Tests failed due to missing SSLv3_METHOD" } package_python-pyopenssl(){ pkgdesc="Python3 wrapper module around the OpenSSL library" depends=('openssl' 'python-six' 'python-cryptography') + replaces=('pyopenssl') + provides=('pyopenssl') + conflicts=('pyopenssl') cd "$srcdir"/pyOpenSSL-$pkgver python setup.py install --root="$pkgdir" --optimize=1 @@ -50,9 +55,6 @@ package_python-pyopenssl(){ package_python2-pyopenssl(){ pkgdesc="Python2 wrapper module around the OpenSSL library" depends=('openssl' 'python2-six' 'python2-cryptography') - replaces=('pyopenssl') - provides=('pyopenssl') - conflicts=('pyopenssl') cd "$srcdir"/pyOpenSSL-$pkgver-py2 python2 setup.py install --root="$pkgdir" --optimize=1 diff --git a/abs/core/python_modules/pyopenssl/__changelog b/abs/core/python_modules/pyopenssl/__changelog deleted file mode 100644 index 3de0e7a..0000000 --- a/abs/core/python_modules/pyopenssl/__changelog +++ /dev/null @@ -1,2 +0,0 @@ -PKGBUILD: rm py 3 stuff -PKGBUILD: move provides/replaces/conflicts to python2-pyopenssl |