From ce26aa7dfee3d3b57c526544ad2b176e746b2f427ff14d74b620803a297c06d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 7 Feb 2025 13:10:14 +0000 Subject: [PATCH] Accepting request 1244141 from home:glaubitz:branches:devel:languages:python - Update to 1.13.0 * Include*.md files in wheel These are needed by the test suite, which is also included in the wheel. * Fix tests on python3.11 * Update some web links * Update pyinstaller to 6.1.0 for python >= 3.11 support * doctest: use outputchecker argument also in debug mode. Fixes #38 * Remove references to old "six" module - Drop python-manuel-no-six.patch, merged upstream OBS-URL: https://build.opensuse.org/request/show/1244141 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-manuel?expand=0&rev=31 --- manuel-1.12.4.tar.gz | 3 --- manuel-1.13.0.tar.gz | 3 +++ python-manuel-no-six.patch | 35 ----------------------------------- python-manuel.changes | 13 +++++++++++++ python-manuel.spec | 6 ++---- 5 files changed, 18 insertions(+), 42 deletions(-) delete mode 100644 manuel-1.12.4.tar.gz create mode 100644 manuel-1.13.0.tar.gz delete mode 100644 python-manuel-no-six.patch diff --git a/manuel-1.12.4.tar.gz b/manuel-1.12.4.tar.gz deleted file mode 100644 index 13ebd8a..0000000 --- a/manuel-1.12.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0395aadf6991f924ac795cfad59da5dc0618732a8cc58ad0f474965ab728f7f4 -size 45369 diff --git a/manuel-1.13.0.tar.gz b/manuel-1.13.0.tar.gz new file mode 100644 index 0000000..2d28269 --- /dev/null +++ b/manuel-1.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d63120de8fa6d927780b69ae28aa3e9d1669b10af3d32785f3fba11a5be885a +size 46185 diff --git a/python-manuel-no-six.patch b/python-manuel-no-six.patch deleted file mode 100644 index 725e80e..0000000 --- a/python-manuel-no-six.patch +++ /dev/null @@ -1,35 +0,0 @@ -Index: manuel-1.12.4/src/manuel/doctest.py -=================================================================== ---- manuel-1.12.4.orig/src/manuel/doctest.py -+++ manuel-1.12.4/src/manuel/doctest.py -@@ -3,13 +3,13 @@ from __future__ import absolute_import - import doctest - import manuel - import os.path --import six -+import io - - DocTestRunner = doctest.DocTestRunner - DebugRunner = doctest.DebugRunner - - --class DocTestResult(six.StringIO): -+class DocTestResult(io.StringIO): - pass - - -Index: manuel-1.12.4/setup.py -=================================================================== ---- manuel-1.12.4.orig/setup.py -+++ manuel-1.12.4/setup.py -@@ -48,10 +48,6 @@ setup( - }, - tests_require=tests_require, - test_suite='manuel.tests.test_suite', -- install_requires=[ -- 'setuptools', -- 'six', -- ], - include_package_data=True, - long_description=long_description, - keywords=['testing', 'documentation'], diff --git a/python-manuel.changes b/python-manuel.changes index f9b9c19..26edfe5 100644 --- a/python-manuel.changes +++ b/python-manuel.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri Feb 7 12:30:21 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 1.13.0 + * Include*.md files in wheel These are needed by the test suite, + which is also included in the wheel. + * Fix tests on python3.11 + * Update some web links + * Update pyinstaller to 6.1.0 for python >= 3.11 support + * doctest: use outputchecker argument also in debug mode. Fixes #38 + * Remove references to old "six" module +- Drop python-manuel-no-six.patch, merged upstream + ------------------------------------------------------------------- Tue Feb 6 14:04:47 UTC 2024 - Markéta Machová diff --git a/python-manuel.spec b/python-manuel.spec index 244fbb5..9c0e82e 100644 --- a/python-manuel.spec +++ b/python-manuel.spec @@ -1,7 +1,7 @@ # # spec file for package python-manuel # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2013-2018 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -19,15 +19,13 @@ %{?sle15allpythons} Name: python-manuel -Version: 1.12.4 +Version: 1.13.0 Release: 0 Summary: Python module to build tested documentation License: Apache-2.0 URL: https://pypi.org/project/manuel/ # SourceRepository: https://github.com/benji-york/manuel Source: https://files.pythonhosted.org/packages/source/m/manuel/manuel-%{version}.tar.gz -# https://github.com/benji-york/manuel/issues/33 -Patch0: python-manuel-no-six.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools}