From 4721c36c437611e5c56143002732d847dcfe1c8beac26bf5111282257e39cf1b 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 --- .gitattributes | 23 +++++++ .gitignore | 1 + python-repoze.sphinx.autointerface.changes | 73 ++++++++++++++++++++++ python-repoze.sphinx.autointerface.spec | 63 +++++++++++++++++++ repoze.sphinx.autointerface-1.0.0.tar.gz | 3 + 5 files changed, 163 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-repoze.sphinx.autointerface.changes create mode 100644 python-repoze.sphinx.autointerface.spec create mode 100644 repoze.sphinx.autointerface-1.0.0.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-repoze.sphinx.autointerface.changes b/python-repoze.sphinx.autointerface.changes new file mode 100644 index 0000000..7e8859a --- /dev/null +++ b/python-repoze.sphinx.autointerface.changes @@ -0,0 +1,73 @@ +------------------------------------------------------------------- +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 + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Fri Oct 7 07:50:10 UTC 2022 - Dirk Müller + +- make the package python 3.6+ only as it dropped support + for older versions + +------------------------------------------------------------------- +Fri Oct 7 03:51:26 UTC 2022 - Yogalakshmi Arunachalam + +- 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. + +------------------------------------------------------------------- +Fri Dec 7 10:15:24 UTC 2018 - Tomáš Chvátal + +- Fix fdupes call +- Remove useless code for SLE11 + +------------------------------------------------------------------- +Tue Dec 4 12:53:39 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Fri Jun 16 20:14:53 UTC 2017 - okurz@suse.com + +- Update to 0.8 +- Prevent duplicate files installed with fdupes +- Use https pypi.io URL for Factory submission + +------------------------------------------------------------------- +Sat Mar 11 19:48:10 UTC 2017 - okurz@suse.com + +- Convert package to singlespec + +------------------------------------------------------------------- +Thu Oct 24 11:13:16 UTC 2013 - speilicke@suse.com + +- Require python-setuptools instead of distribute (upstreams merged) + +------------------------------------------------------------------- +Mon Aug 5 10:22:52 UTC 2013 - cfarrell@suse.com + +- license update: SUSE-Repoze + See the spreadsheet linked from license.opensuse.org + +------------------------------------------------------------------- +Sun Jul 28 19:33:58 UTC 2013 - hpj@urpla.net + +- update to version 0.7.1 + +------------------------------------------------------------------- +Wed Feb 1 09:43:54 UTC 2012 - saschpe@suse.de + +- Initial version + diff --git a/python-repoze.sphinx.autointerface.spec b/python-repoze.sphinx.autointerface.spec new file mode 100644 index 0000000..1d6b2e4 --- /dev/null +++ b/python-repoze.sphinx.autointerface.spec @@ -0,0 +1,63 @@ +# +# spec file for package python-repoze.sphinx.autointerface +# +# 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 +# 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. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%global modname repoze.sphinx.autointerface +%{?sle15_python_module_pythons} +Name: python-%{modname} +Version: 1.0.0 +Release: 0 +Summary: Sphinx extension: auto-generates API docs from Zope interfaces +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 pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-Sphinx +Requires: python-zope.interface +BuildArch: noarch +%python_subpackages + +%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 +%setup -q -n %{modname}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%license LICENSE.txt +%doc CHANGES.rst COPYRIGHT.txt README.rst +%dir %{python_sitelib}/repoze +%dir %{python_sitelib}/repoze/sphinx +%{python_sitelib}/repoze/sphinx/autointerface.py +%{python_sitelib}/repoze[._]sphinx[._]autointerface-%{version}*-info + +%changelog diff --git a/repoze.sphinx.autointerface-1.0.0.tar.gz b/repoze.sphinx.autointerface-1.0.0.tar.gz new file mode 100644 index 0000000..0fcdbe5 --- /dev/null +++ b/repoze.sphinx.autointerface-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:486bf1423a4696b9153e488cef9d326c496ffc16ddeb14b0c9887b46c60e28a1 +size 14263 From 95ef25af402f7cc681ef19b84b9898d0731d371f947bc096de556c90c692af47 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 77ce9a0b1762bdc4482982f6feb0826cc90586486fbb283867721c04804aa268 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 558e70de5f9d595f293d22c6ad442651bb25ec99d2e2c014fc336358e20a93e0 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 b1915261aa91f682c8fdb0b3f02f19bbd0052f87cd4186f494d565f8bd5ce80a 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 f4d484697f0c1a8c0b73c48768a47f9f95c90d34d482e0687463be9a1638d8c6 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 6055ad3ca1f8659b97236e18bfee15587e9f92a7389d51c3e7d29706f675c28c 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