forked from pool/python-repoze.sphinx.autointerface
- Run tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-repoze.sphinx.autointerface?expand=0&rev=19
This commit is contained in:
@@ -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>
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user