Date: Mon, 1 Sep 2025 01:26:22 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e1514de64225 - main - textproc/py-python-frontmatter: New port: Parse and manage posts with YAML (or other) frontmatter Message-ID: <202509010126.5811QMCj074284@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=e1514de642250d9ecd5a8ef853171cd751cd2fbf commit e1514de642250d9ecd5a8ef853171cd751cd2fbf Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2025-09-01 01:26:11 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2025-09-01 01:26:20 +0000 textproc/py-python-frontmatter: New port: Parse and manage posts with YAML (or other) frontmatter --- textproc/Makefile | 1 + textproc/py-python-frontmatter/Makefile | 28 ++++++++++++++++++++++++++++ textproc/py-python-frontmatter/distinfo | 3 +++ textproc/py-python-frontmatter/pkg-descr | 2 ++ 4 files changed, 34 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 55dbd4fb3ea8..99f7ebd9d985 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1567,6 +1567,7 @@ SUBDIR += py-python-bidi SUBDIR += py-python-docs-theme SUBDIR += py-python-docx + SUBDIR += py-python-frontmatter SUBDIR += py-python-gettext SUBDIR += py-python-lsp-black SUBDIR += py-python-lsp-jsonrpc diff --git a/textproc/py-python-frontmatter/Makefile b/textproc/py-python-frontmatter/Makefile new file mode 100644 index 000000000000..32740622b34f --- /dev/null +++ b/textproc/py-python-frontmatter/Makefile @@ -0,0 +1,28 @@ +PORTNAME= python-frontmatter +DISTVERSION= 1.1.0 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Parse and manage posts with YAML (or other) frontmatter +WWW= https://python-frontmatter.readthedocs.io/en/latest/ \ + https://github.com/eyeseast/python-frontmatter + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyyaml>0:devel/py-pyyaml@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mypy>0:devel/py-mypy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}toml>0:textproc/py-toml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}types-toml>0:devel/py-types-toml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}types-pyyaml>0:devel/py-types-pyyaml@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist pytest + +NO_ARCH= yes + +# tests as of 1.1.0: 56 passed in 1.97s + +.include <bsd.port.mk> diff --git a/textproc/py-python-frontmatter/distinfo b/textproc/py-python-frontmatter/distinfo new file mode 100644 index 000000000000..5aa2436ee7e1 --- /dev/null +++ b/textproc/py-python-frontmatter/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1756689260 +SHA256 (python-frontmatter-1.1.0.tar.gz) = 7118d2bd56af9149625745c58c9b51fb67e8d1294a0c76796dafdc72c36e5f6d +SIZE (python-frontmatter-1.1.0.tar.gz) = 16256 diff --git a/textproc/py-python-frontmatter/pkg-descr b/textproc/py-python-frontmatter/pkg-descr new file mode 100644 index 000000000000..84e8bc048c4c --- /dev/null +++ b/textproc/py-python-frontmatter/pkg-descr @@ -0,0 +1,2 @@ +python-frontmatter is a Jekyll-style YAML front matter offers a useful way +to add arbitrary, structured metadata to text documents, regardless of type.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509010126.5811QMCj074284>
