pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography/py-obspy



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Jun 15 18:06:04 UTC 2019

Modified Files:
        pkgsrc/geography/py-obspy: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/geography/py-obspy/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/geography/py-obspy/Makefile
diff -u pkgsrc/geography/py-obspy/Makefile:1.14 pkgsrc/geography/py-obspy/Makefile:1.15
--- pkgsrc/geography/py-obspy/Makefile:1.14     Sat Mar 16 23:12:54 2019
+++ pkgsrc/geography/py-obspy/Makefile  Sat Jun 15 18:06:04 2019
@@ -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 @@ USE_TOOLS+=   bash:run
 
 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 @@ pre-configure:
 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