From 7ecebbbfdceb24ce4f30a8129690534ec892fcc7 Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Sun, 19 Apr 2020 15:28:50 +0200 Subject: dev-python/markdown2: Add 2.3.8 Package-Manager: Portage-2.3.89, Repoman-2.3.20 --- .../0001-Fixed-code-highlighting-unit-tests.patch | 76 ++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 dev-python/markdown2/files/2.3.8/0001-Fixed-code-highlighting-unit-tests.patch (limited to 'dev-python/markdown2/files') diff --git a/dev-python/markdown2/files/2.3.8/0001-Fixed-code-highlighting-unit-tests.patch b/dev-python/markdown2/files/2.3.8/0001-Fixed-code-highlighting-unit-tests.patch new file mode 100644 index 0000000..9a28e6b --- /dev/null +++ b/dev-python/markdown2/files/2.3.8/0001-Fixed-code-highlighting-unit-tests.patch @@ -0,0 +1,76 @@ +From 55ba78e29ac983978806970ce4b81718fe68275b Mon Sep 17 00:00:00 2001 +From: ryanvilbrandt +Date: Tue, 26 Nov 2019 13:54:27 -0800 +Subject: [PATCH] Fixed code highlighting unit tests + +Which broke for some reason?? +--- + test/tm-cases/fenced_code_blocks_leading_lang_space.html | 4 ++-- + test/tm-cases/fenced_code_blocks_safe_highlight.html | 4 ++-- + test/tm-cases/fenced_code_blocks_syntax_highlighting.html | 4 ++-- + test/tm-cases/fenced_code_blocks_syntax_indentation.html | 4 ++-- + test/tm-cases/issue3_bad_code_color_hack.html | 4 ++-- + 5 files changed, 10 insertions(+), 10 deletions(-) + +diff --git a/test/tm-cases/fenced_code_blocks_leading_lang_space.html b/test/tm-cases/fenced_code_blocks_leading_lang_space.html +index 8f7a090..a61524b 100644 +--- a/test/tm-cases/fenced_code_blocks_leading_lang_space.html ++++ b/test/tm-cases/fenced_code_blocks_leading_lang_space.html +@@ -1,3 +1,3 @@ +-
if True:
+-    print "hi"
++
if True:
++    print "hi"
+ 
+diff --git a/test/tm-cases/fenced_code_blocks_safe_highlight.html b/test/tm-cases/fenced_code_blocks_safe_highlight.html +index df5bbec..a08985a 100644 +--- a/test/tm-cases/fenced_code_blocks_safe_highlight.html ++++ b/test/tm-cases/fenced_code_blocks_safe_highlight.html +@@ -1,5 +1,5 @@ +-
if True:
+-    print "hi"
++
if True:
++    print "hi"
+ 
+ +

That's using the fenced-code-blocks extra with Python +diff --git a/test/tm-cases/fenced_code_blocks_syntax_highlighting.html b/test/tm-cases/fenced_code_blocks_syntax_highlighting.html +index df5bbec..a08985a 100644 +--- a/test/tm-cases/fenced_code_blocks_syntax_highlighting.html ++++ b/test/tm-cases/fenced_code_blocks_syntax_highlighting.html +@@ -1,5 +1,5 @@ +-

if True:
+-    print "hi"
++
if True:
++    print "hi"
+ 
+ +

That's using the fenced-code-blocks extra with Python +diff --git a/test/tm-cases/fenced_code_blocks_syntax_indentation.html b/test/tm-cases/fenced_code_blocks_syntax_indentation.html +index 11a7c24..37b5723 100644 +--- a/test/tm-cases/fenced_code_blocks_syntax_indentation.html ++++ b/test/tm-cases/fenced_code_blocks_syntax_indentation.html +@@ -1,5 +1,5 @@ +

def foo():
+-    print "foo"
++    print "foo"
+ 
+-    print "bar"
++    print "bar"
+ 
+diff --git a/test/tm-cases/issue3_bad_code_color_hack.html b/test/tm-cases/issue3_bad_code_color_hack.html +index 46f329a..8aedb76 100644 +--- a/test/tm-cases/issue3_bad_code_color_hack.html ++++ b/test/tm-cases/issue3_bad_code_color_hack.html +@@ -7,6 +7,6 @@ +

Some python code:

+ +
# комментарий
+-if True:
+-    print "hi"
++if True:
++    print "hi"
+ 
+-- +2.26.1 + -- cgit v1.2.3-2-gb3c3