openbsd-ports/textproc/py-pyaml/Makefile

28 lines
484 B
Makefile

COMMENT = module to produce pretty and readable YAML
MODPY_EGG_VERSION = 21.10.1
DISTNAME = pyaml-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 1
CATEGORIES = textproc
HOMEPAGE = https://github.com/mk-fg/pretty-yaml
# WTFPL
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_PYBUILD = setuptools
MODPY_PYTEST_ARGS = pyaml/tests
FLAVORS = python3
FLAVOR = python3
TEST_DEPENDS = textproc/py-unidecode${MODPY_FLAVOR}
.include <bsd.port.mk>