summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2020-02-04 08:50:16 +0000
committerKai Knoblich <kai@FreeBSD.org>2020-02-04 08:50:16 +0000
commit5523d149097b16a31b5a7ab439b53df041188512 (patch)
tree385d5d14c11088beabab2b2509e30597ebcacc8d
parentdevel/py-knack: Take MAINTAINER'ship (diff)
net-mgmt/py-pyeapi: Update to 0.8.3
* Make USES block separate from non-related variables (as it should be done for every block according to the PHB). * Add "do-test" target to make future QA easier. Changelog: * Support eapi command revision syntax * Add ability to use pyeapi with certificates * Added check for 'match' statement to be valid before parsing regex ACL
-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