2014-06-02 09:01:12 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-service_identity
|
|
|
|
#
|
2023-02-25 22:07:59 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2014-06-02 09:01:12 +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.
|
|
|
|
|
2018-09-25 11:55:57 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-07-26 12:32:18 +00:00
|
|
|
#
|
|
|
|
|
2014-06-02 09:01:12 +00:00
|
|
|
|
2015-07-26 12:32:18 +00:00
|
|
|
%define oname service_identity
|
2014-06-02 09:01:12 +00:00
|
|
|
Name: python-service_identity
|
2022-02-07 14:33:00 +00:00
|
|
|
Version: 21.1.0
|
2014-06-02 09:01:12 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Service identity verification for pyOpenSSL
|
2015-07-26 12:32:18 +00:00
|
|
|
License: MIT
|
2014-06-02 09:01:12 +00:00
|
|
|
Group: Development/Languages/Python
|
2018-09-25 11:53:30 +00:00
|
|
|
URL: https://github.com/pyca/service_identity
|
2019-03-01 14:05:46 +00:00
|
|
|
# no tests in upstream tarball
|
|
|
|
Source: https://github.com/pyca/service_identity/archive/%{version}.tar.gz
|
2022-02-07 14:33:00 +00:00
|
|
|
BuildRequires: %{python_module attrs >= 19.1.0}
|
2019-03-01 14:05:46 +00:00
|
|
|
BuildRequires: %{python_module cryptography}
|
|
|
|
BuildRequires: %{python_module idna}
|
2023-02-25 22:07:59 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2017-07-03 16:25:15 +00:00
|
|
|
BuildRequires: %{python_module pyOpenSSL >= 0.14}
|
|
|
|
BuildRequires: %{python_module pyasn1-modules}
|
|
|
|
BuildRequires: %{python_module pyasn1}
|
2019-03-01 14:05:46 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
2022-02-07 14:33:00 +00:00
|
|
|
BuildRequires: %{python_module six}
|
2023-02-25 22:07:59 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2017-07-03 16:25:15 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
2022-02-07 14:33:00 +00:00
|
|
|
Requires: python-attrs >= 19.1.0
|
2019-03-01 14:05:46 +00:00
|
|
|
Requires: python-cryptography
|
2015-07-26 12:32:18 +00:00
|
|
|
Requires: python-pyasn1
|
|
|
|
Requires: python-pyasn1-modules
|
2022-02-07 14:33:00 +00:00
|
|
|
Requires: python-six
|
2019-03-01 14:05:46 +00:00
|
|
|
Recommends: python-idna
|
|
|
|
Recommends: python-pyOpenSSL
|
2018-09-25 11:55:57 +00:00
|
|
|
BuildArch: noarch
|
2019-03-01 14:05:46 +00:00
|
|
|
%ifpython2
|
|
|
|
Requires: python-ipaddress
|
|
|
|
%endif
|
2017-07-03 16:25:15 +00:00
|
|
|
%python_subpackages
|
|
|
|
|
2014-06-02 09:01:12 +00:00
|
|
|
%description
|
2015-07-26 12:32:18 +00:00
|
|
|
service_identity aspires to give you all the tools you need for
|
|
|
|
verifying whether a certificate is valid for the intended purposes.
|
2014-06-02 09:01:12 +00:00
|
|
|
|
2015-07-26 12:32:18 +00:00
|
|
|
In the simplest case, this means host name verification. However,
|
|
|
|
service_identity implements RFC 6125 fully and plans to add other
|
|
|
|
relevant RFCs too.
|
2014-06-02 09:01:12 +00:00
|
|
|
|
|
|
|
%prep
|
2020-01-03 14:17:28 +00:00
|
|
|
%setup -q -n service-identity-%{version}
|
2014-06-02 09:01:12 +00:00
|
|
|
|
|
|
|
%build
|
2023-02-25 22:07:59 +00:00
|
|
|
%pyproject_wheel
|
2014-06-02 09:01:12 +00:00
|
|
|
|
|
|
|
%install
|
2023-02-25 22:07:59 +00:00
|
|
|
%pyproject_install
|
2019-03-01 14:05:46 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2014-06-02 09:01:12 +00:00
|
|
|
|
2019-03-01 14:05:46 +00:00
|
|
|
%check
|
2020-01-03 14:17:28 +00:00
|
|
|
%pytest
|
2015-07-26 12:32:18 +00:00
|
|
|
|
2017-07-03 16:25:15 +00:00
|
|
|
%files %{python_files}
|
2018-09-25 11:53:30 +00:00
|
|
|
%license LICENSE
|
2019-03-01 14:05:46 +00:00
|
|
|
%doc AUTHORS.rst README.rst
|
2015-07-26 12:32:18 +00:00
|
|
|
%{python_sitelib}/%{oname}
|
2023-02-25 22:07:59 +00:00
|
|
|
%{python_sitelib}/%{oname}-%{version}*-info
|
2014-06-02 09:01:12 +00:00
|
|
|
|
|
|
|
%changelog
|