pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/py-scipy math/py-scipy: Fix PLIST on Darwin with ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/569ca341eb34
branches: trunk
changeset: 380089:569ca341eb34
user: minskim <minskim%pkgsrc.org@localhost>
date: Fri May 11 14:18:47 2018 +0000
description:
math/py-scipy: Fix PLIST on Darwin with gfortran7
diffstat:
math/py-scipy/Makefile | 11 ++++++-
math/py-scipy/PLIST.Darwin | 65 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+), 2 deletions(-)
diffs (108 lines):
diff -r 85f21220d372 -r 569ca341eb34 math/py-scipy/Makefile
--- a/math/py-scipy/Makefile Fri May 11 13:47:47 2018 +0000
+++ b/math/py-scipy/Makefile Fri May 11 14:18:47 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2018/04/02 19:52:53 adam Exp $
+# $NetBSD: Makefile,v 1.31 2018/05/11 14:18:47 minskim Exp $
DISTNAME= scipy-1.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -13,6 +13,8 @@
USE_LANGUAGES+= c c++ fortran
MAKE_ENV+= ATLAS=None
+PLIST_VARS+= dsym
+
# XXX Avoid picking up other compilers when installed
.include "../../mk/compiler.mk"
@@ -20,6 +22,9 @@
PYSETUPBUILDARGS+= --fcompiler=g95
.elif defined(PKGSRC_FORTRAN) && !empty(PKGSRC_FORTRAN:Mgfortran)
PYSETUPBUILDARGS+= --fcompiler=gnu95
+. if ${GFORTRAN_VERSION} == "7"
+PLIST.dsym= yes
+. endif
LDFLAGS.Darwin+= -undefined dynamic_lookup
.else
BROKEN= Requires fortran 95
@@ -87,7 +92,9 @@
.PHONY: fix-darwin-install-name
post-install: fix-darwin-install-name
fix-darwin-install-name:
- ${FIND} ${DESTDIR}${PREFIX} -name "*.so" | while read lib; do \
+ ${FIND} ${DESTDIR}${PREFIX} -name "*.so" | \
+ ${GREP} -v "dSYM/Contents/Resources/DWARF/" | \
+ while read lib; do \
libname=`basename $${lib}`; \
libdir=`dirname $${lib} | sed -e 's,${DESTDIR},,'`; \
install_name_tool -id $${libdir}/$${libname} $${lib}; \
diff -r 85f21220d372 -r 569ca341eb34 math/py-scipy/PLIST.Darwin
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-scipy/PLIST.Darwin Fri May 11 14:18:47 2018 +0000
@@ -0,0 +1,65 @@
+@comment $NetBSD: PLIST.Darwin,v 1.1 2018/05/11 14:18:47 minskim Exp $
+${PLIST.dsym}${PYSITELIB}/scipy/fftpack/_fftpack.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/fftpack/_fftpack.so.dSYM/Contents/Resources/DWARF/_fftpack.so
+${PLIST.dsym}${PYSITELIB}/scipy/fftpack/convolve.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/fftpack/convolve.so.dSYM/Contents/Resources/DWARF/convolve.so
+${PLIST.dsym}${PYSITELIB}/scipy/integrate/_dop.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/integrate/_dop.so.dSYM/Contents/Resources/DWARF/_dop.so
+${PLIST.dsym}${PYSITELIB}/scipy/integrate/_odepack.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/integrate/_odepack.so.dSYM/Contents/Resources/DWARF/_odepack.so
+${PLIST.dsym}${PYSITELIB}/scipy/integrate/_quadpack.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/integrate/_quadpack.so.dSYM/Contents/Resources/DWARF/_quadpack.so
+${PLIST.dsym}${PYSITELIB}/scipy/integrate/_test_odeint_banded.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/integrate/_test_odeint_banded.so.dSYM/Contents/Resources/DWARF/_test_odeint_banded.so
+${PLIST.dsym}${PYSITELIB}/scipy/integrate/lsoda.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/integrate/lsoda.so.dSYM/Contents/Resources/DWARF/lsoda.so
+${PLIST.dsym}${PYSITELIB}/scipy/integrate/vode.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/integrate/vode.so.dSYM/Contents/Resources/DWARF/vode.so
+${PLIST.dsym}${PYSITELIB}/scipy/interpolate/_bspl.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/interpolate/_bspl.so.dSYM/Contents/Resources/DWARF/_bspl.so
+${PLIST.dsym}${PYSITELIB}/scipy/interpolate/_fitpack.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/interpolate/_fitpack.so.dSYM/Contents/Resources/DWARF/_fitpack.so
+${PLIST.dsym}${PYSITELIB}/scipy/interpolate/dfitpack.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/interpolate/dfitpack.so.dSYM/Contents/Resources/DWARF/dfitpack.so
+${PLIST.dsym}${PYSITELIB}/scipy/io/_test_fortran.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/io/_test_fortran.so.dSYM/Contents/Resources/DWARF/_test_fortran.so
+${PLIST.dsym}${PYSITELIB}/scipy/linalg/_fblas.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/linalg/_fblas.so.dSYM/Contents/Resources/DWARF/_fblas.so
+${PLIST.dsym}${PYSITELIB}/scipy/linalg/_flapack.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/linalg/_flapack.so.dSYM/Contents/Resources/DWARF/_flapack.so
+${PLIST.dsym}${PYSITELIB}/scipy/linalg/_flinalg.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/linalg/_flinalg.so.dSYM/Contents/Resources/DWARF/_flinalg.so
+${PLIST.dsym}${PYSITELIB}/scipy/linalg/_interpolative.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/linalg/_interpolative.so.dSYM/Contents/Resources/DWARF/_interpolative.so
+${PLIST.dsym}${PYSITELIB}/scipy/linalg/cython_blas.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/linalg/cython_blas.so.dSYM/Contents/Resources/DWARF/cython_blas.so
+${PLIST.dsym}${PYSITELIB}/scipy/linalg/cython_lapack.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/linalg/cython_lapack.so.dSYM/Contents/Resources/DWARF/cython_lapack.so
+${PLIST.dsym}${PYSITELIB}/scipy/odr/__odrpack.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/odr/__odrpack.so.dSYM/Contents/Resources/DWARF/__odrpack.so
+${PLIST.dsym}${PYSITELIB}/scipy/optimize/_cobyla.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/optimize/_cobyla.so.dSYM/Contents/Resources/DWARF/_cobyla.so
+${PLIST.dsym}${PYSITELIB}/scipy/optimize/_lbfgsb.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/optimize/_lbfgsb.so.dSYM/Contents/Resources/DWARF/_lbfgsb.so
+${PLIST.dsym}${PYSITELIB}/scipy/optimize/_minpack.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/optimize/_minpack.so.dSYM/Contents/Resources/DWARF/_minpack.so
+${PLIST.dsym}${PYSITELIB}/scipy/optimize/_nnls.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/optimize/_nnls.so.dSYM/Contents/Resources/DWARF/_nnls.so
+${PLIST.dsym}${PYSITELIB}/scipy/optimize/_slsqp.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/optimize/_slsqp.so.dSYM/Contents/Resources/DWARF/_slsqp.so
+${PLIST.dsym}${PYSITELIB}/scipy/optimize/minpack2.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/optimize/minpack2.so.dSYM/Contents/Resources/DWARF/minpack2.so
+${PLIST.dsym}${PYSITELIB}/scipy/sparse/linalg/eigen/arpack/_arpack.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/sparse/linalg/eigen/arpack/_arpack.so.dSYM/Contents/Resources/DWARF/_arpack.so
+${PLIST.dsym}${PYSITELIB}/scipy/sparse/linalg/isolve/_iterative.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/sparse/linalg/isolve/_iterative.so.dSYM/Contents/Resources/DWARF/_iterative.so
+${PLIST.dsym}${PYSITELIB}/scipy/special/_ufuncs.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/special/_ufuncs.so.dSYM/Contents/Resources/DWARF/_ufuncs.so
+${PLIST.dsym}${PYSITELIB}/scipy/special/cython_special.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/special/cython_special.so.dSYM/Contents/Resources/DWARF/cython_special.so
+${PLIST.dsym}${PYSITELIB}/scipy/special/specfun.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/special/specfun.so.dSYM/Contents/Resources/DWARF/specfun.so
+${PLIST.dsym}${PYSITELIB}/scipy/stats/mvn.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/stats/mvn.so.dSYM/Contents/Resources/DWARF/mvn.so
+${PLIST.dsym}${PYSITELIB}/scipy/stats/statlib.so.dSYM/Contents/Info.plist
+${PLIST.dsym}${PYSITELIB}/scipy/stats/statlib.so.dSYM/Contents/Resources/DWARF/statlib.so
Home |
Main Index |
Thread Index |
Old Index