mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
textproc/py-python-frontmatter: New port: Parse and manage posts with YAML (or other) frontmatter
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1756689260
|
||||
SHA256 (python-frontmatter-1.1.0.tar.gz) = 7118d2bd56af9149625745c58c9b51fb67e8d1294a0c76796dafdc72c36e5f6d
|
||||
SIZE (python-frontmatter-1.1.0.tar.gz) = 16256
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user