commit: 005826ade7711a0fb078a81085fc970329ee8688
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 23 05:37:25 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 23 06:16:24 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=005826ad
dev-python/mkdocs-git-revision-date-localized-plugin: Bump to 1.3.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../Manifest | 1 +
...git-revision-date-localized-plugin-1.3.0.ebuild | 64 ++++++++++++++++++++++
2 files changed, 65 insertions(+)
diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest
b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest
index 16106686dce9..9e6029e82c4b 100644
--- a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest
+++ b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest
@@ -1 +1,2 @@
DIST mkdocs-git-revision-date-localized-plugin-1.2.9.gh.tar.gz 378207 BLAKE2B
a6f57eceeb2ff2c0e489848bb5c85717472dc39a5b49c464c497ae8ff78b1f0e1830b3a1fa5043aa0f2653460d6f783e9c92cf063552bc184c6c38fb47aa1fe4
SHA512
b3a88accd335ba7b4f8e85c59d5e51ad26e895ecbd8f52948da8d54bfc972e6383457c10dfbda8ef4c3adca323dd6a85d6eec483b2d2ef8e612bebf5bb77f36f
+DIST mkdocs-git-revision-date-localized-plugin-1.3.0.gh.tar.gz 378511 BLAKE2B
e922d0ce5dd37f92c11a37d7c02a59fc776a1a4245823a2275c600c6348cc7f97a2a8b43919a5cdbe03e8b23623f0c7d22cf92eb728d6f11d7472db5b78e98a1
SHA512
6e6c085ae861382a932817264c00de55f94b8b09349c18206c1644487a7476d4494f0b451b31510de4ba3a5d4934514923521c8c4c5aca84a8183f5cd574177d
diff --git
a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.3.0.ebuild
b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.3.0.ebuild
new file mode 100644
index 000000000000..f8706543cd4a
--- /dev/null
+++
b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.3.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517="setuptools"
+PYTHON_COMPAT=( python3_{10..13} )
+
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="
+ dev-python/regex
+ dev-python/mkdocs-static-i18n
+ dev-python/mkdocs-material
+ dev-python/mkdocs-git-authors-plugin
+ dev-python/mkdocs-git-revision-date-localized-plugin
+"
+
+inherit distutils-r1 docs
+
+DESCRIPTION="Display the localized date of the last git modification of a
markdown file"
+HOMEPAGE="
+ https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/
+ https://pypi.org/project/mkdocs-git-revision-date-localized-plugin/
+"
+SRC_URI="
+ https://github.com/timvink/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ >=dev-python/Babel-2.7.0[${PYTHON_USEDEP}]
+ dev-python/GitPython[${PYTHON_USEDEP}]
+ >=dev-python/mkdocs-1.0[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+ test? (
+ dev-python/click[${PYTHON_USEDEP}]
+ dev-python/mkdocs-material[${PYTHON_USEDEP}]
+ dev-python/mkdocs-static-i18n[${PYTHON_USEDEP}]
+ dev-vcs/git
+ )
+ doc? ( dev-vcs/git )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # mkdocs-git-revision-date-localized-plugin's tests need git repo
+ if use test || use doc; then
+ git init -q || die
+ git config --global user.email "[email protected]" || die
+ git config --global user.name "Larry the Cow" || die
+ git add . || die
+ git commit -qm 'init' || die
+ fi
+
+ distutils-r1_python_prepare_all
+}