summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-08-17 09:29:30 +0200
committerMichał Górny <mgorny@gentoo.org>2024-08-17 09:29:30 +0200
commita6937a6921a29f33a6015ccbfd1b110d7b5324b4 (patch)
tree40168f4c9f4aa8be594034d8fb1abe658211017c /dev-python/pymdown-extensions
parentdev-python/pyjwt: Remove old (diff)
downloadgentoo-a6937a6921a29f33a6015ccbfd1b110d7b5324b4.tar.gz
gentoo-a6937a6921a29f33a6015ccbfd1b110d7b5324b4.tar.bz2
gentoo-a6937a6921a29f33a6015ccbfd1b110d7b5324b4.zip
dev-python/pymdown-extensions: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pymdown-extensions')
-rw-r--r--dev-python/pymdown-extensions/Manifest1
-rw-r--r--dev-python/pymdown-extensions/files/pymdown-extensions-10.8.1-test.patch66
-rw-r--r--dev-python/pymdown-extensions/pymdown-extensions-10.8.1.ebuild42
3 files changed, 0 insertions, 109 deletions
diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest
index d0817b1f064a..88dfaca978f5 100644
--- a/dev-python/pymdown-extensions/Manifest
+++ b/dev-python/pymdown-extensions/Manifest
@@ -1,2 +1 @@
-DIST pymdown_extensions-10.8.1.tar.gz 812097 BLAKE2B 1f9d0c2eea87ae15320ac81289532518639464d4fbf8e84fc55d0e3e14b40629960c0518c602a721d29c542d278a9ada53521fa7db228eb92f7f5aaa618dc27d SHA512 3a63086753f662cafaa0e1226d21cf90c9427c409b28898d037a3ebb566806226455b1e9e6c2f2b36781df02dfb7110fe0fb9e6df3170030af75ba5a42661ffd
DIST pymdown_extensions-10.9.tar.gz 812128 BLAKE2B 2427c41b8587e8b0c4d9bedc4e7c413959545f6c1a12b2c9453861bdb349cbd5bb70327384821f6423718296f56efa17aae21db79bdd038f330246555bcd538b SHA512 3642ccf18a85ffe6ac03dcb132f4b64009490e2a6d0cc70c322ef7640de2a5895a321f755f2d6e16f9c9e84b112c12ded2db18ff73d3201f7b9e0a10c8cd78b5
diff --git a/dev-python/pymdown-extensions/files/pymdown-extensions-10.8.1-test.patch b/dev-python/pymdown-extensions/files/pymdown-extensions-10.8.1-test.patch
deleted file mode 100644
index 507494094b73..000000000000
--- a/dev-python/pymdown-extensions/files/pymdown-extensions-10.8.1-test.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-From 321d5d8c7fa5965cb4c933eae8371113d40f9932 Mon Sep 17 00:00:00 2001
-From: facelessuser <faceless.shop@gmail.com>
-Date: Sun, 5 May 2024 06:50:56 -0600
-Subject: [PATCH] Update tests to account for latest Ruff and Pygments updates
-
-- Fix warning in Ruff
-- Fix test expectations of Pygments lexer output
-
-Fixes #2378
----
- tests/test_extensions/test_highlight.py | 8 ++++----
- tests/test_extensions/test_inlinehilite.py | 4 ++--
- 3 files changed, 8 insertions(+), 8 deletions(-)
-
-diff --git a/tests/test_extensions/test_highlight.py b/tests/test_extensions/test_highlight.py
-index 2b020a8a2..4d4433c80 100644
---- a/tests/test_extensions/test_highlight.py
-+++ b/tests/test_extensions/test_highlight.py
-@@ -23,10 +23,10 @@ def test_guess(self):
- ```
- ''',
- '''
-- <div class="highlight"><pre><span></span><code><span class="kn">import</span> <span class="nn">test</span>
-+ <div class="highlight"><pre><span></span><code><span class="kn">import</span><span class="w"> </span><span class="nn">test</span>
- <span class="n">test</span><span class="o">.</span><span class="n">test</span><span class="p">()</span>
- </code></pre></div>
-- ''',
-+ ''', # noqa: E501
- True
- )
-
-@@ -52,10 +52,10 @@ def test_guess_block(self):
- ```
- ''',
- '''
-- <div class="highlight"><pre><span></span><code><span class="kn">import</span> <span class="nn">test</span>
-+ <div class="highlight"><pre><span></span><code><span class="kn">import</span><span class="w"> </span><span class="nn">test</span>
- <span class="n">test</span><span class="o">.</span><span class="n">test</span><span class="p">()</span>
- </code></pre></div>
-- ''',
-+ ''', # noqa: E501
- True
- )
-
-diff --git a/tests/test_extensions/test_inlinehilite.py b/tests/test_extensions/test_inlinehilite.py
-index 3cb853070..c82baa6dc 100644
---- a/tests/test_extensions/test_inlinehilite.py
-+++ b/tests/test_extensions/test_inlinehilite.py
-@@ -224,7 +224,7 @@ def test_guessing(self):
-
- self.check_markdown(
- r'`import module`.',
-- r'<p><code class="inlinehilite"><span class="kn">import</span> <span class="nn">module</span></code>.</p>'
-+ r'<p><code class="inlinehilite"><span class="kn">import</span><span class="w"> </span><span class="nn">module</span></code>.</p>' # noqa: E501
- )
-
-
-@@ -251,7 +251,7 @@ def test_guessing_inline(self):
-
- self.check_markdown(
- r'`import module`.',
-- r'<p><code class="inlinehilite"><span class="kn">import</span> <span class="nn">module</span></code>.</p>'
-+ r'<p><code class="inlinehilite"><span class="kn">import</span><span class="w"> </span><span class="nn">module</span></code>.</p>' # noqa: E501
- )
-
- def test_no_guessing_block(self):
diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.8.1.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.8.1.ebuild
deleted file mode 100644
index c37645c8c438..000000000000
--- a/dev-python/pymdown-extensions/pymdown-extensions-10.8.1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( pypy3 python3_{10..13} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Extensions for Python Markdown"
-HOMEPAGE="
- https://github.com/facelessuser/pymdown-extensions/
- https://pypi.org/project/pymdown-extensions/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86"
-
-RDEPEND="
- >=dev-python/markdown-3.6[${PYTHON_USEDEP}]
- dev-python/pyyaml[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
- test? (
- >=dev-python/pygments-2.12.0[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-PATCHES=(
- # https://github.com/facelessuser/pymdown-extensions/pull/2379
- "${FILESDIR}/${P}-test.patch"
-)
-
-python_test() {
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- epytest
-}