Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
python-acme
python-acme.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-acme.spec of Package python-acme
# # spec file for package python-acme # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define libname acme Name: python-%{libname} Version: 0.24.0 Release: 0 Summary: Python library for the ACME protocol License: Apache-2.0 Group: Development/Languages/Python Url: https://github.com/certbot/certbot Source0: https://files.pythonhosted.org/packages/source/a/%{libname}/%{libname}-%{version}.tar.gz Source1: https://files.pythonhosted.org/packages/source/a/%{libname}/%{libname}-%{version}.tar.gz.asc Source2: %{name}.keyring BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module Werkzeug} BuildRequires: %{python_module cryptography >= 0.8} BuildRequires: %{python_module devel >= 2.7} BuildRequires: %{python_module dnspython >= 1.12} BuildRequires: %{python_module josepy >= 1.0.0} BuildRequires: %{python_module mock} BuildRequires: %{python_module ndg-httpsclient} BuildRequires: %{python_module nose} BuildRequires: %{python_module packaging} BuildRequires: %{python_module pyOpenSSL >= 0.13} BuildRequires: %{python_module pyRFC3339} BuildRequires: %{python_module pytz} BuildRequires: %{python_module requests >= 2.10} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.5.2} BuildRequires: %{python_module sphinx_rtd_theme} BuildRequires: %{python_module sphinxcontrib-programoutput} BuildRequires: %{python_module tox} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Werkzeug Requires: python-cryptography >= 0.8 Requires: python-dnspython >= 1.12 Requires: python-josepy >= 1.0.0 Requires: python-mock Requires: python-ndg-httpsclient Requires: python-pyOpenSSL >= 0.13 Requires: python-pyRFC3339 Requires: python-pyasn1 Requires: python-pytz Requires: python-requests >= 2.10 Requires: python-six >= 1.5.2 BuildArch: noarch %python_subpackages %description Python library implementing the Automatic Certificate Management Environment (ACME) protocol. It is used by the certbot project. Formerly Let's Encrypt project. %package -n python-%{libname}-doc Summary: Documentation for python-acme libraries #Provides: %%{python_module %%{libname}-doc = %%{version}} Group: Development/Languages/Python %description -n python-%{libname}-doc Documentation for the ACME python libraries %prep %setup -q -n %{libname}-%{version} %build %python_build # create docs. Possible formats: man text html epub pushd docs make %{?_smp_mflags} html rm -rf _build/html/{.buildinfo,man,_sources} popd %install %python_install # remove test-data %python_expand rm -rf %{buildroot}%{$python_sitelib}/%{libname}/testdata %python_expand rm -rf %{buildroot}%{$python_sitelib}/%{libname}/*_test.py* %python_expand rm -rf %{buildroot}%{$python_sitelib}/%{libname}/**/*_test.py* %python_expand rm -rf %{buildroot}%{$python_sitelib}/%{libname}/__pycache__/*_test* # remove duplicates %python_expand %fdupes %{buildroot}%{$python_sitelib}/%{libname} %check %python_exec setup.py test %files %{python_files} %defattr(-,root,root) %doc LICENSE.txt %{python_sitelib}/%{libname} %{python_sitelib}/%{libname}-%{version}*.egg-info %pycache_only %{python_sitelib}/%{libname}/__pycache__ # following the certbot-packaging guide, "jws" should not be packaged # its now in package python-josepy #%%exclude %%{_bindir}/jws %files -n python-%{libname}-doc %defattr(-,root,root) %doc LICENSE.txt %doc README.rst %doc docs/_build/html %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor