summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/py-pyeapi/Makefile7
-rw-r--r--net-mgmt/py-pyeapi/distinfo6
2 files changed, 9 insertions, 4 deletions
diff --git a/net-mgmt/py-pyeapi/Makefile b/net-mgmt/py-pyeapi/Makefile
index f67dce6ce15c..2778a5f5e4ed 100644
--- a/net-mgmt/py-pyeapi/Makefile
+++ b/net-mgmt/py-pyeapi/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= pyeapi
-DISTVERSION= 0.8.2
+DISTVERSION= 0.8.3
CATEGORIES= net-mgmt python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,9 +13,14 @@ LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}netaddr>0:net/py-netaddr@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
+
NO_ARCH= yes
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m unittest discover test/unit -v
+
.include <bsd.port.mk>
diff --git a/net-mgmt/py-pyeapi/distinfo b/net-mgmt/py-pyeapi/distinfo
index 6acb6ce29652..e94960557bfe 100644
--- a/net-mgmt/py-pyeapi/distinfo
+++ b/net-mgmt/py-pyeapi/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1522340692
-SHA256 (pyeapi-0.8.2.tar.gz) = 5be222c290e9e14827ee15541f0e61e290e0223bdead6151233aa7baa5b1b3c8
-SIZE (pyeapi-0.8.2.tar.gz) = 133732
+TIMESTAMP = 1580328854
+SHA256 (pyeapi-0.8.3.tar.gz) = b90f9463ffad72df0c6179f4b1c248785f42206f7c43655da1217e368a992479
+SIZE (pyeapi-0.8.3.tar.gz) = 137050