Index: head/net/py-port-for/files/patch-setup.py =================================================================== --- head/net/py-port-for/files/patch-setup.py (revision 499935) +++ head/net/py-port-for/files/patch-setup.py (nonexistent) @@ -1,22 +0,0 @@ ---- setup.py.orig 2016-02-25 12:42:58 UTC -+++ setup.py -@@ -8,6 +8,11 @@ for cmd in ('egg_info', 'develop'): - - version='0.3.1' - -+tests_require = [ -+ 'nose', -+ 'mock>=0.8', -+] -+ - setup( - name='port-for', - version=version, -@@ -44,4 +49,7 @@ setup( - 'Topic :: System :: Systems Administration', - 'Topic :: Internet :: WWW/HTTP :: Site Management', - ], -+ -+ tests_require=tests_require, -+ test_suite='nose.collector', - ) Property changes on: head/net/py-port-for/files/patch-setup.py ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/net/py-port-for/Makefile =================================================================== --- head/net/py-port-for/Makefile (revision 499935) +++ head/net/py-port-for/Makefile (revision 499936) @@ -1,31 +1,32 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= port-for -PORTVERSION= 0.3.1 -PORTREVISION= 1 +PORTVERSION= 0.4 CATEGORIES= net devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org 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 USE_PYTHON= distutils concurrent autoplist NO_ARCH= yes 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 Index: head/net/py-port-for/distinfo =================================================================== --- head/net/py-port-for/distinfo (revision 499935) +++ head/net/py-port-for/distinfo (revision 499936) @@ -1,2 +1,3 @@ -SHA256 (port-for-0.3.1.tar.gz) = b16a84bb29c2954db44c29be38b17c659c9c27e33918dec16b90d375cc596f1c -SIZE (port-for-0.3.1.tar.gz) = 18652 +TIMESTAMP = 1533611371 +SHA256 (port-for-0.4.tar.gz) = 47b5cb48f8e036497cd73b96de305cecb4070e9ecbc908724afcbd2224edccde +SIZE (port-for-0.4.tar.gz) = 19450