1 |
commit: e99e127b76ebf534c742d1a373496d4f1c42c3de |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 2 19:10:51 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 2 19:10:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e99e127b |
7 |
|
8 |
dev-python/mkdocs-git-revision-date-localized-plugin: add 1.1.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
.../Manifest | 1 + |
13 |
...git-revision-date-localized-plugin-1.1.0.ebuild | 58 ++++++++++++++++++++++ |
14 |
2 files changed, 59 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest |
17 |
index 24db9ab653c7..f3afa9331dc4 100644 |
18 |
--- a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest |
19 |
+++ b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST mkdocs-git-revision-date-localized-plugin-1.0.1.tar.gz 375668 BLAKE2B 355b0fdced378305dd12c72d05186ef50fc1e5b7e5302c9c0887ced03329d598528367313e81d3c8a4658ed1bb2e940c9495c09c2e6e40a03cbc52833fbb13a5 SHA512 7f54ac18bb09ce1f396d593edb5e456476c18c68464dafc62e6b6e1f3aa89735319016925d2f2b8a4ff7aed03d8e02109da23f23a84d9ae0d138bbca278aafd5 |
22 |
+DIST mkdocs-git-revision-date-localized-plugin-1.1.0.gh.tar.gz 375907 BLAKE2B d39f1d807616da95962cca6bdc5a4501163d008f0a8fcac5df2e7542bf8401d04362a38383558689f467c9249f2ad6dff636a8ebf4568aa920ea0078f90fb367 SHA512 f5f911cba9b9e3747c5628e4c947a87fa07c798f854b6ed8783b74c732cf29e4afdacb37e074a5d04672d90f96de560ab6b86cd3d826ce46226d73f48c54c27d |
23 |
|
24 |
diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.1.0.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.1.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..2e2d9c9d4191 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.1.0.ebuild |
29 |
@@ -0,0 +1,58 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517="setuptools" |
36 |
+PYTHON_COMPAT=( python3_{8..11} ) |
37 |
+ |
38 |
+DOCS_BUILDER="mkdocs" |
39 |
+DOCS_DEPEND=" |
40 |
+ dev-python/mkdocs-i18n |
41 |
+ dev-python/mkdocs-material |
42 |
+ dev-python/mkdocs-git-authors-plugin |
43 |
+ dev-python/mkdocs-git-revision-date-localized-plugin |
44 |
+" |
45 |
+ |
46 |
+inherit distutils-r1 docs |
47 |
+ |
48 |
+DESCRIPTION="Display the localized date of the last git modification of a markdown file" |
49 |
+HOMEPAGE=" |
50 |
+ https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/ |
51 |
+ https://pypi.org/project/mkdocs-git-revision-date-localized-plugin/ |
52 |
+" |
53 |
+SRC_URI="https://github.com/timvink/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" |
54 |
+ |
55 |
+LICENSE="MIT" |
56 |
+SLOT="0" |
57 |
+KEYWORDS="~amd64 ~riscv ~x86" |
58 |
+ |
59 |
+RDEPEND=" |
60 |
+ >=dev-python/Babel-2.7.0[${PYTHON_USEDEP}] |
61 |
+ dev-python/GitPython[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/mkdocs-1.0[${PYTHON_USEDEP}] |
63 |
+" |
64 |
+BDEPEND=" |
65 |
+ test? ( |
66 |
+ dev-python/click[${PYTHON_USEDEP}] |
67 |
+ dev-python/mkdocs-material[${PYTHON_USEDEP}] |
68 |
+ dev-python/mkdocs-i18n[${PYTHON_USEDEP}] |
69 |
+ dev-vcs/git |
70 |
+ ) |
71 |
+ doc? ( dev-vcs/git ) |
72 |
+" |
73 |
+ |
74 |
+distutils_enable_tests pytest |
75 |
+ |
76 |
+python_prepare_all() { |
77 |
+ # mkdocs-git-revision-date-localized-plugin's tests need git repo |
78 |
+ if use test || use doc; then |
79 |
+ git init -q || die |
80 |
+ git config --global user.email "you@×××××××.com" || die |
81 |
+ git config --global user.name "Your Name" || die |
82 |
+ git add . || die |
83 |
+ git commit -qm 'init' || die |
84 |
+ fi |
85 |
+ |
86 |
+ distutils-r1_python_prepare_all |
87 |
+} |