From nobody Sat Sep 07 06:57:46 2024 X-Original-To: dev-commits-ports-main@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 4X13nk4t63z5Tm5F; Sat, 07 Sep 2024 06:57:46 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X13nk4Rcxz46K5; Sat, 7 Sep 2024 06:57:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725692266; 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=vcc7BTuel7I/+MKfvj3mlrrR8T39jKStSw22eKC85vE=; b=JdnW0F5pjrdEbOlChCt7IX7z1fgfXsbquwTPGSsR454/iSCt9a/++/4qC3JiKo73VkA4T8 uGyD1yahabmDgh02NJa3/aLcdUaZqQu6oTxo0J/r6EF9bXWuTKVxtXCJX6pZdItA5z+5Ez X6HSfT25ZErFfuqJxZNRnagFK330ctmnpFjwg9F75xS36EcojVy58olAWGEqfUmkacR1M2 ZyLVYkDrYkZiX3U9p4LmL+2PYlg9VO4ey094pgh/2wT8Nkg9fllEVVEmO2lJZPU8/7aJrL fDcc75mVe467IWJodmiLHp++7AHr7TsBoRgdTR4ciHUtrtT4rCZQkCP23qxx9g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725692266; a=rsa-sha256; cv=none; b=Wif1BoSNl3Dnop8APRvW0fZExJUEgi8qzNB2rgQqwtNwP4/J/I/AHnj6zO++LFukIfUJz/ 5ShIdnHBlgd99J6J5zg+DAegF72XKWD1wL0Nur52phxTdOmwQ8Zwu1asdhsEQse7hTJrrn S4NSev4t4l6/bNetiaVqjcKvB9GtaWms5GXvXWLvVLbGr/CuwHwfPMGK60ZARg4LcVpmoh Vveclj51hqQt/XnZBlK+GvGhjxDhajUQGItgfAFJlOwkV8vIX9co4b4gIghZmwFIILEgfr rX00JfW8AEVo92lYRe5HIt2HX5el2KQLQ7V/yCq4leKL66pJ+5+ED3VpbiLtZQ== 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=1725692266; 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=vcc7BTuel7I/+MKfvj3mlrrR8T39jKStSw22eKC85vE=; b=krs0J6vV8mk0YOhTP13Zhga5n123L/TjqgUC5UEPi/zBtV+OQmvC+madzBefF5vZBW8j9A mXzaUGppLzOZl2H2KbD5Ve7o7Caz1mFlFc+l2INN3Fpy77C0VeMr8YTCWmY1cGhmGs1/V0 IFljk6OQvFrBO/ZlBHS8nvdnCjxZQe+C9OMZaxqcISvPl7RZpKrF/79pFAvt32fI1CLnLn DM6OS3N6qfcaPH5ylEwJAQ8sdEAQT2E8GRgJuvnokiVGMpqME69pTBDEM8zL2xTAvL3uEx xi23/Uh5vkXq9XPj3et0hD7crt2AQ4iiHIDwAJWnj/p8NpftR7Bi3rnTZ+Sp+Q== 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 4X13nk3tL8zPmS; Sat, 7 Sep 2024 06:57:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4876vk34070842; Sat, 7 Sep 2024 06:57:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4876vkP2070839; Sat, 7 Sep 2024 06:57:46 GMT (envelope-from git) Date: Sat, 7 Sep 2024 06:57:46 GMT Message-Id: <202409070657.4876vkP2070839@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: 21301ab9515d - main - textproc/py-mkdocs-rss-plugin: New port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 21301ab9515d7c0d7405ca215cffb07f911d8f1e Auto-Submitted: auto-generated The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=21301ab9515d7c0d7405ca215cffb07f911d8f1e commit 21301ab9515d7c0d7405ca215cffb07f911d8f1e Author: Kai Knoblich AuthorDate: 2024-09-07 06:46:53 +0000 Commit: Kai Knoblich CommitDate: 2024-09-07 06:55:20 +0000 textproc/py-mkdocs-rss-plugin: New port This MkDocs plugin creates RSS 2.0 and JSON Feed 1.1 feeds using the creation and modification dates from git log and page metadata (YAML frontmatter). PR: 280489 Reported by: Vedran Miletic --- textproc/Makefile | 1 + textproc/py-mkdocs-rss-plugin/Makefile | 32 ++++++++++++++++++++++++++++++++ textproc/py-mkdocs-rss-plugin/distinfo | 3 +++ textproc/py-mkdocs-rss-plugin/pkg-descr | 2 ++ 4 files changed, 38 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 163630eaf17d..579556c2df04 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1462,6 +1462,7 @@ SUBDIR += py-mkdocs-minify-plugin SUBDIR += py-mkdocs-nature SUBDIR += py-mkdocs-redirects + SUBDIR += py-mkdocs-rss-plugin SUBDIR += py-mkdocs-simple-hooks SUBDIR += py-mkdocstrings SUBDIR += py-mkdocstrings-crystal diff --git a/textproc/py-mkdocs-rss-plugin/Makefile b/textproc/py-mkdocs-rss-plugin/Makefile new file mode 100644 index 000000000000..56abc6845bca --- /dev/null +++ b/textproc/py-mkdocs-rss-plugin/Makefile @@ -0,0 +1,32 @@ +PORTNAME= mkdocs-rss-plugin +DISTVERSION= 1.15.0 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Generates a static RSS feed using git log and page.meta +WWW= https://github.com/Guts/mkdocs-rss-plugin + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cachecontrol>=0.14<1:www/py-cachecontrol@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}gitpython>=3.1<3.2:devel/py-gitpython@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.31<3:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mkdocs>=1.4.1:textproc/py-mkdocs@${PY_FLAVOR} + +USES= python +USE_GITHUB= yes +GH_ACCOUNT= Guts +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include + +.if ${PYTHON_REL} < 30900 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pytz>=2024,1:devel/py-pytz@${PY_FLAVOR} +.endif + +.include diff --git a/textproc/py-mkdocs-rss-plugin/distinfo b/textproc/py-mkdocs-rss-plugin/distinfo new file mode 100644 index 000000000000..68ecd6e2eeea --- /dev/null +++ b/textproc/py-mkdocs-rss-plugin/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1722673643 +SHA256 (Guts-mkdocs-rss-plugin-1.15.0_GH0.tar.gz) = 96e105bc453b4f1adae2b5977241b0561cae3aa64accf72204bf7287e64ce36f +SIZE (Guts-mkdocs-rss-plugin-1.15.0_GH0.tar.gz) = 557859 diff --git a/textproc/py-mkdocs-rss-plugin/pkg-descr b/textproc/py-mkdocs-rss-plugin/pkg-descr new file mode 100644 index 000000000000..ca181fe73063 --- /dev/null +++ b/textproc/py-mkdocs-rss-plugin/pkg-descr @@ -0,0 +1,2 @@ +This MkDocs plugin creates RSS 2.0 and JSON Feed 1.1 feeds using the creation +and modification dates from git log and page metadata (YAML frontmatter).