blob: fdf8501b8118dd38551681160b4952d1d5e34d0c (
plain) (
tree)
|
|
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>
|