summaryrefslogtreecommitdiff
path: root/geography/py-obspy/Makefile
diff options
context:
space:
mode:
authorrichard <richard>2016-09-07 13:36:35 +0000
committerrichard <richard>2016-09-07 13:36:35 +0000
commit08b14ef1f6506c6f672c6936984bb2e2adc00bea (patch)
tree1a0a24a8a3ffa85987af39ac752da66df8efa0c2 /geography/py-obspy/Makefile
parentdf4125d64457162d2aeae23d1a770373ed0b53b9 (diff)
downloadpkgsrc-08b14ef1f6506c6f672c6936984bb2e2adc00bea.tar.gz
Apparently python3 insists that print arguments are inside parens
should fix PLIST issues on py34 & py35
Diffstat (limited to 'geography/py-obspy/Makefile')
-rw-r--r--geography/py-obspy/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/geography/py-obspy/Makefile b/geography/py-obspy/Makefile
index c3cead094db..e76db50e6a6 100644
--- a/geography/py-obspy/Makefile
+++ b/geography/py-obspy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2016/09/05 16:09:11 richard Exp $
+# $NetBSD: Makefile,v 1.9 2016/09/07 13:36:35 richard Exp $
DISTNAME= obspy-1.0.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -30,7 +30,7 @@ pre-configure:
.include "../../lang/python/pyversion.mk"
.if exists(${PYTHONBIN:Q})
-PYPLATFORM!= ${PYTHONBIN} -c 'import platform; print platform.system() + "_" + platform.architecture()[0]'
+PYPLATFORM!= ${PYTHONBIN} -c 'import platform; print (platform.system() + "_" + platform.architecture()[0])'
PLIST_SUBST+= PYPLATFORM=${PYPLATFORM} PYPKGPREFIX=${PYPKGPREFIX}
PRINT_PLIST_AWK+= /^${PYPLATFORM:S|/|\\/|g}/ \