27 lines
783 B
Bash
27 lines
783 B
Bash
# Template file for 'python-openssl'
|
|
pkgname=python-openssl
|
|
version=17.5.0
|
|
revision=1
|
|
noarch=yes
|
|
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="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="https://github.com/pyca/pyopenssl"
|
|
license="Apache-2.0"
|
|
distfiles="${PYPI_SITE}/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz"
|
|
checksum=2c10cfba46a52c0b0950118981d61e72c1e5b1aac451ca1bc77de1a679456773
|
|
|
|
python3-openssl_package() {
|
|
noarch=yes
|
|
depends="python3-cryptography python3-six"
|
|
pycompile_module="OpenSSL"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|