diff options
author | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2021-04-16 19:53:09 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2021-05-19 20:41:57 +0200 |
commit | b3f46ced028110ab29c516adadc5c392f53c2e89 (patch) | |
tree | 654bec6db4a9be144dedac8ab3d8ce013ef09c94 /dev-python/mkdocs-git-revision-date-localized-plugin | |
parent | dev-python/spyder: drop 5.0.0 (diff) | |
download | gentoo-b3f46ced028110ab29c516adadc5c392f53c2e89.tar.gz gentoo-b3f46ced028110ab29c516adadc5c392f53c2e89.tar.bz2 gentoo-b3f46ced028110ab29c516adadc5c392f53c2e89.zip |
dev-python/mkdocs-git-revision-date-localized-plugin: add version 0.9
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/mkdocs-git-revision-date-localized-plugin')
3 files changed, 54 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 index acc012c31140..a379f1b932fb 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-0.8.tar.gz 364352 BLAKE2B cfd1709b5c9e1f99ca1a2d8d194634afde6d57aecaca1d2cb70edc21c28d0b210c3497a4214d6a95592bc5a7aad3b88d96b275427f3218aa198ab7b3ae8f364a SHA512 84f19aa13189b74f18f98433939935052f1d757f66972d4f1cc1bfd14b614f8fd57b0ac0dcf41fcb678eb8dddba93ddc78dc776d6a81977d096920128d31f58e +DIST mkdocs-git-revision-date-localized-plugin-0.9.tar.gz 367850 BLAKE2B 0bf02b9de2b9ee8c4ae36548ffab85a9c880fc89dd5a4f39961093e36fc0b87b53dce8269400c804fed67f5a3a3a2ec45e6486ec80706be0651b9ceefe7de6af SHA512 488cd20e7ce8cd8df4c277f3626b8d628ce58090791a1b7e36efbdcacf6bf434bd4bc3e73f0402fdc8cb60767e6d63fac56a56b0dfd4728d6a49438caf5ad3d2 diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/metadata.xml b/dev-python/mkdocs-git-revision-date-localized-plugin/metadata.xml index 90fed82a89bb..357cb64eab82 100644 --- a/dev-python/mkdocs-git-revision-date-localized-plugin/metadata.xml +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/metadata.xml @@ -9,6 +9,10 @@ <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</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> diff --git a/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-0.9.ebuild b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-0.9.ebuild new file mode 100644 index 000000000000..baec4d97e38f --- /dev/null +++ b/dev-python/mkdocs-git-revision-date-localized-plugin/mkdocs-git-revision-date-localized-plugin-0.9.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +DOCS_BUILDER="mkdocs" +DOCS_DEPEND="dev-python/mkdocs-material" + +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}.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 || use doc; then + git init -q || die + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + git add . || die + git commit -qm 'init' || die + fi + + distutils-r1_python_prepare_all +} |