From 0d7c6e754bbcdbc7b0b70089803792a3ebf9b1a8 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Sun, 1 May 2022 22:21:03 -0400 Subject: [PATCH] python3-cryptography: update to 37.0.1. --- srcpkgs/python3-cryptography/template | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-cryptography/template b/srcpkgs/python3-cryptography/template index 278446d27ef..12fd50551a1 100644 --- a/srcpkgs/python3-cryptography/template +++ b/srcpkgs/python3-cryptography/template @@ -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