aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2019-03-20 15:07:05 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2019-04-17 11:45:35 +0000
commit4d6c148d24655c64247183a17bc835ae4c750953 (patch)
tree743e3d490d5868044929b779db9fc6584c59a281
parentae695ce21b8fa4abdc55017e6743fa127200019b (diff)
downloadaports-4d6c148d24655c64247183a17bc835ae4c750953.tar.gz
aports-4d6c148d24655c64247183a17bc835ae4c750953.tar.bz2
aports-4d6c148d24655c64247183a17bc835ae4c750953.tar.xz
main/py-openssl: upgrade to 19.0.0
-rw-r--r--main/py-openssl/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/main/py-openssl/APKBUILD b/main/py-openssl/APKBUILD
index 92c2d299b1..0d3b6a6c42 100644
--- a/main/py-openssl/APKBUILD
+++ b/main/py-openssl/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-openssl
_pkgname=pyOpenSSL
-pkgver=18.0.0
+pkgver=19.0.0
pkgrel=0
pkgdesc="Python wrapper module around the OpenSSL library"
url="https://github.com/pyca/pyopenssl"
@@ -9,9 +9,11 @@ arch="noarch"
license="Apache-2.0"
depends="py-cryptography py-six"
makedepends="python2-dev py-setuptools python3-dev"
+checkdepends="pytest"
subpackages="py3-${pkgname#py-}:_py3 py2-${pkgname#py-}:_py2"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
+options="!check" # depends on flaky
build() {
cd "$builddir"
@@ -19,6 +21,12 @@ build() {
python3 setup.py build
}
+check() {
+ cd "$builddir"
+ python2 setup.py test
+ python3 setup.py test
+}
+
package() {
mkdir -p "$pkgdir"
}
@@ -44,4 +52,4 @@ _py3() {
_py python3
}
-sha512sums="7106d4116243a164c1f458ad495564c2cf3a46b4b0fbb1d452b4174ead4409bc9c783c3a4674231ed3c26ecf588077b01dadbdefe033d5e7251a61531c6f6c15 pyOpenSSL-18.0.0.tar.gz"
+sha512sums="a7e12bf5be725ccebd1223d567a9b9e8bd35f79cbf3a0409108fa6f00e10ab137dd6876369e9dede02b2abc7d700786cc905532ca5c31b6e246f6df8b24e2818 pyOpenSSL-19.0.0.tar.gz"