summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-10-10 06:23:10 +0200
committerMichał Górny <mgorny@gentoo.org>2024-10-10 07:03:18 +0200
commit3b1e270d6094b1a2377c9df821fb45fde3c39b5d (patch)
treed384645ecd035776233677cd4c1ec2a1bd131578 /dev-python/markdown2
parentdev-python/xmltodict: Bump to 0.14.1 (diff)
downloadgentoo-3b1e270d6094b1a2377c9df821fb45fde3c39b5d.tar.gz
gentoo-3b1e270d6094b1a2377c9df821fb45fde3c39b5d.tar.bz2
gentoo-3b1e270d6094b1a2377c9df821fb45fde3c39b5d.zip
dev-python/markdown2: Bump to 2.5.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/markdown2')
-rw-r--r--dev-python/markdown2/Manifest1
-rw-r--r--dev-python/markdown2/markdown2-2.5.1.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/markdown2/Manifest b/dev-python/markdown2/Manifest
index 5a90403511b4..25cc533ea602 100644
--- a/dev-python/markdown2/Manifest
+++ b/dev-python/markdown2/Manifest
@@ -1 +1,2 @@
DIST markdown2-2.5.0.tar.gz 138574 BLAKE2B 989a8c8c528ecc0feb4073f02119ee351f4c4ece2e23f03159d3cb76123838e55a5ece846c7bc66fb37760a171606312c3854726d6abeb3a258223500a139fbe SHA512 1fead06f1f1692908f6be3da8f11a010a541cf0c5e38db6744b84aa9b6e2b45ac7a0b3a06427d5dedf0c5bb5eae4636973e625ffbcf066febeb752965c594579
+DIST markdown2-2.5.1.tar.gz 140957 BLAKE2B 204ba7b388ff4c16db603761aceb1baf4b8b2dac3e4b1e85776c0a8a99223822a41b414535691be579c78f29e146713190fe80c1cf7d1303b7c3c80d5abbb1c5 SHA512 758d2f66c157cd709edc3bd4e67839eaae37db7a2c126451c840e32b150792cd11c1cd25ff8c4d46bff2bed290af8a3c7c87361e2d62009b16a00eb8f549af98
diff --git a/dev-python/markdown2/markdown2-2.5.1.ebuild b/dev-python/markdown2/markdown2-2.5.1.ebuild
new file mode 100644
index 000000000000..7b18bd75a79e
--- /dev/null
+++ b/dev-python/markdown2/markdown2-2.5.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-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 pypi
+
+DESCRIPTION="Python Markdown language reimplementation"
+HOMEPAGE="
+ https://github.com/trentm/python-markdown2/
+ https://pypi.org/project/markdown2/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="
+ >=dev-python/pygments-2.7.3[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest
+
+python_test() {
+ cd test || die
+ "${EPYTHON}" -m unittest test_markdown2.py -v ||
+ die "Tests fail with ${EPYTHON}"
+}