From 9f83fb76961fa2ca501408084152426c194cbb83c4c4f744e24fbae85db761c8 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 7 Oct 2022 07:49:16 +0000 Subject: [PATCH 1/2] Accepting request 1008646 from home:yarunachalam:branches:devel:languages:python - 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. OBS-URL: https://build.opensuse.org/request/show/1008646 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-repoze.sphinx.autointerface?expand=0&rev=13 --- python-repoze.sphinx.autointerface.changes | 13 +++++++++++++ python-repoze.sphinx.autointerface.spec | 6 +++--- repoze.sphinx.autointerface-0.8.tar.gz | 3 --- repoze.sphinx.autointerface-1.0.0.tar.gz | 3 +++ 4 files changed, 19 insertions(+), 6 deletions(-) delete mode 100644 repoze.sphinx.autointerface-0.8.tar.gz create mode 100644 repoze.sphinx.autointerface-1.0.0.tar.gz diff --git a/python-repoze.sphinx.autointerface.changes b/python-repoze.sphinx.autointerface.changes index d026dab..36a276d 100644 --- a/python-repoze.sphinx.autointerface.changes +++ b/python-repoze.sphinx.autointerface.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +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 diff --git a/python-repoze.sphinx.autointerface.spec b/python-repoze.sphinx.autointerface.spec index fa8d5b4..9240f40 100644 --- a/python-repoze.sphinx.autointerface.spec +++ b/python-repoze.sphinx.autointerface.spec @@ -1,7 +1,7 @@ # -# spec file for package python +# spec file # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global modname repoze.sphinx.autointerface Name: python-%{modname} -Version: 0.8 +Version: 1.0.0 Release: 0 Summary: Sphinx extension: auto-generates API docs from Zope interfaces License: SUSE-Repoze diff --git a/repoze.sphinx.autointerface-0.8.tar.gz b/repoze.sphinx.autointerface-0.8.tar.gz deleted file mode 100644 index b586934..0000000 --- a/repoze.sphinx.autointerface-0.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8ef0383276ab722efb1e4a6523726262058dfd82615ccf7e5004aee3fe8ecc23 -size 8987 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 007d1abe3d278d4bcba1cddb5b1a1e094b31bd3ddd11ab625217a0b30745dc85 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 7 Oct 2022 07:50:25 +0000 Subject: [PATCH 2/2] - make the package python 3.6+ only as it dropped support for older versions OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-repoze.sphinx.autointerface?expand=0&rev=14 --- python-repoze.sphinx.autointerface.changes | 6 ++++++ python-repoze.sphinx.autointerface.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-repoze.sphinx.autointerface.changes b/python-repoze.sphinx.autointerface.changes index 36a276d..ac13ad5 100644 --- a/python-repoze.sphinx.autointerface.changes +++ b/python-repoze.sphinx.autointerface.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/python-repoze.sphinx.autointerface.spec b/python-repoze.sphinx.autointerface.spec index 9240f40..ac09c7a 100644 --- a/python-repoze.sphinx.autointerface.spec +++ b/python-repoze.sphinx.autointerface.spec @@ -16,7 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %global modname repoze.sphinx.autointerface Name: python-%{modname} Version: 1.0.0 @@ -26,6 +26,7 @@ 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 setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros