pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/geography/py-obspy py-obspy: Python 2.7 is not support...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/285ddd1f8104
branches:  trunk
changeset: 397068:285ddd1f8104
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Jun 15 18:06:04 2019 +0000

description:
py-obspy: Python 2.7 is not supported any more because of py-scipy

diffstat:

 geography/py-obspy/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r 32cf7ae2600c -r 285ddd1f8104 geography/py-obspy/Makefile
--- a/geography/py-obspy/Makefile       Sat Jun 15 18:01:47 2019 +0000
+++ b/geography/py-obspy/Makefile       Sat Jun 15 18:06:04 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2019/03/16 23:12:54 wen Exp $
+# $NetBSD: Makefile,v 1.15 2019/06/15 18:06:04 adam Exp $
 
 DISTNAME=      obspy-1.1.1
+PKGREVISION=   1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    geography python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=o/obspy/}
@@ -24,6 +25,8 @@
 
 REPLACE_BASH=  obspy/taup/tests/data/TauP_test_data/gendata.sh
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27      # py-scipy
+
 pre-configure:
        ${FIND} ${WRKSRC} -type f -exec ${CHMOD} -x {} \;
 
@@ -33,8 +36,8 @@
 PYPLATFORM!=   ${PYTHONBIN} -c 'import platform; print (platform.system() + "_" + platform.architecture()[0])'
 
 PLIST_SUBST+=          PYPLATFORM=${PYPLATFORM} PYPKGPREFIX=${PYPKGPREFIX}
-PRINT_PLIST_AWK+=       /^${PYPLATFORM:S|/|\\/|g}/ \
-                        { gsub(/${PYPLATFORM:S|/|\\/|g}/, "$${PYPLATFORM}") }
+PRINT_PLIST_AWK+=      /^${PYPLATFORM:S|/|\\/|g}/ \
+                       { gsub(/${PYPLATFORM:S|/|\\/|g}/, "$${PYPLATFORM}") }
 .endif
 
 .include "../../lang/python/egg.mk"



Home | Main Index | Thread Index | Old Index