Accepting request 1008684 from devel:languages:python

- make the package python 3.6+ only as it dropped support
  for older versions

- 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/1008684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-repoze.sphinx.autointerface?expand=0&rev=7
This commit is contained in:
2022-10-07 23:25:03 +00:00
committed by Git OBS Bridge
4 changed files with 27 additions and 7 deletions

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Fri Oct 7 07:50:10 UTC 2022 - Dirk Müller <dmueller@suse.com>
- make the package python 3.6+ only as it dropped support
for older versions
-------------------------------------------------------------------
Fri Oct 7 03:51:26 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- 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 <tchvatal@suse.com> Fri Dec 7 10:15:24 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,16 +16,17 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python3-%{**}}
%global modname repoze.sphinx.autointerface %global modname repoze.sphinx.autointerface
Name: python-%{modname} Name: python-%{modname}
Version: 0.8 Version: 1.0.0
Release: 0 Release: 0
Summary: Sphinx extension: auto-generates API docs from Zope interfaces Summary: Sphinx extension: auto-generates API docs from Zope interfaces
License: SUSE-Repoze License: SUSE-Repoze
Group: Development/Languages/Python Group: Development/Languages/Python
URL: http://www.repoze.org URL: http://www.repoze.org
Source: https://files.pythonhosted.org/packages/source/r/repoze.sphinx.autointerface/%{modname}-%{version}.tar.gz 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: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8ef0383276ab722efb1e4a6523726262058dfd82615ccf7e5004aee3fe8ecc23
size 8987

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:486bf1423a4696b9153e488cef9d326c496ffc16ddeb14b0c9887b46c60e28a1
size 14263