summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-06-23 07:04:29 +0200
committerMichał Górny <mgorny@gentoo.org>2023-06-23 07:35:47 +0200
commit176a2619f6189d6b21bcfe73dd30b95cccf1bd9e (patch)
tree7d406405e2794d9317e3b4763de3e4a57bd1ef20 /dev-python/markdown2
parentdev-python/ubelt: Bump to 1.3.2 (diff)
downloadgentoo-176a2619f6189d6b21bcfe73dd30b95cccf1bd9e.tar.gz
gentoo-176a2619f6189d6b21bcfe73dd30b95cccf1bd9e.tar.bz2
gentoo-176a2619f6189d6b21bcfe73dd30b95cccf1bd9e.zip
dev-python/markdown2: Bump to 2.4.9
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.4.9.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/markdown2/Manifest b/dev-python/markdown2/Manifest
index 8a460fddd0f6..dffce91b4d90 100644
--- a/dev-python/markdown2/Manifest
+++ b/dev-python/markdown2/Manifest
@@ -1 +1,2 @@
DIST markdown2-2.4.8.tar.gz 119398 BLAKE2B 41a8a4fc669b048be243d5689b3cde91b5d071926454009ca5fc08a28f1fef2938ec6382f06e6a876c4e8b08824c61bedfe8da251bf1f6414b777ab8e745704c SHA512 d7ec267ac11bdb5f58b34d9bef095377790de50cea03d1ebb50f586c463c1c3ab541a88a00ea5afae83943699e607827e760504e211014ce8a2c33b4c72ff07e
+DIST markdown2-2.4.9.tar.gz 122039 BLAKE2B b21a6d749d88ebc6959309cac7b7e35081032f6c8bb43b51164c59094afc333bcf0d613c4065607e0c7e80e05de8295053cda3aeaff459681ac8327a1c5b00ef SHA512 6d6791b4552cd92e8f9647ac70b7515d23e38d40c0ae6320c2a55dddecdf6d24b41c24d1c375451ea51b95470382036860d7bc04d53a9da1f2452c9114eba4f5
diff --git a/dev-python/markdown2/markdown2-2.4.9.ebuild b/dev-python/markdown2/markdown2-2.4.9.ebuild
new file mode 100644
index 000000000000..904562e7b031
--- /dev/null
+++ b/dev-python/markdown2/markdown2-2.4.9.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+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 ~ppc ~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}"
+}