aboutsummaryrefslogtreecommitdiff
path: root/security/py-pyaxo
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2017-10-20 14:27:44 +0000
committerSteve Wills <swills@FreeBSD.org>2017-10-20 14:27:44 +0000
commit2050ccf2e3e472b27d5c89eeb22dd9a72a113393 (patch)
treeada4370f97b5658df2c9241008938389bdec2a2f /security/py-pyaxo
parentb72eed2023eeba915ebf61e45efce03f1db6022c (diff)
downloadports-2050ccf2e3e472b27d5c89eeb22dd9a72a113393.tar.gz
ports-2050ccf2e3e472b27d5c89eeb22dd9a72a113393.zip
security/py-pyaxo: Update to 0.8.2
While here, add test target PR: 222361 Submitted by: Yuri Victorovich <yuri@rawbw.com> (maintainer)
Notes
Notes: svn path=/head/; revision=452528
Diffstat (limited to 'security/py-pyaxo')
-rw-r--r--security/py-pyaxo/Makefile9
-rw-r--r--security/py-pyaxo/distinfo6
2 files changed, 11 insertions, 4 deletions
diff --git a/security/py-pyaxo/Makefile b/security/py-pyaxo/Makefile
index 7dff2b4d57c4..d875e9a6c7f6 100644
--- a/security/py-pyaxo/Makefile
+++ b/security/py-pyaxo/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pyaxo
-PORTVERSION= 0.7.7
+PORTVERSION= 0.8.2
CATEGORIES= security net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,9 +15,16 @@ LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}passlib>=1.6.1:security/py-passlib \
${PYTHON_PKGNAMEPREFIX}pynacl>=1.0.1:security/py-pynacl
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest
USES= python:2.7
USE_PYTHON= autoplist distutils
NO_ARCH= yes
+post-patch:
+ @${REINPLACE_CMD} -e "/'pytest-runner',/d" ${WRKSRC}/setup.py
+
+do-test:
+ @(cd ${WRKSRC} && ${PYTHON_CMD} -m pytest)
+
.include <bsd.port.mk>
diff --git a/security/py-pyaxo/distinfo b/security/py-pyaxo/distinfo
index a440a10e9a23..376b8f027f09 100644
--- a/security/py-pyaxo/distinfo
+++ b/security/py-pyaxo/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1504483719
-SHA256 (pyaxo-0.7.7.tar.gz) = f0eafd73e76fc9fa8dc403a68254b7f712a311a6208f812f27f8acc4de8aaaa1
-SIZE (pyaxo-0.7.7.tar.gz) = 63293
+TIMESTAMP = 1505578655
+SHA256 (pyaxo-0.8.2.tar.gz) = 010a9b9279d2a72800a03194dd36f6c943398c26ad28d5b8a4686db04309d68e
+SIZE (pyaxo-0.8.2.tar.gz) = 55677