summaryrefslogtreecommitdiff
path: root/dev-python/mkdocs-git-revision-date-localized-plugin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-12-14 13:26:14 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-12-14 13:26:14 +0000
commit6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (patch)
tree25413d1cb3a0cbfe36029db32398c0f333609215 /dev-python/mkdocs-git-revision-date-localized-plugin
parent9c417bacd51da6d8b57fa9f37425161d30d4b95b (diff)
gentoo resync : 14.12.2020
Diffstat (limited to 'dev-python/mkdocs-git-revision-date-localized-plugin')
-rw-r--r--dev-python/mkdocs-git-revision-date-localized-plugin/Manifest3
-rw-r--r--dev-python/mkdocs-git-revision-date-localized-plugin/metadata.xml17
-rw-r--r--dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-0.8.ebuild45
3 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest
new file mode 100644
index 000000000000..2be9cf960a9e
--- /dev/null
+++ b/dev-python/mkdocs-git-revision-date-localized-plugin/Manifest
@@ -0,0 +1,3 @@
+DIST mkdocs-git-revision-date-localized-plugin-0.8.tar.gz 364352 BLAKE2B cfd1709b5c9e1f99ca1a2d8d194634afde6d57aecaca1d2cb70edc21c28d0b210c3497a4214d6a95592bc5a7aad3b88d96b275427f3218aa198ab7b3ae8f364a SHA512 84f19aa13189b74f18f98433939935052f1d757f66972d4f1cc1bfd14b614f8fd57b0ac0dcf41fcb678eb8dddba93ddc78dc776d6a81977d096920128d31f58e
+EBUILD mkdocs-git-revision-date-localized-plugin-0.8.ebuild 1157 BLAKE2B c371bd9d3ff8aacfaaf9df302c6bd6bd03241c939c28ae39168e2a5556f28a65ddd6b04d13db10a02354cfe14a4c44c7b333f5ec94dd88d77706d25e0c504483 SHA512 04e0a37040e0006c71c6899d4a55bf013e117925fd631fc025d62d8e1af4cc732991328e5c6c2054d340c360e62a1cd94b62e3d6da95a87961b0bf88be122f3b
+MISC metadata.xml 587 BLAKE2B b3e4153e7597a2174cb069dd1152530513a2ec479cd06b17514a4b205d716048526b1dd318cebaacfa41f7b8457d7303ce1703bebb429bfafcc85bc934ae2721 SHA512 6be3633fa700424d843bbe6fb5e39286c91f589b1f60900749d0bd18a49f5e207fb78d568c82ba5b1f2cf24b8a7cf13375dcc7acbbe36e719dde817ef2e0dc8b
diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/metadata.xml b/dev-python/mkdocs-git-revision-date-localized-plugin/metadata.xml
new file mode 100644
index 000000000000..bb319d114c9b
--- /dev/null
+++ b/dev-python/mkdocs-git-revision-date-localized-plugin/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="person">
+ <email>andrewammerlaan@riseup.net</email>
+ <name>Andrew Ammerlaan</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">timvink/mkdocs-git-revision-date-localized-plugin</remote-id>
+ <remote-id type="pypi">mkdocs-git-revision-date-localized-plugin</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-0.8.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-0.8.ebuild
new file mode 100644
index 000000000000..fdef23498c41
--- /dev/null
+++ b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-0.8.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+
+inherit distutils-r1
+
+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}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/Babel-2.7.0[${PYTHON_USEDEP}]
+ dev-python/GitPython[${PYTHON_USEDEP}]
+ >=dev-python/mkdocs-1.0[${PYTHON_USEDEP}]
+"
+BDEPEND="test? (
+ dev-python/click[${PYTHON_USEDEP}]
+ dev-python/mkdocs-material[${PYTHON_USEDEP}]
+ dev-vcs/git
+)"
+
+distutils_enable_tests --install pytest
+
+python_prepare_all() {
+ # mkdocs-git-revision-date-localized-plugin's tests need git repo
+ if use test; then
+ git init || die
+ git config --global user.email "you@example.com" || die
+ git config --global user.name "Your Name" || die
+ git add . || die
+ git commit -m 'init' || die
+ fi
+
+ distutils-r1_python_prepare_all
+}