net/py-port-for: Update to 0.4
- Remove setup.py patch, no longer required.
This commit is contained in:
parent
1e3b8a9f21
commit
cabc490bd5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=499936
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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',
|
||||
)
|
Loading…
Reference in New Issue
Block a user