void-packages/srcpkgs/python3-cryptography/template
2024-01-31 09:28:17 -05:00

29 lines
1.1 KiB
Bash

# Template file for 'python3-cryptography'
pkgname=python3-cryptography
version=42.0.2
revision=1
build_style=python3-pep517
build_helper="rust"
make_check_args="--ignore tests/bench/test_x509.py --ignore tests/bench/test_aead.py"
hostmakedepends="python3-setuptools-rust python3-wheel python3-cffi cargo pkg-config"
makedepends="python3-devel rust-std openssl-devel"
depends="python3-cffi"
checkdepends="python3-pytest-subtests python3-pytest-xdist
python3-iso8601 python3-pytz python3-cryptography_vectors
python3-pretend python3-hypothesis python3-pytest-benchmark $depends"
short_desc="Python3 library that provides cryptographic recipes and primitives"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
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=e0ec52ba3c7f1b7d813cd52649a5b3ef1fc0d433219dc8c93827c57eab6cf888
pre_check() {
vsed -i '/addopts/d' pyproject.toml
}
post_install() {
vlicense LICENSE
vlicense LICENSE.BSD
}