aboutsummaryrefslogtreecommitdiffstats
path: root/dns/py-py3dns
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-02-04 04:54:33 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-02-04 04:54:33 +0800
commit07ea43d3f6915fc4b4c1b4738fb8bc934edd451c (patch)
tree21e59959a7542101878e9625ac4eddd511872170 /dns/py-py3dns
parentc457aef277f7e01189aabcfcfeb91fb7d3e088a1 (diff)
downloadfreebsd-ports-gnome-07ea43d3f6915fc4b4c1b4738fb8bc934edd451c.tar.gz
freebsd-ports-gnome-07ea43d3f6915fc4b4c1b4738fb8bc934edd451c.tar.zst
freebsd-ports-gnome-07ea43d3f6915fc4b4c1b4738fb8bc934edd451c.zip
- Sort knobs
- Remove incorrect and outdated PYTHON_REL check - Do not silence test message
Diffstat (limited to 'dns/py-py3dns')
-rw-r--r--dns/py-py3dns/Makefile17
1 files changed, 4 insertions, 13 deletions
diff --git a/dns/py-py3dns/Makefile b/dns/py-py3dns/Makefile
index f023f83c71de..9169bcebbe69 100644
--- a/dns/py-py3dns/Makefile
+++ b/dns/py-py3dns/Makefile
@@ -17,20 +17,11 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:${PORTSDIR}/devel/py-pytest
-USES= python:3.3+
-USE_PYTHON= autoplist distutils
-
NO_ARCH= yes
-
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} == 3300
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ipaddress>=0:${PORTSDIR}/net/py-ipaddress
-.elif ${PYTHON_REL} <= 3200
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ipaddr>=0:${PORTSDIR}/devel/py-ipaddr
-.endif
+USE_PYTHON= autoplist distutils
+USES= python:3.3+
do-test:
- @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest
+ cd ${WRKSRC}/ && ${PYTHON_CMD} -m pytest
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>