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 1/7] - 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 From 261e313a491d825c71133608dacfa82b87037c124051ec7b2980a5e3727e6ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 11 Jun 2025 12:01:42 +0000 Subject: [PATCH 2/7] - Run tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-repoze.sphinx.autointerface?expand=0&rev=19 --- python-repoze.sphinx.autointerface.changes | 1 + python-repoze.sphinx.autointerface.spec | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-repoze.sphinx.autointerface.changes b/python-repoze.sphinx.autointerface.changes index 7e8859a..23a6656 100644 --- a/python-repoze.sphinx.autointerface.changes +++ b/python-repoze.sphinx.autointerface.changes @@ -2,6 +2,7 @@ Wed Jun 11 11:50:44 UTC 2025 - Markéta Machová - Convert to pip-based build +- Run tests ------------------------------------------------------------------- Mon Jun 12 05:39:21 UTC 2023 - ecsos diff --git a/python-repoze.sphinx.autointerface.spec b/python-repoze.sphinx.autointerface.spec index 1d6b2e4..85b2def 100644 --- a/python-repoze.sphinx.autointerface.spec +++ b/python-repoze.sphinx.autointerface.spec @@ -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 From e01a74e21882c21b9a6abfe5f2a4572ee020a2da7b5a0b70485fa03d4daa0229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 11 Jun 2025 12:02:29 +0000 Subject: [PATCH 3/7] fix files OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-repoze.sphinx.autointerface?expand=0&rev=20 --- python-repoze.sphinx.autointerface.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-repoze.sphinx.autointerface.spec b/python-repoze.sphinx.autointerface.spec index 85b2def..339b4d6 100644 --- a/python-repoze.sphinx.autointerface.spec +++ b/python-repoze.sphinx.autointerface.spec @@ -30,7 +30,7 @@ BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} -BuildRequires: %{python_module zope.iterface} +BuildRequires: %{python_module zope.interface} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Sphinx From bad7e41ca7965582d576547a9984c3497ebdc44f2ebb8354f5e4e9d9e0178ce7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 11 Jun 2025 12:06:07 +0000 Subject: [PATCH 4/7] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-repoze.sphinx.autointerface?expand=0&rev=21 --- python-repoze.sphinx.autointerface.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-repoze.sphinx.autointerface.spec b/python-repoze.sphinx.autointerface.spec index 339b4d6..780817b 100644 --- a/python-repoze.sphinx.autointerface.spec +++ b/python-repoze.sphinx.autointerface.spec @@ -27,6 +27,7 @@ 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 Sphinx} +BuildRequires: %{python_module autodocsumm} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} From 892c169738646dbe5aa5a9bb1a8a0f8dc28eede2a2232ac4d0b700af9453acf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 11 Jun 2025 12:30:19 +0000 Subject: [PATCH 5/7] revert, apparently problem with Sphinx OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-repoze.sphinx.autointerface?expand=0&rev=22 --- python-repoze.sphinx.autointerface.changes | 1 - python-repoze.sphinx.autointerface.spec | 6 ------ 2 files changed, 7 deletions(-) diff --git a/python-repoze.sphinx.autointerface.changes b/python-repoze.sphinx.autointerface.changes index 23a6656..7e8859a 100644 --- a/python-repoze.sphinx.autointerface.changes +++ b/python-repoze.sphinx.autointerface.changes @@ -2,7 +2,6 @@ Wed Jun 11 11:50:44 UTC 2025 - Markéta Machová - Convert to pip-based build -- Run tests ------------------------------------------------------------------- Mon Jun 12 05:39:21 UTC 2023 - ecsos diff --git a/python-repoze.sphinx.autointerface.spec b/python-repoze.sphinx.autointerface.spec index 780817b..6f74b4d 100644 --- a/python-repoze.sphinx.autointerface.spec +++ b/python-repoze.sphinx.autointerface.spec @@ -26,12 +26,9 @@ 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 Sphinx} -BuildRequires: %{python_module autodocsumm} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} -BuildRequires: %{python_module zope.interface} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Sphinx @@ -56,9 +53,6 @@ zope.interface instances in code. # do not install tests %python_expand rm -rf %{$python_sitelib}/repoze/sphinx/tests -%check -%pyunittest - %files %{python_files} %license LICENSE.txt %doc CHANGES.rst COPYRIGHT.txt README.rst From 8bab281f05f7738bae26b2d4a5a514ce0fb9f8ed86067ca6da6ff42fc4526923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 11 Jun 2025 12:35:16 +0000 Subject: [PATCH 6/7] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-repoze.sphinx.autointerface?expand=0&rev=23 --- python-repoze.sphinx.autointerface.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-repoze.sphinx.autointerface.spec b/python-repoze.sphinx.autointerface.spec index 6f74b4d..4a29a71 100644 --- a/python-repoze.sphinx.autointerface.spec +++ b/python-repoze.sphinx.autointerface.spec @@ -51,7 +51,7 @@ zope.interface instances in code. %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} # do not install tests -%python_expand rm -rf %{$python_sitelib}/repoze/sphinx/tests +%python_expand rm -rf %{buildroot}%{$python_sitelib}/repoze/sphinx/tests %files %{python_files} %license LICENSE.txt From 51ec094a6e96c153a078e51e2c09abfa376b0dadd09afa12ce934dc663168279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 11 Jun 2025 12:40:24 +0000 Subject: [PATCH 7/7] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-repoze.sphinx.autointerface?expand=0&rev=24 --- python-repoze.sphinx.autointerface.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-repoze.sphinx.autointerface.spec b/python-repoze.sphinx.autointerface.spec index 4a29a71..981f8cb 100644 --- a/python-repoze.sphinx.autointerface.spec +++ b/python-repoze.sphinx.autointerface.spec @@ -61,6 +61,7 @@ zope.interface instances in code. %{python_sitelib}/repoze/sphinx/autointerface.py %{python_sitelib}/repoze[._]sphinx[._]autointerface-%{version}*-info %{python_sitelib}/repoze[._]sphinx[._]autointerface-%{version}*nspkg.pth +%pycache_only %dir %{python_sitelib}/repoze/sphinx/__pycache__ %pycache_only %{python_sitelib}/repoze/sphinx/__pycache__/autointerface* %changelog