aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2017-03-18 18:33:52 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2017-03-18 18:33:52 +0000
commite63d490a4ec9c7feb3cd8d1a4f50319d08c90bd4 (patch)
tree87c4d3419aeab0d55795a24225303ea232c19fc5 /security
parent80c055cd975756524f41424feb6c3d3ae1fb69ce (diff)
downloadports-e63d490a4ec9c7feb3cd8d1a4f50319d08c90bd4.tar.gz
ports-e63d490a4ec9c7feb3cd8d1a4f50319d08c90bd4.zip
- Update to 20170116
- Make it easier to test python 3 readiness
Notes
Notes: svn path=/head/; revision=436444
Diffstat (limited to 'security')
-rw-r--r--security/py-dfvfs/Makefile13
-rw-r--r--security/py-dfvfs/distinfo6
2 files changed, 13 insertions, 6 deletions
diff --git a/security/py-dfvfs/Makefile b/security/py-dfvfs/Makefile
index e907925b9f7b..fbfda4d7e53e 100644
--- a/security/py-dfvfs/Makefile
+++ b/security/py-dfvfs/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= dfvfs
-PORTVERSION= 20160918
+PORTVERSION= 20170116
CATEGORIES= security devel python
MASTER_SITES= https://github.com/log2timeline/dfvfs/releases/download/${PORTVERSION}/ \
LOCAL/antoine
@@ -27,7 +27,6 @@ RUN_DEPENDS= libbde>=a:devel/libbde \
libvmdk>=e:devel/libvmdk \
libvshadow>=0:devel/libvshadow \
libvslvm>=e:devel/libvslvm \
- ${PYTHON_PKGNAMEPREFIX}pyliblzma>=0:archivers/py-pyliblzma \
${PYTHON_PKGNAMEPREFIX}construct>=0:devel/py-construct \
${PYTHON_PKGNAMEPREFIX}dfdatetime>=0:security/py-dfdatetime \
${PYTHON_PKGNAMEPREFIX}pycrypto>=0:security/py-pycrypto \
@@ -38,9 +37,17 @@ NO_ARCH= yes
USES= python:2.7
USE_LOCALE= en_US.UTF-8
USE_PYTHON= distutils autoplist
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3300
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pyliblzma>=0:archivers/py-pyliblzma
TEST_ENV= ${MAKE_ENV} PYTHONHTTPSVERIFY=0
+.else
+TEST_DEPENDS+= ca_root_nss>=0:security/ca_root_nss
+.endif
do-test:
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} run_tests.py)
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/security/py-dfvfs/distinfo b/security/py-dfvfs/distinfo
index 002f683d2b46..5041a0160fa0 100644
--- a/security/py-dfvfs/distinfo
+++ b/security/py-dfvfs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1474205984
-SHA256 (dfvfs-20160918.tar.gz) = 0eb4f54d745502e43b12456882ee69130b566db05c33c4abefede010422fb666
-SIZE (dfvfs-20160918.tar.gz) = 77646360
+TIMESTAMP = 1488752750
+SHA256 (dfvfs-20170116.tar.gz) = fc28de3e9d0d9b873aaf67b17d30c1e64a2be6594c78e10b96ded6b8682a009b
+SIZE (dfvfs-20170116.tar.gz) = 77645720