1 |
commit: 1ba0b751fee3a53f3f67749826ba6bb74d43484f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 23 00:29:07 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 23 00:54:52 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ba0b751 |
7 |
|
8 |
dev-python/markdown2: Bump to 2.4.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/markdown2/Manifest | 1 + |
13 |
dev-python/markdown2/markdown2-2.4.0.ebuild | 30 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 31 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/markdown2/Manifest b/dev-python/markdown2/Manifest |
17 |
index 73ed1b10a29..fda95f93306 100644 |
18 |
--- a/dev-python/markdown2/Manifest |
19 |
+++ b/dev-python/markdown2/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST markdown2-2.3.10.tar.gz 102543 BLAKE2B 78c20c0b183c90d2f7e0a3e92660619761f1cd754bf3f142e5d6e29736242fb847e1ab4e4aa316378a8943912bd3a0270c0f26cfe74cf224969974ad1632cf77 SHA512 0d695cae9e131930ef67b0f389e0c14b062ddd009e441ec8b70553e4a71d7f4a0ec63f9e039624059c3fe09ad37480e3ddafcf31ffa1b031be26490c6b6b89c4 |
22 |
+DIST markdown2-2.4.0.tar.gz 96596 BLAKE2B 23fa2b05e7f26bd76b38b2c7f4fb5b3b36694b0e30ab3f168b64754f62d7d2742c5e0bfbed774a198527ad226bfe411e0ba11ddf6d0b2002670e5937750070a2 SHA512 ed523116e01121e471ee1a8ea9e8dde42a04c4c7c5170c56eed852268881f18b7b5062c43f1548fad3a84e2fbddc19c26fbf88084f6affdd11fd4d493a480cdf |
23 |
|
24 |
diff --git a/dev-python/markdown2/markdown2-2.4.0.ebuild b/dev-python/markdown2/markdown2-2.4.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..093e634886f |
27 |
--- /dev/null |
28 |
+++ b/dev-python/markdown2/markdown2-2.4.0.ebuild |
29 |
@@ -0,0 +1,30 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( pypy3 python3_{7..9} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Python Markdown language reimplementation" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+HOMEPAGE="https://github.com/trentm/python-markdown2" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" |
46 |
+ |
47 |
+RDEPEND="dev-python/pygments[${PYTHON_USEDEP}]" |
48 |
+ |
49 |
+distutils_enable_tests unittest |
50 |
+ |
51 |
+src_test() { |
52 |
+ cd test || die |
53 |
+ distutils-r1_src_test |
54 |
+} |
55 |
+ |
56 |
+python_test() { |
57 |
+ "${EPYTHON}" -m unittest test_markdown2.py -v || |
58 |
+ die "Tests fail with ${EPYTHON}" |
59 |
+} |