void-packages/srcpkgs/python-openssl/template

24 lines
778 B
Bash

# Template file for 'python-openssl'
pkgname=python-openssl
version=19.1.0
revision=3
wrksrc="pyOpenSSL-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python-cryptography python-six"
short_desc="Python2 interface to the OpenSSL library"
maintainer="Alessio Sergi <al3hex@gmail.com>"
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
python3-openssl_package() {
depends="python3-cryptography python3-six"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}