mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
- Update to 20190916
- Drop python 2.7 support
This commit is contained in:
parent
27aba8dfce
commit
8528b12a7a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518322
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user