blob: 5ac5fc692fc6a81c203d4d0f93992344eac4f468 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
PORTNAME= dict2xml
DISTVERSIONPREFIX=release-
DISTVERSION= 1.7.3
PORTREVISION= 1
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
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
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 pep517
GH_ACCOUNT= delfick
GH_PROJECT= python-dict2xml
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=
.include <bsd.port.mk>
|