2012-02-01 09:47:02 +00:00
|
|
|
#
|
2025-06-11 11:53:29 +00:00
|
|
|
# spec file for package python-repoze.sphinx.autointerface
|
2012-02-01 09:47:02 +00:00
|
|
|
#
|
2025-06-11 11:53:29 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2012-02-01 09:47:02 +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.
|
2013-10-24 11:13:17 +00:00
|
|
|
|
2018-12-04 13:59:13 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-02-01 09:47:02 +00:00
|
|
|
#
|
|
|
|
|
2013-10-24 11:13:17 +00:00
|
|
|
|
2017-06-19 11:43:30 +00:00
|
|
|
%global modname repoze.sphinx.autointerface
|
2023-06-12 08:20:10 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2017-06-19 11:43:30 +00:00
|
|
|
Name: python-%{modname}
|
Accepting request 1008646 from home:yarunachalam:branches:devel:languages:python
- Update to version 1.0.0 (2022-05-26)
Remove sphinx.util.force_decode. Previously we hacked it in to support Python 2 and Sphinx 3.x, but Sphinx 4.0 deprecated it and dropped Python 2 support.
Replace Travis-CI with GitHub Actions
Add support for Python 3.6, 3.7, 3.8, 3.9, 3.10, and PyPy3.
Drop support for Python 2.7, 3.3, 3.4, 3.5, and PyPy.
Update to work with newer Sphinx versions:
Sphinx.domains -> Sphinx.registry.domains
Sphinx.override_domain(D) -> Sphinx.add_domain(D, override=True)
Drop support for Sphinx < 4.0.
OBS-URL: https://build.opensuse.org/request/show/1008646
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-repoze.sphinx.autointerface?expand=0&rev=13
2022-10-07 07:49:16 +00:00
|
|
|
Version: 1.0.0
|
2012-02-01 09:47:02 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Sphinx extension: auto-generates API docs from Zope interfaces
|
2013-08-05 14:03:58 +00:00
|
|
|
License: SUSE-Repoze
|
2012-02-01 09:47:02 +00:00
|
|
|
Group: Development/Languages/Python
|
2018-12-04 17:20:58 +00:00
|
|
|
URL: http://www.repoze.org
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/r/repoze.sphinx.autointerface/%{modname}-%{version}.tar.gz
|
2025-06-11 12:01:42 +00:00
|
|
|
BuildRequires: %{python_module Sphinx}
|
2025-06-11 12:06:07 +00:00
|
|
|
BuildRequires: %{python_module autodocsumm}
|
2025-06-11 11:53:29 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2017-06-19 11:43:30 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2025-06-11 11:53:29 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2025-06-11 12:02:29 +00:00
|
|
|
BuildRequires: %{python_module zope.interface}
|
2017-06-19 11:43:30 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
2012-02-01 09:47:02 +00:00
|
|
|
Requires: python-Sphinx
|
|
|
|
Requires: python-zope.interface
|
2018-12-07 10:15:39 +00:00
|
|
|
BuildArch: noarch
|
2017-06-19 11:43:30 +00:00
|
|
|
%python_subpackages
|
|
|
|
|
2012-02-01 09:47:02 +00:00
|
|
|
%description
|
|
|
|
Thie package defines an extension for the Sphinx documentation system. The
|
|
|
|
extension allows generation of API documentation by introspection of
|
|
|
|
zope.interface instances in code.
|
|
|
|
|
|
|
|
%prep
|
2017-06-19 11:43:30 +00:00
|
|
|
%setup -q -n %{modname}-%{version}
|
2012-02-01 09:47:02 +00:00
|
|
|
|
|
|
|
%build
|
2025-06-11 11:53:29 +00:00
|
|
|
%pyproject_wheel
|
2012-02-01 09:47:02 +00:00
|
|
|
|
|
|
|
%install
|
2025-06-11 11:53:29 +00:00
|
|
|
%pyproject_install
|
2018-12-07 10:15:39 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2025-06-11 12:01:42 +00:00
|
|
|
# do not install tests
|
|
|
|
%python_expand rm -rf %{$python_sitelib}/repoze/sphinx/tests
|
|
|
|
|
|
|
|
%check
|
|
|
|
%pyunittest
|
2012-02-01 09:47:02 +00:00
|
|
|
|
2017-06-19 11:43:30 +00:00
|
|
|
%files %{python_files}
|
2018-12-04 17:20:58 +00:00
|
|
|
%license LICENSE.txt
|
|
|
|
%doc CHANGES.rst COPYRIGHT.txt README.rst
|
2025-06-11 11:53:29 +00:00
|
|
|
%dir %{python_sitelib}/repoze
|
|
|
|
%dir %{python_sitelib}/repoze/sphinx
|
|
|
|
%{python_sitelib}/repoze/sphinx/autointerface.py
|
|
|
|
%{python_sitelib}/repoze[._]sphinx[._]autointerface-%{version}*-info
|
2025-06-11 12:01:42 +00:00
|
|
|
%{python_sitelib}/repoze[._]sphinx[._]autointerface-%{version}*nspkg.pth
|
|
|
|
%pycache_only %{python_sitelib}/repoze/sphinx/__pycache__/autointerface*
|
2012-02-01 09:47:02 +00:00
|
|
|
|
|
|
|
%changelog
|