2022-07-29 09:22:43 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-truststore
|
|
|
|
#
|
2025-01-28 10:35:05 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2022-07-29 09:22:43 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2024-03-05 09:33:39 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2022-07-29 09:22:43 +00:00
|
|
|
Name: python-truststore
|
2025-02-24 10:44:31 +00:00
|
|
|
Version: 0.10.1
|
2022-07-29 09:22:43 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Verify certificates using OS trust stores
|
|
|
|
License: MIT
|
|
|
|
URL: https://github.com/sethmlarson/truststore
|
|
|
|
Source: https://github.com/sethmlarson/truststore/archive/refs/tags/v%{version}.tar.gz#/truststore-%{version}.tar.gz
|
|
|
|
BuildRequires: %{python_module aiohttp}
|
2023-09-30 13:15:18 +00:00
|
|
|
BuildRequires: %{python_module flaky}
|
2022-07-29 09:22:43 +00:00
|
|
|
BuildRequires: %{python_module flit-core}
|
2023-09-30 13:15:18 +00:00
|
|
|
BuildRequires: %{python_module httpx}
|
2022-07-29 09:22:43 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2024-10-03 05:44:11 +00:00
|
|
|
BuildRequires: %{python_module pyOpenSSL}
|
2022-07-29 09:22:43 +00:00
|
|
|
BuildRequires: %{python_module pytest-asyncio}
|
|
|
|
BuildRequires: %{python_module pytest-httpserver}
|
|
|
|
BuildRequires: %{python_module pytest}
|
2023-09-30 13:15:18 +00:00
|
|
|
BuildRequires: %{python_module requests}
|
2022-07-29 09:22:43 +00:00
|
|
|
BuildRequires: %{python_module trustme}
|
|
|
|
BuildRequires: %{python_module urllib3}
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildArch: noarch
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
%description
|
|
|
|
Verify certificates using OS trust stores. Supports macOS,
|
|
|
|
Windows, and Linux (with OpenSSL). This project should be
|
|
|
|
considered experimental.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n truststore-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
%install
|
|
|
|
%pyproject_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
%check
|
2025-01-28 10:35:05 +00:00
|
|
|
%pytest -s -k 'not internet and not test_wrong_host_succeeds_with_hostname_verification_disabled'
|
2022-07-29 09:22:43 +00:00
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
%doc README.md
|
|
|
|
%license LICENSE
|
|
|
|
%{python_sitelib}/truststore
|
2024-08-14 05:39:21 +00:00
|
|
|
%{python_sitelib}/truststore-%{version}.dist-info
|
2022-07-29 09:22:43 +00:00
|
|
|
|
|
|
|
%changelog
|