commit:     b1906d90c864b789f14d6c36cabcf69b8b35e596
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 13 02:55:50 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Sep 13 03:12:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1906d90

dev-python/mkdocs-git-revision-date-localized-plugin: Bump to 1.2.9

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../Manifest                                       |  1 +
 ...git-revision-date-localized-plugin-1.2.9.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 84805724f386..4261b4764c1e 100644
--- a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest
+++ b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest
@@ -1,2 +1,3 @@
 DIST mkdocs-git-revision-date-localized-plugin-1.2.7.gh.tar.gz 377565 BLAKE2B 
5af96b8775d605329a4156ed72d7ba4987e109e93035a12ca90ac74723d46529312113dad5a19084648e84bfde8f392f6617db95d0f1842e009d780e0e27fa1f
 SHA512 
70f459fdbae7a8e5dc7649bec91c397059aabb4ff2da440be8a040b5c058052db27025a851344cf2853450041c0f18a2ec23e705f6d75bc2870c134a8952f756
 DIST mkdocs-git-revision-date-localized-plugin-1.2.8.gh.tar.gz 377738 BLAKE2B 
32a6d3d0f084ddf411a33572743cc04ca57d9dde6a690dbf6cd7a6d1773e839f1422334fa4a54eb6d3bd17645492e4525efe6cd2ed281600e0ed57e44161d691
 SHA512 
0c5451ba169025eab6ed85beb6ca9af337dd1476c93c3f4009900dd7678caf98f85801e43edac84fc48b0e5ae7186fcee2f49dd3c51d34a29cc88260f933d93e
+DIST mkdocs-git-revision-date-localized-plugin-1.2.9.gh.tar.gz 378207 BLAKE2B 
a6f57eceeb2ff2c0e489848bb5c85717472dc39a5b49c464c497ae8ff78b1f0e1830b3a1fa5043aa0f2653460d6f783e9c92cf063552bc184c6c38fb47aa1fe4
 SHA512 
b3a88accd335ba7b4f8e85c59d5e51ad26e895ecbd8f52948da8d54bfc972e6383457c10dfbda8ef4c3adca323dd6a85d6eec483b2d2ef8e612bebf5bb77f36f

diff --git 
a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.9.ebuild
 
b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-1.2.9.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.2.9.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
+}

Reply via email to