summaryrefslogtreecommitdiff
path: root/dev-python/pymdown-extensions
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-05 07:05:51 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-05 07:05:51 +0000
commit66a7d60eb8beba754ba79c2752cbf70fcf741b0b (patch)
treeba0fa0ac1410fd921f6c30cffbebda88ac06f61e /dev-python/pymdown-extensions
parent5c6b55db727bab81f5c3625597b29583c30186a3 (diff)
gentoo auto-resync : 05:03:2024 - 07:05:50
Diffstat (limited to 'dev-python/pymdown-extensions')
-rw-r--r--dev-python/pymdown-extensions/Manifest2
-rw-r--r--dev-python/pymdown-extensions/pymdown-extensions-10.7.1.ebuild47
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest
index 9411e8736eef..caf3aa92cc48 100644
--- a/dev-python/pymdown-extensions/Manifest
+++ b/dev-python/pymdown-extensions/Manifest
@@ -1,3 +1,5 @@
+DIST pymdown_extensions-10.7.1.tar.gz 811769 BLAKE2B ed2195a1a2262b96d444dd7d60c6330a6670cbe44a0f00f4c5a1dd80f4d2f13f0202adac5505d2fd5b6b5b02300e2d0bc62680fd92f3c00363c4123f02151a0a SHA512 60dce8fafb1935ab3d42320f9b6a3db9b60f4f4d4585b79f123103183f2a2ae9ed1256ae84992ad14b20f6969519a9c1a1b916c301a63715f867e8136be5eb2b
DIST pymdown_extensions-10.7.tar.gz 811535 BLAKE2B d933fa172e34e4d36956d8db385865939519f3cc8c5eecc3e132e4d2730910edf8df40ff52183caad26a5ea7613230fe55f09ca8e74a0911b4bbc039b2160ed3 SHA512 1fd1514dc2d322de42b077f90c9e328b6359f34904339deaaed699278c41ea464c793a3a794337d7bb634e2eca4411d54553005a3e5b0d8e31444feeb9e9a0db
+EBUILD pymdown-extensions-10.7.1.ebuild 1072 BLAKE2B 79f60b5a427145097950108e76e78e06da4e389cf377b3ee1d599706eac3509aef15161d2a790ad535c99b0c2e7798741f47721fee833513c65f87caf94b8314 SHA512 3df6a1c5dd268cd4c3f7a4038ddb4aae32dbe8da850a7876d1a188a71096e5849193c0a6f73c70f4d0bbbd12da931d1063aad4f7e1e6bf805211daedb969b6ed
EBUILD pymdown-extensions-10.7.ebuild 1069 BLAKE2B 358295358bcbc312f60a7eb5f0a5f8a92d90f1212df3fc03b148de38b2b7b33f6d2fcc790945a3919ef5340ff28d146d76e8b8ebdec387fa5f63ca9868642eb6 SHA512 3b47888a3da7250a96e3397c9e2572aa14bba451109a36606b5c809ca4129d063d6d5edf3024b6bc4b8bf05b79d2d6fa09db4cc91e81af46a240d2e47ee86610
MISC metadata.xml 536 BLAKE2B f417ab2132b06eadbf1785654080084c4ef694f983e223ade83d5c77213e4443203a498a168efd68e4a3b1cccbe019c5b88716ac851719b9197deba9d2fd5411 SHA512 51304b48f9e296abea376be300053e041ea331f93e1ec7a2a3cdf10eea0ed6e9b8f04cdcbbed7920b46c60d5f6ce9337e3e25635516871d7b080eb54bfa16f57
diff --git a/dev-python/pymdown-extensions/pymdown-extensions-10.7.1.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-10.7.1.ebuild
new file mode 100644
index 000000000000..abf5c06a483a
--- /dev/null
+++ b/dev-python/pymdown-extensions/pymdown-extensions-10.7.1.ebuild
@@ -0,0 +1,47 @@
+# 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() {
+ # 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
+}