void-packages/srcpkgs/python3-openssl/template

22 lines
802 B
Bash

# Template file for 'python3-openssl'
pkgname=python3-openssl
version=22.0.0
revision=1
wrksrc="pyOpenSSL-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-cryptography"
checkdepends="python3-pytest $depends python3-flaky python3-pretend"
short_desc="Python3 interface to the OpenSSL library"
maintainer="Orphaned <orphan@voidlinux.org>"
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=660b1b1425aac4a1bea1d94168a85d99f0b3144c869dd4390d27629d0087f1bf
if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
# https://github.com/pyca/pyopenssl/issues/974
make_check_args="-k not(test_verify_with_time)"
fi