1 |
commit: 1589668c2cd5402689ea74dd94c87eb26901e914 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 8 05:28:13 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 8 05:55:32 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1589668c |
7 |
|
8 |
dev-python/pymdown-extensions: Bump to 9.8 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pymdown-extensions/Manifest | 1 + |
13 |
.../pymdown-extensions-9.8.ebuild | 72 ++++++++++++++++++++++ |
14 |
2 files changed, 73 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pymdown-extensions/Manifest b/dev-python/pymdown-extensions/Manifest |
17 |
index 39f42af882dd..5e7e290b7667 100644 |
18 |
--- a/dev-python/pymdown-extensions/Manifest |
19 |
+++ b/dev-python/pymdown-extensions/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST pymdown-extensions-9.5.gh.tar.gz 1004601 BLAKE2B 8950ca104edf476e5557eab1effd9ad4e879f2ef58823e1385b5ee000e704b260b20f758578021d4c03492e675027f079363da49429938221fb1c109c9e1fe2d SHA512 b640947b97be4f7592b86125c7de0f36c34052e77103f7d16818b8fc2794cc28d3b7baef84d99434ca1b2810fbe19bc2fc0d2430b8504425cca71677d9c8753c |
22 |
DIST pymdown-extensions-9.6.gh.tar.gz 1011446 BLAKE2B 8e334896738de592d8d852f05f165c70d65b6541915bc4d66472b2e2e08a4921e5ed3e0d5873b03e3bbc31179cd2edb367ca0eb3734f1b437b8eff0dc4f9defb SHA512 b806eac4656b1e541753e9e3f4d29bd49dfdfb24ea67633ea232d40833e4ce438b76c71c013d7bc5c3ebfa790b2e314e6f0f76cc3a76f42d5c2b020c32f8dba7 |
23 |
DIST pymdown-extensions-9.7.gh.tar.gz 1015024 BLAKE2B 6b2b1a86e693a2e4bca889c66bd97c099976e9e9e56291c35b25d8a99554dbae8e4e7b913b774ed9de6406fcaa8850009e000ee97bc97b1dfd09bbc514f4bd6e SHA512 0e6a28ac991ec02821abc1525de30007ded891d8437a8e4f9eb349e26c18702f9477fac0ca6728d5c3fdb5f0fdea451a3f00db3ea354115f20a69bb0f4a114f2 |
24 |
+DIST pymdown-extensions-9.8.gh.tar.gz 1012711 BLAKE2B 451dba60e42d8ad5e1368ac02c89a99a086d99b24402a2570f1fc51c73416163c200d2056a0667f03f6a7c5611cd3b3b870d8dd9ae934ca1d867c9ed9f3a985b SHA512 f9937625984dee09ba2dfdf9e706bdc382017f906f89c42080db38af63b17c1475cc7ffaf94c967ea116c735419168eb35d9dc272d971fe7d92a5950f67673cd |
25 |
|
26 |
diff --git a/dev-python/pymdown-extensions/pymdown-extensions-9.8.ebuild b/dev-python/pymdown-extensions/pymdown-extensions-9.8.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..c5e7c800284c |
29 |
--- /dev/null |
30 |
+++ b/dev-python/pymdown-extensions/pymdown-extensions-9.8.ebuild |
31 |
@@ -0,0 +1,72 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+DISTUTILS_USE_PEP517=hatchling |
38 |
+PYTHON_COMPAT=( python3_{8..11} ) |
39 |
+ |
40 |
+DOCS_BUILDER="mkdocs" |
41 |
+DOCS_DEPEND=" |
42 |
+ dev-python/mkdocs-git-revision-date-localized-plugin |
43 |
+ dev-python/mkdocs-minify-plugin |
44 |
+ dev-python/mkdocs-material |
45 |
+ dev-python/pymdown-lexers |
46 |
+ dev-python/pyspelling |
47 |
+" |
48 |
+ |
49 |
+inherit distutils-r1 docs |
50 |
+ |
51 |
+DESCRIPTION="Extensions for Python Markdown" |
52 |
+HOMEPAGE=" |
53 |
+ https://github.com/facelessuser/pymdown-extensions/ |
54 |
+ https://pypi.org/project/pymdown-extensions/ |
55 |
+" |
56 |
+SRC_URI=" |
57 |
+ https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz |
58 |
+ -> ${P}.gh.tar.gz |
59 |
+" |
60 |
+ |
61 |
+LICENSE="MIT" |
62 |
+SLOT="0" |
63 |
+KEYWORDS="~amd64 ~riscv ~x86" |
64 |
+ |
65 |
+RDEPEND=" |
66 |
+ >=dev-python/markdown-3.2[${PYTHON_USEDEP}] |
67 |
+" |
68 |
+ |
69 |
+BDEPEND=" |
70 |
+ test? ( |
71 |
+ >=dev-python/pygments-2.12.0[${PYTHON_USEDEP}] |
72 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
73 |
+ dev-vcs/git |
74 |
+ ) |
75 |
+" |
76 |
+ |
77 |
+distutils_enable_tests pytest |
78 |
+ |
79 |
+python_prepare_all() { |
80 |
+ # mkdocs-git-revision-date-localized-plugin needs git repo |
81 |
+ if use doc; then |
82 |
+ git init || die |
83 |
+ git config --global user.email "you@×××××××.com" || die |
84 |
+ git config --global user.name "Your Name" || die |
85 |
+ git add . || die |
86 |
+ git commit -m 'init' || die |
87 |
+ fi |
88 |
+ |
89 |
+ distutils-r1_python_prepare_all |
90 |
+} |
91 |
+ |
92 |
+python_compile_all() { |
93 |
+ default |
94 |
+ # We need to do this manually instead of relying on docs_compile |
95 |
+ # https://bytemeta.vip/repo/facelessuser/pymdown-extensions/issues/1446 |
96 |
+ # https://bugs.gentoo.org/859637 |
97 |
+ if use doc; then |
98 |
+ python -m mkdocs build || die "Failed to make docs" |
99 |
+ # Colliding files found by ecompress: |
100 |
+ rm site/sitemap.xml.gz || die |
101 |
+ HTML_DOCS=( "site/." ) |
102 |
+ fi |
103 |
+} |