Sync from SUSE:SLFO:Main python-autodocsumm revision 496f965b2676fef5ef625b9e3c354a6f

This commit is contained in:
Adrian Schröter 2024-12-13 11:11:27 +01:00
parent 9e8cdb328d
commit a9c451c46b
5 changed files with 33 additions and 24 deletions

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

Binary file not shown.

BIN
autodocsumm-0.2.14.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Thu Oct 24 11:58:10 UTC 2024 - Nico Krapp <nico.krapp@suse.com>
- Update to 0.2.14
* Fix ObjectMember related deprecation/removal by @theOehrly
* Type hint mixin base class, fix some more minor style and typing issues by @theOehrly
* Don't document class attributes that are an alias to another object by @theOehrly
* Autoexception support by @Chilipp
-------------------------------------------------------------------
Mon Aug 26 13:21:57 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.2.13
* Allow Sphinx >=8.0 and fix deprecations; allow Python
3.12; rework test workflow by @theOehrly in (#98)
-------------------------------------------------------------------
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>

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.14
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()