diff --git a/srcpkgs/python-openssl/template b/srcpkgs/python-openssl/template index ff1ae3918cb..266e3326b8c 100644 --- a/srcpkgs/python-openssl/template +++ b/srcpkgs/python-openssl/template @@ -1,18 +1,24 @@ # Template file for 'python-openssl' pkgname=python-openssl -version=19.1.0 -revision=3 +version=20.0.1 +revision=1 wrksrc="pyOpenSSL-${version}" build_style=python-module hostmakedepends="python-setuptools python3-setuptools" depends="python-cryptography python-six" +checkdepends="python3-cryptography python3-six + python3-pytest python3-flaky python3-pretend" short_desc="Python2 interface to the OpenSSL library" maintainer="Alessio Sergi " license="Apache-2.0" homepage="https://pyopenssl.org/" changelog="https://raw.githubusercontent.com/pyca/pyopenssl/master/CHANGELOG.rst" distfiles="${PYPI_SITE}/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz" -checksum=9a24494b2602aaf402be5c9e30a0b82d4a5c67528fe8fb475e3f3bc00dd69507 +checksum=4c231c759543ba02560fcd2480c48dcec4dae34c9da7d3747c508227e0624b51 + +do_check() { + PYTHONPATH="$(cd build-${py3_ver}/lib* && pwd)" python3 -m pytest +} python3-openssl_package() { depends="python3-cryptography python3-six"