diff options
Diffstat (limited to 'net/py-port-for/Makefile')
-rw-r--r-- | net/py-port-for/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/py-port-for/Makefile b/net/py-port-for/Makefile index dae98b26c9e7..b1e493e46151 100644 --- a/net/py-port-for/Makefile +++ b/net/py-port-for/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= port-for -PORTVERSION= 0.3.1 -PORTREVISION= 1 +PORTVERSION= 0.4 CATEGORIES= net devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,7 +13,7 @@ COMMENT= Utility that helps with local TCP ports managment LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>=0.8:devel/py-mock@${PY_FLAVOR} USES= python @@ -26,6 +25,8 @@ post-patch: @${REINPLACE_CMD} '/DEFAULT_CONFIG_PATH/ s|/etc|${PREFIX}&|' ${WRKSRC}/port_for/store.py do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest \ + --ignore port_for/_download_ranges.py \ + --doctest-modules port_for port_for/tests.py .include <bsd.port.mk> |