diff options
Diffstat (limited to 'dev-python/pymdown-extensions')
5 files changed, 2 insertions, 155 deletions
diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest index abd1c0eee136..8f39b481ec4b 100644 --- a/dev-python/pymdown-extensions/Manifest +++ b/dev-python/pymdown-extensions/Manifest @@ -1,8 +1,3 @@ -AUX pymdown-extensions-10.7.1-md36.patch 1717 BLAKE2B f1a401a01a1b74e1cf3edfd88bb1bd345ea47f86287ca7955536d66fcc99ce0a37e91ae4695a42476b7530c72b0c1fbe75b539be22d3706a95f57a3b4b54e61c SHA512 ea3c7a79255d585d4e627ec8bf4890b854e35ec8ff7fde480aad53180354a89aecf4ef0154f8c057f5ef144f11cd63d028532085688d40ae4f295003cac12874 -DIST pymdown_extensions-10.7.1.tar.gz 811769 BLAKE2B ed2195a1a2262b96d444dd7d60c6330a6670cbe44a0f00f4c5a1dd80f4d2f13f0202adac5505d2fd5b6b5b02300e2d0bc62680fd92f3c00363c4123f02151a0a SHA512 60dce8fafb1935ab3d42320f9b6a3db9b60f4f4d4585b79f123103183f2a2ae9ed1256ae84992ad14b20f6969519a9c1a1b916c301a63715f867e8136be5eb2b DIST pymdown_extensions-10.8.1.tar.gz 812097 BLAKE2B 1f9d0c2eea87ae15320ac81289532518639464d4fbf8e84fc55d0e3e14b40629960c0518c602a721d29c542d278a9ada53521fa7db228eb92f7f5aaa618dc27d SHA512 3a63086753f662cafaa0e1226d21cf90c9427c409b28898d037a3ebb566806226455b1e9e6c2f2b36781df02dfb7110fe0fb9e6df3170030af75ba5a42661ffd -DIST pymdown_extensions-10.8.tar.gz 811981 BLAKE2B 98e95166fa4fdb0ed7049104f2a49995e43a40fb5118673ee8f47b999c4881a8468ce98e6381fd78d58b15218c444c8c3270450a845e5025cab8861d1746fcdb SHA512 24b5d2211941a771c7f3b6fb9d6eb2db2c3b38906c4c37f2fa385e5b28140a60dc163256e903fd4df4144b05d9c1c4c0c296fe76ceb290969674753b87de7466 -EBUILD pymdown-extensions-10.7.1.ebuild 1189 BLAKE2B 10ec9eeaf933a7f2b3afd1816a805022a9fdad85078f46736b9eb06f5fe252ab62d89b9dbd73a743c5be74980a17d13271b1d45cf561abccb2601de4fafa26b5 SHA512 8d815dc1d560759a261d7273ccc32d22e96c488a19df6996481aa90bc19c6126520644997b018f964ce313cb365b071c386db8c6efeff007c48d322bf731d210 -EBUILD pymdown-extensions-10.8.1.ebuild 1072 BLAKE2B e7964f23c23e2d94634a0c6f6703e94100de56d2479473c29a48d0fb637f75b1b4ec72bfa68f1e52e3b1257493695948bb1ccd724a5529d092db91615a49deee SHA512 94edbed63a799d54de50580f91a38b489aa6d2fbcffc563df520c5ed7b1834ddad764bda8ad8c1d6ccf1a414ec778fb97e9d68f2ac62a1ae3b0b2d1dee30aa8a -EBUILD pymdown-extensions-10.8.ebuild 1072 BLAKE2B e7964f23c23e2d94634a0c6f6703e94100de56d2479473c29a48d0fb637f75b1b4ec72bfa68f1e52e3b1257493695948bb1ccd724a5529d092db91615a49deee SHA512 94edbed63a799d54de50580f91a38b489aa6d2fbcffc563df520c5ed7b1834ddad764bda8ad8c1d6ccf1a414ec778fb97e9d68f2ac62a1ae3b0b2d1dee30aa8a +EBUILD pymdown-extensions-10.8.1.ebuild 1069 BLAKE2B 430cc4ce166cfd5aeab11355e58e15ffaca7fe1b16d1085c078fa3a884cfbd3d3728983fa615e30cc0245def5e0b2394bf21f833d4a5592e7927dd4a97d7cfef SHA512 38b9a98e192291f1ce12401709b9d4eb5d542590dc5df82d708a9ad124ca94caf2f3c185cfc8d31466a612c2ed9d49a06dedcebb6fddaca22c229848f624a45a MISC metadata.xml 536 BLAKE2B f417ab2132b06eadbf1785654080084c4ef694f983e223ade83d5c77213e4443203a498a168efd68e4a3b1cccbe019c5b88716ac851719b9197deba9d2fd5411 SHA512 51304b48f9e296abea376be300053e041ea331f93e1ec7a2a3cdf10eea0ed6e9b8f04cdcbbed7920b46c60d5f6ce9337e3e25635516871d7b080eb54bfa16f57 diff --git a/dev-python/pymdown-extensions/files/pymdown-extensions-10.7.1-md36.patch b/dev-python/pymdown-extensions/files/pymdown-extensions-10.7.1-md36.patch deleted file mode 100644 index 5c914923e6cc..000000000000 --- a/dev-python/pymdown-extensions/files/pymdown-extensions-10.7.1-md36.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 509e93de0f4d6052ff017a543aff70eb354dc590 Mon Sep 17 00:00:00 2001 -From: Isaac Muse <faceless.shop@gmail.com> -Date: Tue, 26 Mar 2024 06:40:11 -0600 -Subject: [PATCH] Fix SmartSymbols Toc test (#2344) - -Fixes #2343 ---- - tests/test_extensions/test_smartsymbols.py | 24 +++++++++++++++++++++- - 1 file changed, 23 insertions(+), 1 deletion(-) - -diff --git a/tests/test_extensions/test_smartsymbols.py b/tests/test_extensions/test_smartsymbols.py -index b438fb7d7..1a8688f0c 100644 ---- a/tests/test_extensions/test_smartsymbols.py -+++ b/tests/test_extensions/test_smartsymbols.py -@@ -1,6 +1,9 @@ - """Test cases for SmartSymbols.""" - from .. import util - import markdown -+from pymdownx.__meta__ import parse_version -+ -+PYMD_3_6 = parse_version(markdown.__version__) >= (3, 6, 0) - - - class TestSmartSymbols(util.MdCase): -@@ -139,4 +142,23 @@ def test_toc_tokens(self): - - md = markdown.Markdown(extensions=['toc', 'pymdownx.smartsymbols']) - md.convert('# *Foo* =/= `bar`') -- self.assertEqual(md.toc_tokens, [{'level': 1, 'id': 'foo-bar', 'name': 'Foo ≠ bar', 'children': []}]) -+ self.assertEqual( -+ md.toc_tokens, -+ [ -+ { -+ 'children': [], -+ 'data-toc-label': '', -+ 'html': '<em>Foo</em> ≠ <code>bar</code>', -+ 'id': 'foo-bar', -+ 'level': 1, -+ 'name': 'Foo ≠ bar' -+ } -+ ] if PYMD_3_6 else [ -+ { -+ 'level': 1, -+ 'id': 'foo-bar', -+ 'name': 'Foo ≠ bar', -+ 'children': [] -+ } -+ ] -+ ) diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.7.1.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.7.1.ebuild deleted file mode 100644 index b81baf88a509..000000000000 --- a/dev-python/pymdown-extensions/pymdown-extensions-10.7.1.ebuild +++ /dev/null @@ -1,52 +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..12} ) - -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.5[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -" - -BDEPEND=" - test? ( - >=dev-python/pygments-2.12.0[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -src_prepare() { - local PATCHES=( - # https://github.com/facelessuser/pymdown-extensions/issues/2343 - "${FILESDIR}/${P}-md36.patch" - ) - - # broken on pypy3; unfortunately, the parametrization is based - # on indexes and these are pretty random, so we need to remove it - # entirely - # TODO: restore it when pypy with a fix is in Gentoo - # https://github.com/pypy/pypy/issues/4920 - rm "tests/extensions/superfences/superfences (normal).txt" || die - distutils-r1_src_prepare -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.8.1.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.8.1.ebuild index 30aebcd368e1..8f28adec21d5 100644 --- a/dev-python/pymdown-extensions/pymdown-extensions-10.8.1.ebuild +++ b/dev-python/pymdown-extensions/pymdown-extensions-10.8.1.ebuild @@ -16,7 +16,7 @@ HOMEPAGE=" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv x86" RDEPEND=" >=dev-python/markdown-3.6[${PYTHON_USEDEP}] diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.8.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.8.ebuild deleted file mode 100644 index 30aebcd368e1..000000000000 --- a/dev-python/pymdown-extensions/pymdown-extensions-10.8.ebuild +++ /dev/null @@ -1,47 +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..12} ) - -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 - -src_prepare() { - # broken on pypy3; unfortunately, the parametrization is based - # on indexes and these are pretty random, so we need to remove it - # entirely - # TODO: restore it when pypy with a fix is in Gentoo - # https://github.com/pypy/pypy/issues/4920 - rm "tests/extensions/superfences/superfences (normal).txt" || die - distutils-r1_src_prepare -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} |