Date: Friday, April 7, 2023 @ 09:06:39 Author: dvzrv Revision: 1440911
upgpkg: python-oscrypto 1.3.0-4: Rebuild against Python 3.11. Deselect broken tests: https://github.com/wbond/oscrypto/issues/73 Modified: python-oscrypto/trunk/PKGBUILD ----------+ PKGBUILD | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-04-07 08:59:18 UTC (rev 1440910) +++ PKGBUILD 2023-04-07 09:06:39 UTC (rev 1440911) @@ -1,7 +1,7 @@ # Maintainer: Jonas Witschel <[email protected]> pkgname=python-oscrypto pkgver=1.3.0 -pkgrel=3 +pkgrel=4 pkgdesc='Compiler-free Python crypto library backed by the OS' arch=('any') url='https://github.com/wbond/oscrypto' @@ -18,8 +18,19 @@ } check() { + local pytest_options=( + # https://github.com/wbond/oscrypto/issues/73 + --deselect tests/test_tls.py::TLSTests::test_tls_connect_dh1024 + --deselect tests/test_tls.py::TLSTests::test_tls_error_client_cert_required + --deselect tests/test_tls.py::TLSTests::test_tls_error_domain_mismatch + --deselect tests/test_tls.py::TLSTests::test_tls_error_san_mismatch + --deselect tests/test_tls.py::TLSTests::test_tls_error_wildcard_mismatch + --deselect tests/test_tls.py::TLSTests::test_tls_extra_trust_roots + --deselect tests/test_tls.py::TLSTests::test_tls_wildcard_success + ) + cd "${pkgname#python-}-$pkgver" - pytest + pytest "${pytest_options[@]}" } package() {
