summaryrefslogtreecommitdiff
path: root/security/py-plaso
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2019-11-24 13:15:43 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2019-11-24 13:15:43 +0000
commit8528b12a7adf2a40f31c5ddf3e8ab0c3be831763 (patch)
treea779840db0301faa5840d4d3495ad0c0e24c45d8 /security/py-plaso
parentdatabases/pspg: Update to 2.6.0 (diff)
- Update to 20190916
- Drop python 2.7 support
Notes
Notes: svn path=/head/; revision=518322
Diffstat (limited to 'security/py-plaso')
-rw-r--r--security/py-plaso/Makefile18
-rw-r--r--security/py-plaso/distinfo6
2 files changed, 8 insertions, 16 deletions
diff --git a/security/py-plaso/Makefile b/security/py-plaso/Makefile
index feac1c9f2903..086183c6c5fa 100644
--- a/security/py-plaso/Makefile
+++ b/security/py-plaso/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= plaso
-PORTVERSION= 20190708
+PORTVERSION= 20190916
CATEGORIES= security python
MASTER_SITES= https://github.com/log2timeline/plaso/releases/download/${PORTVERSION}/ \
LOCAL/antoine
@@ -43,23 +43,15 @@ RUN_DEPENDS= libesedb>=e:devel/libesedb \
${PYTHON_PKGNAMEPREFIX}XlsxWriter>=0:textproc/py-xlsxwriter@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yara>=0:security/py-yara@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
+ ca_root_nss>=0:security/ca_root_nss
-USES= python
+USES= python:3.5+
USE_LOCALE= en_US.UTF-8
USE_PYTHON= distutils autoplist concurrent
NO_ARCH= yes
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 3000
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.lzma>=0:archivers/py-backports.lzma@${PY_FLAVOR}
-TEST_ENV= ${MAKE_ENV} PYTHONHTTPSVERIFY=0
-.else
-TEST_DEPENDS+= ca_root_nss>=0:security/ca_root_nss
-.endif
-
post-patch:
${REINPLACE_CMD} "s|'share', 'artifacts'|'share', '${PYTHON_PKGNAMEPREFIX}artifacts'|" \
${WRKSRC}/plaso/cli/helpers/artifact_definitions.py
@@ -72,4 +64,4 @@ do-test:
@${TOUCH} ${TEST_WRKSRC}/utils/__init__.py
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} run_tests.py)
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/security/py-plaso/distinfo b/security/py-plaso/distinfo
index 79307b4fc939..7e56537a89cb 100644
--- a/security/py-plaso/distinfo
+++ b/security/py-plaso/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1562696592
-SHA256 (plaso-20190708.tar.gz) = 2a12a9ef3bc5b69ecd20d76b2d738d69f11d55c6ee55289aa40b365d5d0f6e4e
-SIZE (plaso-20190708.tar.gz) = 110420318
+TIMESTAMP = 1569309956
+SHA256 (plaso-20190916.tar.gz) = 77897bc543442e263255e4af7108a93e9db648f389e4a4213c9dbeb3913b84eb
+SIZE (plaso-20190916.tar.gz) = 110513927