diff options
author | koobs <koobs@FreeBSD.org> | 2019-04-25 13:03:09 +0800 |
---|---|---|
committer | koobs <koobs@FreeBSD.org> | 2019-04-25 13:03:09 +0800 |
commit | 6f3ae76f998e29c2712259526f7cd15127388b38 (patch) | |
tree | 3b9175ba31604c5d7efdb2568e53d311778e91f3 /net | |
parent | de05280c9053a2e46ea479a4014dc59ae44a1752 (diff) | |
download | freebsd-ports-gnome-6f3ae76f998e29c2712259526f7cd15127388b38.tar.gz freebsd-ports-gnome-6f3ae76f998e29c2712259526f7cd15127388b38.tar.zst freebsd-ports-gnome-6f3ae76f998e29c2712259526f7cd15127388b38.zip |
net/py-port-for: Update to 0.4
- Remove setup.py patch, no longer required.
Diffstat (limited to 'net')
-rw-r--r-- | net/py-port-for/Makefile | 9 | ||||
-rw-r--r-- | net/py-port-for/distinfo | 5 | ||||
-rw-r--r-- | net/py-port-for/files/patch-setup.py | 22 |
3 files changed, 8 insertions, 28 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> diff --git a/net/py-port-for/distinfo b/net/py-port-for/distinfo index 4ea5c6c0d385..03c5e6037a14 100644 --- a/net/py-port-for/distinfo +++ b/net/py-port-for/distinfo @@ -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 diff --git a/net/py-port-for/files/patch-setup.py b/net/py-port-for/files/patch-setup.py deleted file mode 100644 index b3a3d77fd04d..000000000000 --- a/net/py-port-for/files/patch-setup.py +++ /dev/null @@ -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', - ) |