2025-06-11 12:01:42 +00:00
committed by Git OBS Bridge
parent 18f50c54c1
commit 261e313a49
2 changed files with 10 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
Wed Jun 11 11:50:44 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
- Run tests
-------------------------------------------------------------------
Mon Jun 12 05:39:21 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@@ -26,10 +26,11 @@ License: SUSE-Repoze
Group: Development/Languages/Python
URL: http://www.repoze.org
Source: https://files.pythonhosted.org/packages/source/r/repoze.sphinx.autointerface/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module zope.iterface}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Sphinx
@@ -51,6 +52,11 @@ zope.interface instances in code.
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# do not install tests
%python_expand rm -rf %{$python_sitelib}/repoze/sphinx/tests
%check
%pyunittest
%files %{python_files}
%license LICENSE.txt
@@ -59,5 +65,7 @@ zope.interface instances in code.
%dir %{python_sitelib}/repoze/sphinx
%{python_sitelib}/repoze/sphinx/autointerface.py
%{python_sitelib}/repoze[._]sphinx[._]autointerface-%{version}*-info
%{python_sitelib}/repoze[._]sphinx[._]autointerface-%{version}*nspkg.pth
%pycache_only %{python_sitelib}/repoze/sphinx/__pycache__/autointerface*
%changelog