From ff422351eae24583f457a09384143beaa67f102362fe57ea0ee8e70810b3b02f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 6 May 2025 11:17:59 +0000 Subject: [PATCH] Accepting request 1274852 from home:glaubitz:branches:devel:languages:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to 4.1.1 * Adapt the tests to Pygments 2.19 (contributed by Markéta Calábková in #20). * Add support for Debian ``node-mathjax-full`` package. * Use :PEP:`639` license expression (needs setuptools 77 or newer). - Drop pygments.patch, merged upstream - Use Python 3.11 on SLE-15 by default OBS-URL: https://build.opensuse.org/request/show/1274852 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markups?expand=0&rev=26 --- markups-4.1.0.tar.gz | 3 --- markups-4.1.1.tar.gz | 3 +++ pygments.patch | 23 ----------------------- python-Markups.changes | 10 ++++++++++ python-Markups.spec | 5 ++--- 5 files changed, 15 insertions(+), 29 deletions(-) delete mode 100644 markups-4.1.0.tar.gz create mode 100644 markups-4.1.1.tar.gz delete mode 100644 pygments.patch diff --git a/markups-4.1.0.tar.gz b/markups-4.1.0.tar.gz deleted file mode 100644 index e269db8..0000000 --- a/markups-4.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:25214434f356d353034c2ef4db76ab50e867a63ba1967eb6bcc80472c501ddd9 -size 23072 diff --git a/markups-4.1.1.tar.gz b/markups-4.1.1.tar.gz new file mode 100644 index 0000000..8d7b3ff --- /dev/null +++ b/markups-4.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0284b14fe046037cb0473f08d5c63556042c14c5ed65379e81982afeb55bc21 +size 22985 diff --git a/pygments.patch b/pygments.patch deleted file mode 100644 index c652aea..0000000 --- a/pygments.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 93f36f74ef018b6d12a04a46bb4ff8c83569b9cd Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Mark=C3=A9ta?= -Date: Wed, 22 Jan 2025 14:29:42 +0100 -Subject: [PATCH] adapt to Pygments 2.19 - ---- - tests/test_public_api.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/tests/test_public_api.py b/tests/test_public_api.py -index a23f091..f0a9d71 100644 ---- a/tests/test_public_api.py -+++ b/tests/test_public_api.py -@@ -41,7 +41,7 @@ def test_get_pygments_stylesheet(self) -> None: - except ImportError: - raise unittest.SkipTest("Pygments not available") - stylesheet = get_pygments_stylesheet(".selector") -- self.assertIn(".selector .nf { color: #0000FF", stylesheet) -+ self.assertIn(".selector .nf { color: #00F", stylesheet) - stylesheet = get_pygments_stylesheet(".selector", style="colorful") -- self.assertIn(".selector .nf { color: #0066BB", stylesheet) -+ self.assertIn(".selector .nf { color: #06B", stylesheet) - self.assertFalse(get_pygments_stylesheet(".selector", style="")) diff --git a/python-Markups.changes b/python-Markups.changes index 31b5e74..e9530e1 100644 --- a/python-Markups.changes +++ b/python-Markups.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue May 6 09:50:53 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 4.1.1 + * Adapt the tests to Pygments 2.19 (contributed by Markéta Calábková in #20). + * Add support for Debian ``node-mathjax-full`` package. + * Use :PEP:`639` license expression (needs setuptools 77 or newer). +- Drop pygments.patch, merged upstream +- Use Python 3.11 on SLE-15 by default + ------------------------------------------------------------------- Mon Apr 14 06:06:17 UTC 2025 - Steve Kowalik diff --git a/python-Markups.spec b/python-Markups.spec index 3043564..86393b5 100644 --- a/python-Markups.spec +++ b/python-Markups.spec @@ -16,15 +16,14 @@ # +%{?sle15_python_module_pythons} Name: python-Markups -Version: 4.1.0 +Version: 4.1.1 Release: 0 Summary: A wrapper around various text markups License: BSD-3-Clause URL: https://github.com/mitya57/pymarkups Source: https://files.pythonhosted.org/packages/source/m/markups/markups-%{version}.tar.gz -# PATCH-FIX-UPSTREAM https://github.com/retext-project/pymarkups/pull/20 adapt to Pygments 2.19 -Patch: pygments.patch BuildRequires: %{python_module Markdown >= 3} BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module Pygments}