void-packages/srcpkgs/python-openssl/template

27 lines
778 B
Bash

# Template file for 'python-openssl'
pkgname=python-openssl
version=18.0.0
revision=1
archs=noarch
wrksrc="pyOpenSSL-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python-cryptography python-six"
pycompile_module="OpenSSL"
short_desc="Python2 interface to the OpenSSL library"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://pyopenssl.org/"
license="Apache-2.0"
distfiles="${PYPI_SITE}/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz"
checksum=6488f1423b00f73b7ad5167885312bb0ce410d3312eb212393795b53c8caa580
python3-openssl_package() {
archs=noarch
depends="python3-cryptography python3-six"
pycompile_module="OpenSSL"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}