commit: 47c5e9d1730e6ffbdbf6e12a8bba340c3279ddf0
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 14 19:04:50 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 14 19:51:44 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47c5e9d1
dev-python/mistletoe: add 1.4.0
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/mistletoe/Manifest | 1 +
dev-python/mistletoe/mistletoe-1.4.0.ebuild | 36 +++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
diff --git a/dev-python/mistletoe/Manifest b/dev-python/mistletoe/Manifest
index bd065e377e40..8b453491ac40 100644
--- a/dev-python/mistletoe/Manifest
+++ b/dev-python/mistletoe/Manifest
@@ -1 +1,2 @@
DIST mistletoe-1.3.0.gh.tar.gz 121653 BLAKE2B
32c106e349cbbb4f9f197df30bb42b108228fecb021d8482a18e4e859936bce250960a39ec02c98aac53dc75b9315dac1db052647417a3fdaa99f7cefafa49de
SHA512
44094989ee95445c8330223bf095808e755eb2f59ce6984362f0b6c293a72397f7d340430aac618f635f1042466b6d48171a406ecc3ea17c69435f4b254d77ab
+DIST mistletoe-1.4.0.gh.tar.gz 122220 BLAKE2B
ca82e85a5900a07ce97749d4e199b6a938e26f25154123a64cb26bdfb4efcdc60ac4bec8d43dc4c1fa33417f1e34772ea6cd7fe59db5a2f0a5aa8fbb73dac33e
SHA512
6896be4a6eb377699e97d16d1224165a14dc238047490125d29cbcced6121afd7df70497434f6bea0aa4e2e2a086c31176ecc79d38943f18d0b72f36894c7eec
diff --git a/dev-python/mistletoe/mistletoe-1.4.0.ebuild
b/dev-python/mistletoe/mistletoe-1.4.0.ebuild
new file mode 100644
index 000000000000..d48d8d1d09c9
--- /dev/null
+++ b/dev-python/mistletoe/mistletoe-1.4.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="A fast, extensible Markdown parser in pure Python"
+HOMEPAGE="
+ https://github.com/miyuchina/mistletoe/
+ https://pypi.org/project/mistletoe/
+"
+# pypi has incomplete test suite
+SRC_URI="
+ https://github.com/miyuchina/mistletoe/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+# NB: pygments is technically optional but we like syntax highlighting
+RDEPEND="
+ dev-python/pygments[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/parameterized[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest