aboutsummaryrefslogtreecommitdiff
path: root/security/py-stix
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2016-10-23 09:28:14 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2016-10-23 09:28:14 +0000
commit4e37f8bfe675e75e7f63f023666b45f3ab66ed54 (patch)
tree453968be27adddf1fc5f4aad2f330b890b2999f9 /security/py-stix
parent6eca441447d88a97995ca7717939ee836f10f8f8 (diff)
downloadports-4e37f8bfe675e75e7f63f023666b45f3ab66ed54.tar.gz
ports-4e37f8bfe675e75e7f63f023666b45f3ab66ed54.zip
- Update to 1.1.1.7
- Add regression tests
Notes
Notes: svn path=/head/; revision=424506
Diffstat (limited to 'security/py-stix')
-rw-r--r--security/py-stix/Makefile7
-rw-r--r--security/py-stix/distinfo6
2 files changed, 9 insertions, 4 deletions
diff --git a/security/py-stix/Makefile b/security/py-stix/Makefile
index e889bbf456ed..00b607c957b8 100644
--- a/security/py-stix/Makefile
+++ b/security/py-stix/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= stix
-PORTVERSION= 1.1.1.6
+PORTVERSION= 1.1.1.7
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,6 +16,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil \
${PYTHON_PKGNAMEPREFIX}lxml>=2.3:devel/py-lxml \
${PYTHON_PKGNAMEPREFIX}cybox>=2.1.0.11:security/py-cybox
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose \
+ ${PYTHON_PKGNAMEPREFIX}maec>=4.1.0.12:security/py-maec
NO_ARCH= yes
USES= python:2.7
@@ -34,4 +36,7 @@ post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
+do-test:
+ @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER})
+
.include <bsd.port.mk>
diff --git a/security/py-stix/distinfo b/security/py-stix/distinfo
index 492e48e83eaa..5872966b54a4 100644
--- a/security/py-stix/distinfo
+++ b/security/py-stix/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1476554964
-SHA256 (stix-1.1.1.6.tar.gz) = c449cd134ccc5e5bc93576a5e5b5a74e6cefabc9aaea9182ca18fefbe1eee0ed
-SIZE (stix-1.1.1.6.tar.gz) = 214875
+TIMESTAMP = 1477117789
+SHA256 (stix-1.1.1.7.tar.gz) = c16ffd025ff82877ab27621aa07a5880ff495bf602a8a903cee71adebbd3d8e2
+SIZE (stix-1.1.1.7.tar.gz) = 216034