textproc/py-mkdocs-git-revision-date-localized-plugin: Add py-mkdocs-git-revision-date-localized-plugin 1.2.2

mkdocs-git-revision-date-localized-plugin is a MkDocs plugin that enables
displaying the date of the last git modification of a page. The plugin uses
babel and timeago.js to provide different localized date formats.
This commit is contained in:
Po-Chuan Hsieh 2023-12-26 00:01:45 +08:00
parent 38ed934b7e
commit a751b015bf
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
4 changed files with 32 additions and 0 deletions

View file

@ -1438,6 +1438,7 @@
SUBDIR += py-mistune2
SUBDIR += py-mkdocs
SUBDIR += py-mkdocs-autorefs
SUBDIR += py-mkdocs-git-revision-date-localized-plugin
SUBDIR += py-mkdocs-material
SUBDIR += py-mkdocs-material-extensions
SUBDIR += py-mkdocs-mermaid2-plugin

View file

@ -0,0 +1,25 @@
PORTNAME= mkdocs-git-revision-date-localized-plugin
PORTVERSION= 1.2.2
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Enable displaying the localized date of the last git modification
WWW= https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/ \
https://github.com/timvink/mkdocs-git-revision-date-localized-plugin
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=2.7.0:devel/py-babel@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gitpython>=0:devel/py-gitpython@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mkdocs>=1.0:textproc/py-mkdocs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytz>=0,1:devel/py-pytz@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1703495779
SHA256 (mkdocs-git-revision-date-localized-plugin-1.2.2.tar.gz) = 0c43a9aac1fa69df99a823f833cc223bac9967b60d5261a857761c7c6e3b30de
SIZE (mkdocs-git-revision-date-localized-plugin-1.2.2.tar.gz) = 27065

View file

@ -0,0 +1,3 @@
mkdocs-git-revision-date-localized-plugin is a MkDocs plugin that enables
displaying the date of the last git modification of a page. The plugin uses
babel and timeago.js to provide different localized date formats.