Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2017 13:40:05 +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: r432132 - head/security/py-cybox
Message-ID:  <201701221340.v0MDe5ek039771@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Jan 22 13:40:05 2017
New Revision: 432132
URL: https://svnweb.freebsd.org/changeset/ports/432132

Log:
  - Update to 2.1.0.13
  - This version works fine with python3
  - Add do-test target

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

Modified: head/security/py-cybox/Makefile
==============================================================================
--- head/security/py-cybox/Makefile	Sun Jan 22 13:06:40 2017	(r432131)
+++ head/security/py-cybox/Makefile	Sun Jan 22 13:40:05 2017	(r432132)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	cybox
-PORTVERSION=	2.1.0.12
+PORTVERSION=	2.1.0.13
 CATEGORIES=	security python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,9 +14,12 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil \
-		${PYTHON_PKGNAMEPREFIX}lxml>=3.1:devel/py-lxml
+		${PYTHON_PKGNAMEPREFIX}lxml>=2.2.3:devel/py-lxml \
+		${PYTHON_PKGNAMEPREFIX}mixbox>=0.0.13:security/py-mixbox
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose
 
-USES=		python:2
+NO_ARCH=	yes
+USES=		python
 USE_PYTHON=	distutils autoplist
 
 PORTDOCS=	README.rst
@@ -24,10 +27,15 @@ PORTEXAMPLES=	*
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-post-install:
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+
+do-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-cybox/distinfo
==============================================================================
--- head/security/py-cybox/distinfo	Sun Jan 22 13:06:40 2017	(r432131)
+++ head/security/py-cybox/distinfo	Sun Jan 22 13:40:05 2017	(r432132)
@@ -1,2 +1,3 @@
-SHA256 (cybox-2.1.0.12.tar.gz) = fb5e12580211cea37fdedfe85017d3e1430f7340d2f1f18452b6c1794ca8b6f4
-SIZE (cybox-2.1.0.12.tar.gz) = 482625
+TIMESTAMP = 1485089735
+SHA256 (cybox-2.1.0.13.tar.gz) = daa2456db3c7f211cb92c567970d7d9b95b068cd2efbf04e5bbbcecf5c3ffdb6
+SIZE (cybox-2.1.0.13.tar.gz) = 478316



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