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