-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathtemplate
More file actions
31 lines (29 loc) · 1.18 KB
/
template
File metadata and controls
31 lines (29 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Template file for 'python3-cryptography'
# On update, check python3-openssl,
# it has very tie requirements for cryptography
pkgname=python3-cryptography
version=46.0.6
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 python3-cffi cargo pkg-config maturin"
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 <[email protected]>"
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=27550628a518c5c6c903d84f637fbecf287f6cb9ced3804838a1295dc1fd0759
pre_check() {
vsed -i '/addopts/d' pyproject.toml
}
post_install() {
vlicense LICENSE
vlicense LICENSE.BSD
}