From nobody Mon Dec 25 16:16:14 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SzNLl1ZdDz54x3M; Mon, 25 Dec 2023 16:16:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SzNLl17QNz4KPp; Mon, 25 Dec 2023 16:16:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703520975; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=K/r43bXHPSG04hYXLbJ3c2Ob22Z4hccqefmY/kSZnTA=; b=cvkJ9ss/zILUia7hDSoqo45GLORBZCnqrRALWpVzafmsehD9qIUpyh1su/7poC8tUNmLVW ObncP7HeRIq7eUv4zeoojfGJwYSaceaJBTOTl8j14It5eUu/hXT2+p65GLkf0d7TZqKYX0 u0AIc6UwafMAVX+J5HiU5GXNbzy/ce4BH+q6jm5gNera113mr2aKJRbt8K4uAHNhSP/rGj LSlOQ4ry6/idJgjwZo5Xi9a6cdssnJmjMA3tUW8NSaf+zzg56+EQEU1mgFF2lpQoHEZXmE fgAlsvOJhaBNy5v/VIWku+H+yKatzCNDx5jMiW7F3HHRBtYV4DwWtbciaC/vRg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703520975; a=rsa-sha256; cv=none; b=brmlOvHaMHyqXDEv2j2jsy3Atm/H76ooERy+BEsbPe37vWx566jreSxdxq80AZYt+FNwIG 8J2wVlBPE6/uk1w4D2jKQkm6o+nakgetp0p/2tbeOVQVT9Mr6kJ8ewh7Vez9+iSvb0OJ0m 1wz9j2RXtESakmdVfJurQ0ppFoWjHhvXyDXBdY9ILCPGV2nBCOKJZ6PrMfymj+c1OlGfZF gKjQTM6KA7DCtn8pMe8pGIVRJ6QXqhFmwssEpFLVbhrqgF2mNgHSGuBIvvTNDxRf3UnJZR G//hvzIlxD27hW7pup4DRCAfGYMFwY0rd6haMgS0u/WHppKZ3Gv6+mJaRhYb4A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703520975; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=K/r43bXHPSG04hYXLbJ3c2Ob22Z4hccqefmY/kSZnTA=; b=XWm9w88JaJMeFFiPN5aQMVOuPVphooCcSL2XgIhJ9V4+cXz1Y5k7klXeAVk6drdqtsGsKn ON0j8f+onAb06w595QzBMijtboCSinX5K0M18PkCne/uzCeiTd8/P6OzPLqHnsVbta8KIG UC5Hy+iiqZhD+rPSU7H40DvqH4c2rQq3dWx0Shugpxu/BVod2s1frCVcChK8G133Zta4pB eCyglPqD2juyCWGirRNUbM6KqEjkwT4gTqkD+fuACenrz0e8tzgtz4RgBJNItXySyIXWwd sFpz0NWOgNF+O0KSC9vzfdFGPkEmnwCi20cHq60q1hqyiiFvWk7oDxHoY2DEOw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SzNLl0B1Rz3Zr; Mon, 25 Dec 2023 16:16:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BPGGE2o009630; Mon, 25 Dec 2023 16:16:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BPGGEBM009627; Mon, 25 Dec 2023 16:16:14 GMT (envelope-from git) Date: Mon, 25 Dec 2023 16:16:14 GMT Message-Id: <202312251616.3BPGGEBM009627@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: a751b015bffd - main - textproc/py-mkdocs-git-revision-date-localized-plugin: Add py-mkdocs-git-revision-date-localized-plugin 1.2.2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a751b015bffd1cd499c4e2de32fa5dfa9c5ed021 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=a751b015bffd1cd499c4e2de32fa5dfa9c5ed021 commit a751b015bffd1cd499c4e2de32fa5dfa9c5ed021 Author: Po-Chuan Hsieh AuthorDate: 2023-12-25 16:01:45 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-12-25 16:10:49 +0000 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. --- textproc/Makefile | 1 + .../Makefile | 25 ++++++++++++++++++++++ .../distinfo | 3 +++ .../pkg-descr | 3 +++ 4 files changed, 32 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 83b1cd98ad1e..e77adcb4ef3b 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -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 diff --git a/textproc/py-mkdocs-git-revision-date-localized-plugin/Makefile b/textproc/py-mkdocs-git-revision-date-localized-plugin/Makefile new file mode 100644 index 000000000000..612925ba552c --- /dev/null +++ b/textproc/py-mkdocs-git-revision-date-localized-plugin/Makefile @@ -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 diff --git a/textproc/py-mkdocs-git-revision-date-localized-plugin/distinfo b/textproc/py-mkdocs-git-revision-date-localized-plugin/distinfo new file mode 100644 index 000000000000..831a0e90ec5b --- /dev/null +++ b/textproc/py-mkdocs-git-revision-date-localized-plugin/distinfo @@ -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 diff --git a/textproc/py-mkdocs-git-revision-date-localized-plugin/pkg-descr b/textproc/py-mkdocs-git-revision-date-localized-plugin/pkg-descr new file mode 100644 index 000000000000..a6ab8459f212 --- /dev/null +++ b/textproc/py-mkdocs-git-revision-date-localized-plugin/pkg-descr @@ -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.