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] - 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