textproc/py-python-frontmatter: New port: Parse and manage posts with YAML (or other) frontmatter

This commit is contained in:
Yuri Victorovich
2025-08-31 18:26:20 -07:00
parent 607f95fe94
commit e1514de642
4 changed files with 34 additions and 0 deletions
+1
View File
@@ -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
+28
View File
@@ -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>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1756689260
SHA256 (python-frontmatter-1.1.0.tar.gz) = 7118d2bd56af9149625745c58c9b51fb67e8d1294a0c76796dafdc72c36e5f6d
SIZE (python-frontmatter-1.1.0.tar.gz) = 16256
+2
View File
@@ -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.