diff options
Diffstat (limited to 'dev-python/markdown2')
-rw-r--r-- | dev-python/markdown2/Manifest | 4 | ||||
-rw-r--r-- | dev-python/markdown2/files/2.3.8/0001-Fixed-code-highlighting-unit-tests.patch | 76 | ||||
-rw-r--r-- | dev-python/markdown2/markdown2-2.3.8-r1.ebuild | 34 | ||||
-rw-r--r-- | dev-python/markdown2/metadata.xml | 20 |
4 files changed, 0 insertions, 134 deletions
diff --git a/dev-python/markdown2/Manifest b/dev-python/markdown2/Manifest deleted file mode 100644 index 15fd328..0000000 --- a/dev-python/markdown2/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX 2.3.8/0001-Fixed-code-highlighting-unit-tests.patch 4412 BLAKE2B b6e3c0a84aeb468833ca7adece5da3e26dba471e681ee416f6b19674cb2a25cd3d15b8cb58201769f34c3a094d0fb887c3ea0ec6d6df0dc360c1ea93627d096d SHA512 ae068062d144a75c0bc79fa6acca2072abdfa43d690c9a6c9553caa0bfb095280ea965e8852ae8514b9416ab258de0be8b9ab480a5044d69038e312457d55572 -DIST markdown2-2.3.8.tar.gz 86850 BLAKE2B e227139d4ac368095872b09bcaac78ad49c7ae43b63036563c3b80b2ff6a78c3d302d8a2c56b68a5ba1d01967ab1861f842986316bb6d0a6625cb21b644e46eb SHA512 76abbbb2fa5f6a4cc43f358812079a2561f45ba5c2aed1a1860256440f7c48ca5e766c00c2464b973ef0cbbff9db58bca4398dc15ef8b5d203a6565b226bd7cd -EBUILD markdown2-2.3.8-r1.ebuild 746 BLAKE2B 54aa1a6ca841df7f14910919eefa1c04782bbf94e45b64c4232c53794478f01450c0e9441b470d16ccc6d77c47c134f059658f610cda119b5060efe0fc16eff6 SHA512 57158499db9e188096a77538bf684f5c6f1132277f687d3f8636ae661c6956e0d48a35f476f62858d309c8e544ad0587139e587f68816638babf45d42bcd9a54 -MISC metadata.xml 641 BLAKE2B f1c0e61b9c9e1229be9dbc2d913af9398d8ed41dc69afa0d46dcbc3c74aa583eedea6e1c8132de436b10b288f76a9657e3c74f7e546d357bba817e38b01606f6 SHA512 ece3faf6646450ac53797ac77c91f7e7a9953dcc419f98738cb8529722d04fa00a9a0e9fbe0958c2119b6e0909fe1ca6eee50749a133e2aec8b2d242071348f7 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 deleted file mode 100644 index 9a28e6b..0000000 --- a/dev-python/markdown2/files/2.3.8/0001-Fixed-code-highlighting-unit-tests.patch +++ /dev/null @@ -1,76 +0,0 @@ -From 55ba78e29ac983978806970ce4b81718fe68275b Mon Sep 17 00:00:00 2001 -From: ryanvilbrandt <ryan.vilbrandt@gmail.com> -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 @@ --<div class="codehilite"><pre><span></span><code><span class="k">if</span> <span class="bp">True</span><span class="p">:</span> -- <span class="k">print</span> <span class="s2">"hi"</span> -+<div class="codehilite"><pre><span></span><code><span class="k">if</span> <span class="kc">True</span><span class="p">:</span> -+ <span class="nb">print</span> <span class="s2">"hi"</span> - </code></pre></div> -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 @@ --<div class="codehilite"><pre><span></span><code><span class="k">if</span> <span class="bp">True</span><span class="p">:</span> -- <span class="k">print</span> <span class="s2">"hi"</span> -+<div class="codehilite"><pre><span></span><code><span class="k">if</span> <span class="kc">True</span><span class="p">:</span> -+ <span class="nb">print</span> <span class="s2">"hi"</span> - </code></pre></div> - - <p>That's using the <em>fenced-code-blocks</em> 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 @@ --<div class="codehilite"><pre><span></span><code><span class="k">if</span> <span class="bp">True</span><span class="p">:</span> -- <span class="k">print</span> <span class="s2">"hi"</span> -+<div class="codehilite"><pre><span></span><code><span class="k">if</span> <span class="kc">True</span><span class="p">:</span> -+ <span class="nb">print</span> <span class="s2">"hi"</span> - </code></pre></div> - - <p>That's using the <em>fenced-code-blocks</em> 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 @@ - <div class="codehilite"><pre><span></span><code><span class="k">def</span> <span class="nf">foo</span><span class="p">():</span> -- <span class="k">print</span> <span class="s2">"foo"</span> -+ <span class="nb">print</span> <span class="s2">"foo"</span> - -- <span class="k">print</span> <span class="s2">"bar"</span> -+ <span class="nb">print</span> <span class="s2">"bar"</span> - </code></pre></div> -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 @@ - <p>Some python code:</p> - - <div class="codehilite"><pre><span></span><code><span class="c1"># комментарий</span> --<span class="k">if</span> <span class="bp">True</span><span class="p">:</span> -- <span class="k">print</span> <span class="s2">"hi"</span> -+<span class="k">if</span> <span class="kc">True</span><span class="p">:</span> -+ <span class="nb">print</span> <span class="s2">"hi"</span> - </code></pre></div> --- -2.26.1 - diff --git a/dev-python/markdown2/markdown2-2.3.8-r1.ebuild b/dev-python/markdown2/markdown2-2.3.8-r1.ebuild deleted file mode 100644 index 83882a9..0000000 --- a/dev-python/markdown2/markdown2-2.3.8-r1.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) - -inherit distutils-r1 - -DESCRIPTION="Python Markdown language reimplementation" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" -HOMEPAGE="https://github.com/trentm/python-markdown2" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="dev-python/pygments[${PYTHON_USEDEP}]" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}/${PV}/0001-Fixed-code-highlighting-unit-tests.patch" ) - -python_prepare_all() { - # [issue52, knownfailure] - rm -f test/tm-cases/issue52* || die - - distutils-r1_python_prepare_all -} - -python_test() { - cd test || die - "${PYTHON}" test.py || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/markdown2/metadata.xml b/dev-python/markdown2/metadata.xml deleted file mode 100644 index 6718605..0000000 --- a/dev-python/markdown2/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>maksbotan@gentoo.org</email> - <name>Maxim Koltsov</name> - </maintainer> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <upstream> - <maintainer> - <name>Trent Mick</name> - </maintainer> - <bugs-to>https://github.com/trentm/python-markdown2/issues</bugs-to> - <remote-id type="pypi">markdown2</remote-id> - <remote-id type="github">trentm/python-markdown2</remote-id> - </upstream> -</pkgmetadata> |