1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

- Sort knobs

- Remove incorrect and outdated PYTHON_REL check
- Do not silence test message
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2016-02-03 20:54:33 +00:00
parent efb01c4299
commit 1dc8e20ba0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407978

View File

@ -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>