summaryrefslogtreecommitdiff
path: root/dev-python/markdown2
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/markdown2')
-rw-r--r--dev-python/markdown2/Manifest2
-rw-r--r--dev-python/markdown2/markdown2-2.4.6.ebuild32
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/markdown2/Manifest b/dev-python/markdown2/Manifest
index ff3cf00b6db7..5fe527a46467 100644
--- a/dev-python/markdown2/Manifest
+++ b/dev-python/markdown2/Manifest
@@ -1,5 +1,7 @@
DIST markdown2-2.4.3.tar.gz 102973 BLAKE2B 7a856a9d0bd539e3de1e358aa7d4968aca62b67a30dc64a905633040a6a525b2ac1ec0d4cd7d8d4ed9b38e68e5df3f187cf0f56e1816a4ec10efe4e849356580 SHA512 b5eb5cb6ac52878a224aa6b4642ade86593de5340594271940b3ef25809a9e37b9b3cbb04f4fa9880a50a4fee8ed85c1c6d76b19065b0fd703363faf4d812679
DIST markdown2-2.4.5.tar.gz 109389 BLAKE2B 52ef708f0b6df4d948f909b08a94c584738a34fdfc2c063713eead5b3ab9e657468ad2c112951f3296e167efe52c183997f5102a2dbcef15477de064b16bd89e SHA512 55ff010691110c2f79844031b0d4d7c6982c92dc75a1820e8659be02deeda868aca15931c1060795096e3228e6d451d247addc090f1d4939444331d37d5891c2
+DIST markdown2-2.4.6.tar.gz 118321 BLAKE2B d6d053f9f19da0857664275280c9e12d59da9c88db5643df04c4538b3ac9e24feca66361dd05685b2a0d0281af353324e1b051bc315e78f2be9edb20367fa9be SHA512 4c8dbbfa828e6a01e05e714a5d79f8ec4137e80bbd221251d81fc9185f175dc9ac7ebd7b043d052a4b0c2963715d0d25429a22b2671f1512e92c48177c56e2ea
EBUILD markdown2-2.4.3.ebuild 695 BLAKE2B 74b22100d1710ac46b0608ffc8e3d319fb074aa28ca861eff3031a14dee6856eb8c48111c6baf542d1056124e85c179dd7d6828caf5315cada0b80996b63ad9f SHA512 e899f1614f394328fb04daf2145fcafbbec589e0e98cc81cae253cb52a1fb3137c4495d7fb284762f72804426285a6a3c6e912d9d88233305581e098fd1c83c7
EBUILD markdown2-2.4.5.ebuild 707 BLAKE2B 43ebd28d32c818dff987e0a5cbce09e7bc1489247c4205341e9762146cc7bcadada23f4446422016ee53d2441582da8adb7b460aea705a63d256820fb3f65529 SHA512 f179f8ba15dcf40a2c8ddbdf7212b150ac2c6bcd31f96104605fa413f72ee1ddcad770916f3375046a7ea8caa71d7d2d2e43e75859166357305aa73c80ca45d0
+EBUILD markdown2-2.4.6.ebuild 707 BLAKE2B 43ebd28d32c818dff987e0a5cbce09e7bc1489247c4205341e9762146cc7bcadada23f4446422016ee53d2441582da8adb7b460aea705a63d256820fb3f65529 SHA512 f179f8ba15dcf40a2c8ddbdf7212b150ac2c6bcd31f96104605fa413f72ee1ddcad770916f3375046a7ea8caa71d7d2d2e43e75859166357305aa73c80ca45d0
MISC metadata.xml 551 BLAKE2B 293046752073df3a0fe72acea3165d62ae78297f82aa72e40edeaab6bb6021ccbeaa8cc145341aa05dd3fe87c2f89e88f2281ca95ead33d99bbfc5ba53573ca1 SHA512 9d30d896754f1379f4fae79f86bec966cc3639a42e5e7bcc7e8d2e94881ee8a75b7e3ddedbc1573f1eb3c429aea636512efdb887f2827dc1b1aaa4caaa44e413
diff --git a/dev-python/markdown2/markdown2-2.4.6.ebuild b/dev-python/markdown2/markdown2-2.4.6.ebuild
new file mode 100644
index 000000000000..baf14a7088a0
--- /dev/null
+++ b/dev-python/markdown2/markdown2-2.4.6.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python Markdown language reimplementation"
+HOMEPAGE="
+ https://github.com/trentm/python-markdown2/
+ https://pypi.org/project/markdown2/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+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}"
+}