From 18f50c54c1c52f2b7c5f8d2986a7c5b26711d07cc0660fbac4fffb541b5f0ca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 11 Jun 2025 11:53:29 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-repoze.sphinx.autointerface?expand=0&rev=18 --- python-repoze.sphinx.autointerface.changes | 5 +++++ python-repoze.sphinx.autointerface.spec | 15 ++++++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/python-repoze.sphinx.autointerface.changes b/python-repoze.sphinx.autointerface.changes index 9b4da2e..7e8859a 100644 --- a/python-repoze.sphinx.autointerface.changes +++ b/python-repoze.sphinx.autointerface.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 11 11:50:44 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Mon Jun 12 05:39:21 UTC 2023 - ecsos diff --git a/python-repoze.sphinx.autointerface.spec b/python-repoze.sphinx.autointerface.spec index cdc442b..1d6b2e4 100644 --- a/python-repoze.sphinx.autointerface.spec +++ b/python-repoze.sphinx.autointerface.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-repoze.sphinx.autointerface # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,7 +27,9 @@ 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 pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Sphinx @@ -44,15 +46,18 @@ zope.interface instances in code. %setup -q -n %{modname}-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license LICENSE.txt %doc CHANGES.rst COPYRIGHT.txt README.rst -%{python_sitelib}/* +%dir %{python_sitelib}/repoze +%dir %{python_sitelib}/repoze/sphinx +%{python_sitelib}/repoze/sphinx/autointerface.py +%{python_sitelib}/repoze[._]sphinx[._]autointerface-%{version}*-info %changelog