diff options
Diffstat (limited to 'textproc/py-python-frontmatter/Makefile')
-rw-r--r-- | textproc/py-python-frontmatter/Makefile | 28 |
1 files changed, 28 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> |