pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/geography/py-obspy Apparently python3 insists that pri...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9362ca1a0df5
branches:  trunk
changeset: 352125:9362ca1a0df5
user:      richard <richard%pkgsrc.org@localhost>
date:      Wed Sep 07 13:36:35 2016 +0000

description:
Apparently python3 insists that print arguments are inside parens
should fix PLIST issues on py34 & py35

diffstat:

 geography/py-obspy/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 009bd76ec0d9 -r 9362ca1a0df5 geography/py-obspy/Makefile
--- a/geography/py-obspy/Makefile       Wed Sep 07 13:26:45 2016 +0000
+++ b/geography/py-obspy/Makefile       Wed Sep 07 13:36:35 2016 +0000
@@ -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 @@
 .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}/ \



Home | Main Index | Thread Index | Old Index