Accepting request 1137627 from devel:languages:python

- update to 0.2.12:
  * small fix for tests
  * fix docs
  * An option to sort sections
- drop sphinx72.patch (upstream)

- Remove guard on upper Sphinx version.
    3.5. See #42

OBS-URL: https://build.opensuse.org/request/show/1137627
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-autodocsumm?expand=0&rev=14
This commit is contained in:
Ana Guerrero 2024-01-09 19:49:04 +00:00 committed by Git OBS Bridge
commit fe387b2bb6
5 changed files with 17 additions and 24 deletions

BIN
autodocsumm-0.2.11.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Jan 8 20:02:39 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.2.12:
* small fix for tests
* fix docs
* An option to sort sections
- drop sphinx72.patch (upstream)
-------------------------------------------------------------------
Mon Aug 28 12:45:01 UTC 2023 - Markéta Machová <mmachova@suse.com>
@ -51,7 +60,7 @@ Thu Aug 4 09:17:21 UTC 2022 - Otto Hollmann <otto.hollmann@suse.com>
-------------------------------------------------------------------
Fri Jun 24 00:30:34 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
- Remove guard on upper Sphinx version.
- Remove guard on upper Sphinx version.
-------------------------------------------------------------------
Mon May 2 21:38:13 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
@ -74,7 +83,7 @@ Sun Apr 18 12:32:09 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 0.2.3
* This Release makes autodocsumm compatible with sphinx 3.4 and
3.5. See #42
3.5. See #42
- Release 0.2.2
* This release fixes a bug that included imported members in the
autosummary table (see #32, #33) and includes the sorting

View File

@ -1,7 +1,7 @@
#
# spec file for package python-autodocsumm
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,17 +16,14 @@
#
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-autodocsumm
Version: 0.2.11
Version: 0.2.12
Release: 0
Summary: Extended sphinx autodoc including automatic autosummaries
License: Apache-2.0
URL: https://github.com/Chilipp/autodocsumm
Source: https://github.com/Chilipp/autodocsumm/archive/v%{version}.tar.gz#/autodocsumm-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/Chilipp/autodocsumm/pull/88 fix build with Sphinx 7.2
Patch: sphinx72.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module versioneer}
BuildRequires: %{python_module wheel}
@ -63,6 +60,6 @@ sed -i 's/,<5.0//' setup.py
%doc README.rst
%license LICENSE
%{python_sitelib}/autodocsumm
%{python_sitelib}/autodocsumm-%{version}*-info
%{python_sitelib}/autodocsumm-%{version}.dist-info
%changelog

View File

@ -1,13 +0,0 @@
Index: autodocsumm-0.2.11/tests/test_autodocsumm.py
===================================================================
--- autodocsumm-0.2.11.orig/tests/test_autodocsumm.py
+++ autodocsumm-0.2.11/tests/test_autodocsumm.py
@@ -36,7 +36,7 @@ def in_between(full, sub, s0, *others):
def get_html(app, fname):
- with open(app.outdir + '/' + fname) as f:
+ with open(str(app.outdir) + '/' + fname) as f:
return f.read()