# Created by: Po-Chuan Hsieh # $FreeBSD: head/textproc/py-tomlkit/Makefile 567700 2021-03-07 22:22:04Z sunpoet $ PORTNAME= tomlkit PORTVERSION= 0.7.0 PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Style-preserving TOML library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes post-patch: @${MV} ${WRKSRC}/tests ${WRKSRC}/tomlkit do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v .include