void-packages/srcpkgs/python-cryptography/template

25 lines
952 B
Bash

# Template file for 'python-cryptography'
pkgname=python-cryptography
version=3.3.2
revision=2
wrksrc="cryptography-${version}"
build_style=python2-module
hostmakedepends="python-setuptools openssl-devel python-enum34
python-ipaddress python-six python-cffi python-idna"
makedepends="openssl-devel python-devel"
depends="python-cffi python-six python-enum34 python-idna python-ipaddress"
short_desc="Python2 library that provides cryptographic recipes and primitives"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="BSD-3-Clause, Apache-2.0"
homepage="https://github.com/pyca/cryptography"
changelog="https://raw.githubusercontent.com/pyca/cryptography/master/CHANGELOG.rst"
distfiles="${PYPI_SITE}/c/cryptography/cryptography-${version}.tar.gz"
checksum=5a60d3780149e13b7a6ff7ad6526b38846354d11a15e21068e57073e29e19bed
# Test dependency python-iso8601 has been dropped
make_check=no
post_install() {
vlicense LICENSE
vlicense LICENSE.BSD
}