2017-02-06 14:04:33 +00:00
|
|
|
#
|
2024-02-07 12:33:57 +00:00
|
|
|
# spec file for package python-acme
|
2017-02-06 14:04:33 +00:00
|
|
|
#
|
2024-02-07 12:33:57 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2017-02-06 14:04:33 +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-11-17 18:55:13 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-02-06 14:04:33 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2024-02-07 12:33:57 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2017-02-06 14:04:33 +00:00
|
|
|
%define libname acme
|
|
|
|
|
Name: python-%{libname}
|
2024-06-25 12:14:10 +00:00
|
|
|
Version: 2.11.0
|
2017-02-06 14:04:33 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Python library for the ACME protocol
|
|
|
|
|
License: Apache-2.0
|
2018-09-04 20:57:58 +00:00
|
|
|
URL: https://github.com/certbot/certbot
|
2017-02-06 14:04:33 +00:00
|
|
|
Source0: https://files.pythonhosted.org/packages/source/a/%{libname}/%{libname}-%{version}.tar.gz
|
2023-06-07 16:58:31 +00:00
|
|
|
BuildRequires: %{python_module cryptography >= 3.2.1}
|
2022-04-08 11:03:50 +00:00
|
|
|
BuildRequires: %{python_module josepy >= 1.13.0}
|
2022-07-11 13:11:44 +00:00
|
|
|
BuildRequires: %{python_module pyOpenSSL >= 17.5.0}
|
2017-10-02 14:54:23 +00:00
|
|
|
BuildRequires: %{python_module pyRFC3339}
|
2018-07-06 08:41:38 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
2022-04-08 06:27:39 +00:00
|
|
|
BuildRequires: %{python_module pytz >= 2019.3}
|
|
|
|
|
BuildRequires: %{python_module requests >= 2.20.0}
|
2017-10-02 14:54:23 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2017-02-06 14:04:33 +00:00
|
|
|
BuildRequires: fdupes
|
2017-10-02 14:54:23 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2023-06-07 16:58:31 +00:00
|
|
|
Requires: python-cryptography >= 3.2.1
|
2022-04-08 11:03:50 +00:00
|
|
|
Requires: python-josepy >= 1.13.0
|
2022-07-11 13:11:44 +00:00
|
|
|
Requires: python-pyOpenSSL >= 17.5.0
|
2017-02-06 14:04:33 +00:00
|
|
|
Requires: python-pyRFC3339
|
2022-04-08 06:27:39 +00:00
|
|
|
Requires: python-pytz >= 2019.3
|
|
|
|
|
Requires: python-requests >= 2.20.0
|
2017-02-06 14:04:33 +00:00
|
|
|
BuildArch: noarch
|
2019-05-27 13:53:17 +00:00
|
|
|
%if %{?suse_version} < 1500
|
|
|
|
|
BuildRequires: %{python_module devel}
|
|
|
|
|
%endif
|
2017-10-02 14:54:23 +00:00
|
|
|
%python_subpackages
|
|
|
|
|
|
2017-02-06 14:04:33 +00:00
|
|
|
%description
|
|
|
|
|
Python library implementing the Automatic Certificate Management Environment
|
|
|
|
|
(ACME) protocol. It is used by the certbot project. Formerly Let's Encrypt project.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{libname}-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
2017-10-02 14:54:23 +00:00
|
|
|
%python_build
|
2017-02-06 14:04:33 +00:00
|
|
|
|
|
|
|
|
%install
|
2017-10-02 14:54:23 +00:00
|
|
|
%python_install
|
2017-02-06 14:04:33 +00:00
|
|
|
# remove duplicates
|
2017-10-02 14:54:23 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}/%{libname}
|
2017-02-06 14:04:33 +00:00
|
|
|
|
|
|
|
|
%check
|
2023-06-07 16:58:31 +00:00
|
|
|
%pytest acme/_internal/tests/
|
2017-02-06 14:04:33 +00:00
|
|
|
|
2017-10-02 14:54:23 +00:00
|
|
|
%files %{python_files}
|
2018-09-04 20:57:58 +00:00
|
|
|
%license LICENSE.txt
|
2023-06-07 16:58:31 +00:00
|
|
|
%pycache_only %{python_sitelib}/%{libname}/__pycache__
|
2017-02-06 14:04:33 +00:00
|
|
|
%{python_sitelib}/%{libname}
|
|
|
|
|
%{python_sitelib}/%{libname}-%{version}*.egg-info
|
|
|
|
|
|
|
|
|
|
%changelog
|