Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2018 21:11:37 +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: r471006 - in head/security: py-artifacts py-plaso
Message-ID:  <201805272111.w4RLBb0m011440@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun May 27 21:11:37 2018
New Revision: 471006
URL: https://svnweb.freebsd.org/changeset/ports/471006

Log:
  Allow concurrent installation of py-artifacts

Modified:
  head/security/py-artifacts/Makefile
  head/security/py-plaso/Makefile

Modified: head/security/py-artifacts/Makefile
==============================================================================
--- head/security/py-artifacts/Makefile	Sun May 27 20:56:47 2018	(r471005)
+++ head/security/py-artifacts/Makefile	Sun May 27 21:11:37 2018	(r471006)
@@ -3,6 +3,7 @@
 
 PORTNAME=	artifacts
 PORTVERSION=	20180505
+PORTREVISION=	1
 CATEGORIES=	security python
 MASTER_SITES=	CHEESESHOP \
 		https://github.com/ForensicArtifacts/artifacts/releases/download/${PORTVERSION}/
@@ -21,8 +22,11 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-
 NO_ARCH=	yes
 USES=		python
 USE_LOCALE=	en_US.UTF-8
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	distutils autoplist concurrent
 DO_MAKE_TEST=	${SETENV} ${TEST_ENV} ${PYTHON_CMD}
 TEST_TARGET=	run_tests.py
+
+post-patch:
+	${REINPLACE_CMD} "s,share/artifacts,${DATADIR_REL}," ${WRKSRC}/setup.py
 
 .include <bsd.port.mk>

Modified: head/security/py-plaso/Makefile
==============================================================================
--- head/security/py-plaso/Makefile	Sun May 27 20:56:47 2018	(r471005)
+++ head/security/py-plaso/Makefile	Sun May 27 21:11:37 2018	(r471006)
@@ -3,6 +3,7 @@
 
 PORTNAME=	plaso
 PORTVERSION=	20180524
+PORTREVISION=	1
 CATEGORIES=	security python
 MASTER_SITES=	https://github.com/log2timeline/plaso/releases/download/${PORTVERSION}/ \
 		LOCAL/antoine
@@ -66,6 +67,8 @@ TEST_DEPENDS+=	ca_root_nss>=0:security/ca_root_nss
 post-patch:
 	${REINPLACE_CMD} "s,'5.5.1',None," ${WRKSRC}/plaso/dependencies.py
 	${REINPLACE_CMD} "/maximum_version: 5.5.1/d" ${WRKSRC}/dependencies.ini
+	${REINPLACE_CMD} "s|'share', 'artifacts'|'share', '${PYTHON_PKGNAMEPREFIX}artifacts'|" \
+		${WRKSRC}/plaso/cli/helpers/artifact_definitions.py
 
 do-test:
 	@${TOUCH} ${TEST_WRKSRC}/utils/__init__.py



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