1 |
commit: 6f266847e302813a72d97486ecd9dd5118f1abdc |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 5 08:38:11 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 5 09:54:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f266847 |
7 |
|
8 |
dev-python/mkdocs-git-revision-date-localized-plugin: add version 0.9.3 |
9 |
|
10 |
Package-Manager: Portage-3.0.22, Repoman-3.0.3 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
12 |
|
13 |
.../Manifest | 1 + |
14 |
...git-revision-date-localized-plugin-0.9.3.ebuild | 51 ++++++++++++++++++++++ |
15 |
2 files changed, 52 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 73361705783..3bfed57ce2b 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.9.2.tar.gz 367301 BLAKE2B ac4d69117dea856a209d144e452cf408ee3d111eaa8a9825602b9f8d604a79143e96a51e67b74e430eecc6ee33335161e409149220a8b216f3b47f22e7a49f12 SHA512 11714323a6e300d0d8d05198f617019158dc48ba43e8a685f52702da7f52558f1358dfce294dcd421ba9d59131c17e4d6ea6ff483397055dee62dffb76032d4c |
23 |
+DIST mkdocs-git-revision-date-localized-plugin-0.9.3.tar.gz 367885 BLAKE2B 3c7aa4a5cfcb585c022c9a652ff0b5be8c309298f69c69973a9442913ac4d12f14a3f5783627d9574cffc9c438e98678641d58e77f6712e0ddf68ac77ee098fa SHA512 8a345770a6f40bacc0899a7fcf3d056874f3a947ffbd001bd5885ef88e813e4d405ab7d7a06be3adb5ef34d5ef1f449432b0e9594b79a9d4a9350901c692cc10 |
24 |
|
25 |
diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-0.9.3.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-0.9.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..fb34e94946f |
28 |
--- /dev/null |
29 |
+++ b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-0.9.3.ebuild |
30 |
@@ -0,0 +1,51 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{7..9} ) |
37 |
+ |
38 |
+DOCS_BUILDER="mkdocs" |
39 |
+DOCS_DEPEND="dev-python/mkdocs-material" |
40 |
+ |
41 |
+inherit distutils-r1 docs |
42 |
+ |
43 |
+DESCRIPTION="Display the localized date of the last git modification of a markdown file" |
44 |
+HOMEPAGE=" |
45 |
+ https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/ |
46 |
+ https://pypi.org/project/mkdocs-git-revision-date-localized-plugin/ |
47 |
+" |
48 |
+SRC_URI="https://github.com/timvink/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
49 |
+ |
50 |
+LICENSE="MIT" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ >=dev-python/Babel-2.7.0[${PYTHON_USEDEP}] |
56 |
+ dev-python/GitPython[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/mkdocs-1.0[${PYTHON_USEDEP}] |
58 |
+" |
59 |
+BDEPEND=" |
60 |
+ test? ( |
61 |
+ dev-python/click[${PYTHON_USEDEP}] |
62 |
+ dev-python/mkdocs-material[${PYTHON_USEDEP}] |
63 |
+ dev-vcs/git |
64 |
+ ) |
65 |
+ doc? ( dev-vcs/git ) |
66 |
+" |
67 |
+ |
68 |
+distutils_enable_tests --install pytest |
69 |
+ |
70 |
+python_prepare_all() { |
71 |
+ # mkdocs-git-revision-date-localized-plugin's tests need git repo |
72 |
+ if use test || use doc; then |
73 |
+ git init -q || die |
74 |
+ git config --global user.email "you@×××××××.com" || die |
75 |
+ git config --global user.name "Your Name" || die |
76 |
+ git add . || die |
77 |
+ git commit -qm 'init' || die |
78 |
+ fi |
79 |
+ |
80 |
+ distutils-r1_python_prepare_all |
81 |
+} |