summaryrefslogtreecommitdiff
path: root/textproc/py-python-frontmatter
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--textproc/py-python-frontmatter/Makefile28
-rw-r--r--textproc/py-python-frontmatter/distinfo3
-rw-r--r--textproc/py-python-frontmatter/pkg-descr2
3 files changed, 33 insertions, 0 deletions
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.