Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37734725
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-pyHanko-certvalidator

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define  oname pyHanko-certvalidator
%define  mname pyhanko_certvalidator

%def_with check

Name:    python3-module-%oname
Version: 0.24.0
Release: alt1

Summary: Python library for validating X.509 certificates and paths

License: MIT
Group:   Development/Python3
URL:     https://github.com/MatthiasValvekens/certvalidator

Packager: Grigory Ustinov <grenka at altlinux.org>

BuildRequires(pre): rpm-build-python3

BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel

%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-asn1crypto
BuildRequires: python3-module-oscrypto
BuildRequires: python3-module-requests
BuildRequires: python3-module-aiohttp
BuildRequires: python3-module-uritools
BuildRequires: python3-module-freezegun
%endif

BuildArch: noarch

Source:  %name-%version.tar

%description
Forked from wbond/certvalidator, with patches for pyHanko.

A Python library for validating X.509 certificates or paths.
Supports various options, including: validation at a specific moment in time,
whitelisting and revocation checks.

%prep
%setup

%build
%pyproject_build

%install
%pyproject_install

%check
export PYTHONPATH=%buildroot%python3_sitelibdir
py.test-3 --ignore tests/test_crl_client.py --ignore tests/test_ocsp_client.py -k"
not test_revocation_mode_hard and \
not test_revocation_mode_hard_aiohttp_autofetch and \
not test_revocation_mode_hard_async and \
not test_revocation_mode_hard_requests_autofetch and \
not test_basic_certificate_validator_tls_aia"

%files
%doc *.md
%python3_sitelibdir/%mname
%python3_sitelibdir/%mname-%version.dist-info

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin