summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2020-12-12 09:04:18 +0100
committerMike Gilbert <floppym@gentoo.org>2020-12-12 10:58:43 -0500
commit4060c40a0807b846986e989d9b7631ccd0f453bd (patch)
treeb5308b738e18cf1a848ced67c1ee4cface1aef76 /dev-python/markdown
parentdev-python/libnacl: remove unused patch(es) (diff)
downloadgentoo-4060c40a0807b846986e989d9b7631ccd0f453bd.tar.gz
gentoo-4060c40a0807b846986e989d9b7631ccd0f453bd.tar.bz2
gentoo-4060c40a0807b846986e989d9b7631ccd0f453bd.zip
dev-python/markdown: remove unused patch(es)
Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-python/markdown')
-rw-r--r--dev-python/markdown/files/markdown-3.3-pygments-2.7.patch89
1 files changed, 0 insertions, 89 deletions
diff --git a/dev-python/markdown/files/markdown-3.3-pygments-2.7.patch b/dev-python/markdown/files/markdown-3.3-pygments-2.7.patch
deleted file mode 100644
index be94fe028755..000000000000
--- a/dev-python/markdown/files/markdown-3.3-pygments-2.7.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-From c2904eac1a6daf8a3aaef6af0791b101e1971544 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Wed, 7 Oct 2020 15:01:07 +0200
-Subject: [PATCH] Update tests for pygments-2.7.1
-
-Closes #1030
----
- .../extensions/test_code_hilite.py | 22 +++++++++----------
- .../extensions/test_fenced_code.py | 2 +-
- tox.ini | 2 +-
- 3 files changed, 13 insertions(+), 13 deletions(-)
-
-diff --git a/tests/test_syntax/extensions/test_code_hilite.py b/tests/test_syntax/extensions/test_code_hilite.py
-index 8d5512d..3e36ae5 100644
---- a/tests/test_syntax/extensions/test_code_hilite.py
-+++ b/tests/test_syntax/extensions/test_code_hilite.py
-@@ -205,7 +205,7 @@ class TestCodeHiliteClass(TestCase):
- def test_codehilite_linenos_inline(self):
- if has_pygments:
- expected = (
-- '<div class="codehilite"><pre><span></span><code><span class="lineno">1 </span>plain text\n'
-+ '<div class="codehilite"><pre><span></span><code><span class="linenos">1</span>plain text\n'
- '</code></pre></div>'
- )
- else:
-@@ -259,7 +259,7 @@ class TestCodeHiliteClass(TestCase):
- def test_codehilite_linenostart(self):
- if has_pygments:
- expected = (
-- '<div class="codehilite"><pre><span></span><code><span class="lineno">42 </span>plain text\n'
-+ '<div class="codehilite"><pre><span></span><code><span class="linenos">42</span>plain text\n'
- '</code></pre></div>'
- )
- else:
-@@ -274,9 +274,9 @@ class TestCodeHiliteClass(TestCase):
- if has_pygments:
- expected = (
- '<div class="codehilite"><pre><span></span><code>'
-- '<span class="lineno">1 </span><span class="hll">line 1\n'
-- '</span><span class="lineno">2 </span>line 2\n'
-- '<span class="lineno">3 </span><span class="hll">line 3\n'
-+ '<span class="linenos">1</span><span class="hll">line 1\n'
-+ '</span><span class="linenos">2</span>line 2\n'
-+ '<span class="linenos">3</span><span class="hll">line 3\n'
- '</span></code></pre></div>'
- )
- else:
-@@ -291,9 +291,9 @@ class TestCodeHiliteClass(TestCase):
- def test_codehilite_linenos_linenostep(self):
- if has_pygments:
- expected = (
-- '<div class="codehilite"><pre><span></span><code><span class="lineno"> </span>line 1\n'
-- '<span class="lineno">2 </span>line 2\n'
-- '<span class="lineno"> </span>line 3\n'
-+ '<div class="codehilite"><pre><span></span><code><span class="linenos"> </span>line 1\n'
-+ '<span class="linenos">2</span>line 2\n'
-+ '<span class="linenos"> </span>line 3\n'
- '</code></pre></div>'
- )
- else:
-@@ -308,9 +308,9 @@ class TestCodeHiliteClass(TestCase):
- def test_codehilite_linenos_linenospecial(self):
- if has_pygments:
- expected = (
-- '<div class="codehilite"><pre><span></span><code><span class="lineno">1 </span>line 1\n'
-- '<span class="lineno special">2 </span>line 2\n'
-- '<span class="lineno">3 </span>line 3\n'
-+ '<div class="codehilite"><pre><span></span><code><span class="linenos">1</span>line 1\n'
-+ '<span class="linenos special">2</span>line 2\n'
-+ '<span class="linenos">3</span>line 3\n'
- '</code></pre></div>'
- )
- else:
-diff --git a/tests/test_syntax/extensions/test_fenced_code.py b/tests/test_syntax/extensions/test_fenced_code.py
-index e5de0b7..8fa75f7 100644
---- a/tests/test_syntax/extensions/test_fenced_code.py
-+++ b/tests/test_syntax/extensions/test_fenced_code.py
-@@ -629,7 +629,7 @@ class TestFencedCode(TestCase):
- if self.has_pygments:
- expected = (
- '<div class="python codehilite" style="background: #f8f8f8">'
-- '<pre style="line-height: 125%"><span></span><code>'
-+ '<pre style="line-height: 125%; margin: 0;"><span></span><code>'
- '<span style="color: #408080; font-style: italic"># Some python code</span>\n'
- '</code></pre></div>'
- )
---
-2.28.0
-