Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2016 09:28:15 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424506 - head/security/py-stix
Message-ID:  <201610230928.u9N9SFrQ098872@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Oct 23 09:28:14 2016
New Revision: 424506
URL: https://svnweb.freebsd.org/changeset/ports/424506

Log:
  - Update to 1.1.1.7
  - Add regression tests

Modified:
  head/security/py-stix/Makefile
  head/security/py-stix/distinfo

Modified: head/security/py-stix/Makefile
==============================================================================
--- head/security/py-stix/Makefile	Sun Oct 23 09:21:53 2016	(r424505)
+++ head/security/py-stix/Makefile	Sun Oct 23 09:28:14 2016	(r424506)
@@ -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>

Modified: head/security/py-stix/distinfo
==============================================================================
--- head/security/py-stix/distinfo	Sun Oct 23 09:21:53 2016	(r424505)
+++ head/security/py-stix/distinfo	Sun Oct 23 09:28:14 2016	(r424506)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610230928.u9N9SFrQ098872>