freebsd-ports/textproc/py-dict2xml/Makefile

29 lines
727 B
Makefile

PORTNAME= dict2xml
DISTVERSIONPREFIX=release-
DISTVERSION= 1.7.2
CATEGORIES= textproc devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= arrowd@FreeBSD.org
COMMENT= Small utility to convert a python dictionary into an XML string
WWW= https://github.com/delfick/python-dict2xml
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}noseofyeti>0:devel/py-noseofyeti@${PY_FLAVOR}
USES= python:3.5+
#doesnt ship tests in sdist
USE_GITHUB= yes
USE_PYTHON= autoplist distutils
GH_ACCOUNT= delfick
GH_PROJECT= python-dict2xml
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=
.include <bsd.port.mk>