python3-cryptography: update to 37.0.1.
This commit is contained in:
parent
aa59af2922
commit
0d7c6e754b
|
@ -1,10 +1,11 @@
|
|||
# Template file for 'python3-cryptography'
|
||||
pkgname=python3-cryptography
|
||||
version=36.0.2
|
||||
version=37.0.1
|
||||
revision=1
|
||||
wrksrc="${pkgname#python3-}-${version}"
|
||||
build_style=python3-module
|
||||
build_helper="rust"
|
||||
make_check_args="--ignore tests/bench/test_x509.py"
|
||||
hostmakedepends="python3-setuptools-rust python3-cffi cargo"
|
||||
makedepends="python3-devel openssl-devel"
|
||||
depends="python3-cffi"
|
||||
|
@ -16,7 +17,7 @@ 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=70f8f4f7bb2ac9f340655cbac89d68c527af5bb4387522a8413e841e3e6628c9
|
||||
checksum=d610d0ee14dd9109006215c7c0de15eee91230b70a9bce2263461cf7c3720b83
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
makedepends+=" rust-std"
|
||||
|
@ -24,6 +25,10 @@ if [ "$CROSS_BUILD" ]; then
|
|||
export PYO3_CROSS_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
|
||||
fi
|
||||
|
||||
pre_check() {
|
||||
vsed -i '/addopts/d' pyproject.toml
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
vlicense LICENSE.BSD
|
||||
|
|
Loading…
Reference in New Issue