<pre style='margin:0'>
Leo Singer (lpsinger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0eec12c55587d06afb7aba92dc32e6d815230aac">https://github.com/macports/macports-ports/commit/0eec12c55587d06afb7aba92dc32e6d815230aac</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 0eec12c lalburst: remove unnecessary dependency on py27-numpy
</span>0eec12c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 0eec12c55587d06afb7aba92dc32e6d815230aac
</span>Author: Leo Singer <leo.singer@ligo.org>
AuthorDate: Tue May 30 09:02:08 2017 +0530
<span style='display:block; white-space:pre;color:#404040;'> lalburst: remove unnecessary dependency on py27-numpy
</span>---
science/lalburst/Portfile | 4 +-
...ould-not-depend-on-Numpy-if-Python-is-not.patch | 52 ++++++++++++++++++++++
2 files changed, 55 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/lalburst/Portfile b/science/lalburst/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c8d1563..02798ca 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/lalburst/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/lalburst/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span>
name lalburst
version 1.4.4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span>
description LSC Algorithm Library - Burst
long_description \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,6 +20,8 @@ depends_lib port:lal \
</span> port:gsl \
port:metaio
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patches 0001-lalburst-should-not-depend-on-Numpy-if-Python-is-not.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> ###############################################################################
### Everything below this line is common to all LALSuite ports. ###############
###############################################################################
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/lalburst/files/0001-lalburst-should-not-depend-on-Numpy-if-Python-is-not.patch b/science/lalburst/files/0001-lalburst-should-not-depend-on-Numpy-if-Python-is-not.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..8d460da
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/lalburst/files/0001-lalburst-should-not-depend-on-Numpy-if-Python-is-not.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,52 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 680086f43f556aad9d095dfd18f66c163b9a3acd Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Leo Singer <leo.singer@ligo.org>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Tue, 30 May 2017 05:12:54 +0530
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] lalburst should not depend on Numpy if Python is not enabled
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Use the Numpy compiler and linker flags detected for the SWIG build,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+as is done in lalinference/python/lalinference/bayestar/Makefile.am.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lalburst/configure.ac | 11 -----------
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lalburst/python/lalburst/Makefile.am | 4 ++--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 2 files changed, 2 insertions(+), 13 deletions(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/lalburst/configure.ac b/lalburst/configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 55b12d2465..18f4649d9e 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/lalburst/configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/lalburst/configure.ac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -116,17 +116,6 @@ AC_CHECK_LIB([m],[main],,[AC_MSG_ERROR([could not find the math library])])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LALSUITE_CHECK_PYTHON([2.6])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AX_PYTHON_DEVEL()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-# check for NumPy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-AX_PYTHON_MODULE(numpy, fatal)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-NUMPY_CFLAGS=-I`$PYTHON -c "import numpy;print (numpy.get_include());"`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-old_CFLAGS="$CFLAGS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CFLAGS="$CFLAGS ${PYTHON_CPPFLAGS} ${NUMPY_CFLAGS}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-AC_CHECK_HEADER([numpy/arrayobject.h],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- [PYTHON_CPPFLAGS="${PYTHON_CPPFLAGS} ${NUMPY_CFLAGS}"],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- [AC_MSG_ERROR([Numpy extension header not found])],
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- [#include "Python.h"])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CFLAGS="$old_CFLAGS"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # check for gsl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PKG_CHECK_MODULES([GSL],[gsl],[true],[false])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LALSUITE_ADD_FLAGS([C],[${GSL_CFLAGS}],[${GSL_LIBS}])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/lalburst/python/lalburst/Makefile.am b/lalburst/python/lalburst/Makefile.am
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 3a1d7c0aab..99da9e15b0 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/lalburst/python/lalburst/Makefile.am
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/lalburst/python/lalburst/Makefile.am
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -32,8 +32,8 @@ pymodule_PYTHON = \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pkgpython_LTLIBRARIES = \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cs_gamma.la
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cs_gamma_la_SOURCES = cs_gamma.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-cs_gamma_la_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS) $(PYTHON_CPPFLAGS) -I$(top_srcdir)/src
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-cs_gamma_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS) $(GSL_CFLAGS) $(LAL_CFLAGS) -Wno-cast-qual
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++cs_gamma_la_CPPFLAGS = $(AM_CPPFLAGS) $(SWIG_PYTHON_CPPFLAGS) -I$(top_srcdir)/src
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++cs_gamma_la_CFLAGS = $(AM_CFLAGS) $(SWIG_PYTHON_CFLAGS) $(GSL_CFLAGS) $(LAL_CFLAGS) -Wno-cast-qual
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cs_gamma_la_LDFLAGS = $(top_builddir)/src/liblalburst.la $(AM_LDFLAGS) $(LIBS) $(GSL_LIBS) $(LAL_LIBS) $(PYTHON_LIBS) -module -avoid-version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.13.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>