forked from pool/python-Markups
Accepting request 1274852 from home:glaubitz:branches:devel:languages:python
- 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
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:25214434f356d353034c2ef4db76ab50e867a63ba1967eb6bcc80472c501ddd9
|
||||
size 23072
|
||||
3
markups-4.1.1.tar.gz
Normal file
3
markups-4.1.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d0284b14fe046037cb0473f08d5c63556042c14c5ed65379e81982afeb55bc21
|
||||
size 22985
|
||||
@@ -1,23 +0,0 @@
|
||||
From 93f36f74ef018b6d12a04a46bb4ff8c83569b9cd Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Mark=C3=A9ta?= <meggy.calabkova@gmail.com>
|
||||
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=""))
|
||||
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 6 09:50:53 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- 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 <steven.kowalik@suse.com>
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user