[129194] trunk/dports/science/lalpulsar

ram at macports.org ram at macports.org
Mon Dec 8 14:24:41 PST 2014


Revision: 129194
          https://trac.macports.org/changeset/129194
Author:   ram at macports.org
Date:     2014-12-08 14:24:40 -0800 (Mon, 08 Dec 2014)
Log Message:
-----------
science/lalpulsat: update to 1.10.4

Modified Paths:
--------------
    trunk/dports/science/lalpulsar/Portfile

Removed Paths:
-------------
    trunk/dports/science/lalpulsar/files/0001-SWIG-make-wrappings-compatible-with-SWIG-v3.0.0.patch

Modified: trunk/dports/science/lalpulsar/Portfile
===================================================================
--- trunk/dports/science/lalpulsar/Portfile	2014-12-08 22:24:39 UTC (rev 129193)
+++ trunk/dports/science/lalpulsar/Portfile	2014-12-08 22:24:40 UTC (rev 129194)
@@ -2,11 +2,9 @@
 
 PortSystem    1.0
 PortGroup     active_variants 1.1
-PortGroup     conflicts_build 1.0
 
 name          lalpulsar
-version       1.9.0
-revision      3
+version       1.10.4
 categories    science
 platforms     darwin
 maintainers   ram
@@ -18,19 +16,18 @@
   routines for continuous gravitatin wave gravitational data analysis.
 
 homepage      https://www.lsc-group.phys.uwm.edu/daswg/projects/lalsuite.html
-master_sites  http://www.lsc-group.phys.uwm.edu/daswg/download/software/source/lalsuite
+master_sites  http://software.ligo.org/lscsoft/source/lalsuite
 
-checksums     rmd160 f6a08952942ad2a5299361275183f9743ce06989 \
-              sha256 e0398ad4a098cbb43fc93ee8cbcbf6705410791ca5fce7de18e6fbccd94826a2
+checksums     rmd160 66a59d75f56732fc7b61c3dc6824d4ae3df6047b \
+              sha256 290d8e4b528a86f506fb5886c3b12d3ed820a4b6d8d540d0681ed8398b0f6df2
 
-patchfiles    0001-SWIG-make-wrappings-compatible-with-SWIG-v3.0.0.patch
-patch.pre_args -p2
-
 depends_build-append port:pkgconfig
 
 depends_lib   port:python27 \
               port:gsl \
-              port:lal
+              port:libxml2 \
+              port:lal \
+              port:lalxml
 
 configure.python ${prefix}/bin/python2.7
 configure.args --mandir=${prefix}/share/man \
@@ -47,18 +44,16 @@
               pkgpythondir="${pythondir}/${name}" \
               pkgpyexecdir="${pythondir}/${name}"
 
-# FIXME: fails to build if previous version active
-conflicts_build ${name}
+# lalxml is currently enabled by default but may change in the future
+#variant lalxml description {Build with LALXML support} {
+#  if {[variant_isset swig_python]} {
+#    require_active_variants lalxml swig_python
+#  }
+#  depends_lib-append   port:libxml2 \
+#                       port:lalxml
+#  configure.args-append --enable-lalxml
+#}
 
-variant lalxml description {Build with LALXML support} {
-  if {[variant_isset swig_python]} {
-    require_active_variants lalxml swig_python
-  }
-  depends_lib-append   port:libxml2 \
-                       port:lalxml
-  configure.args-append --enable-lalxml
-}
-
 variant swig_python description {Build python SWIG bindings} {
   require_active_variants lal swig_python
   depends_build-append  port:swig-python
@@ -66,7 +61,7 @@
   configure.args-append --enable-swig-python
 }
 
-default_variants +lalxml +swig_python
+default_variants +swig_python
 
 livecheck.type   regex
 livecheck.url    ${master_sites}

Deleted: trunk/dports/science/lalpulsar/files/0001-SWIG-make-wrappings-compatible-with-SWIG-v3.0.0.patch
===================================================================
--- trunk/dports/science/lalpulsar/files/0001-SWIG-make-wrappings-compatible-with-SWIG-v3.0.0.patch	2014-12-08 22:24:39 UTC (rev 129193)
+++ trunk/dports/science/lalpulsar/files/0001-SWIG-make-wrappings-compatible-with-SWIG-v3.0.0.patch	2014-12-08 22:24:40 UTC (rev 129194)
@@ -1,134 +0,0 @@
-From 20d0cb2d0c60c0feeb5f6ff5518b9d3b41574e2b Mon Sep 17 00:00:00 2001
-From: Karl Wette <karl.wette at ligo.org>
-Date: Sun, 30 Mar 2014 00:20:56 +0100
-Subject: [PATCH] SWIG: make wrappings compatible with SWIG v3.0.0
-
-- %typemaps_string_alloc() has an extra argument
-- structs containing pointer-to-const members now
-  need SWIGLAL(IMMUTABLE_MEMBERS(...))
-
-(cherry picked from commit 4558d05958962d8240e19651c72dc1699fa63807)
----
- lalpulsar/src/ComputeSky.h               | 3 +++
- lalpulsar/src/DopplerFullScan.h          | 2 +-
- lalpulsar/src/DopplerLatticeCovering.h   | 3 +++
- lalpulsar/src/DopplerScan.h              | 2 +-
- lalpulsar/src/GeneratePulsarSignal.h     | 3 +++
- lalpulsar/src/PtoleMetric.h              | 3 +++
- lalpulsar/src/PulsarSimulateCoherentGW.h | 3 +++
- lalpulsar/src/PulsarTimes.h              | 3 +++
- 8 files changed, 20 insertions(+), 2 deletions(-)
-
-diff --git a/lalpulsar/src/ComputeSky.h b/lalpulsar/src/ComputeSky.h
-index 5cf8c29..4ece575 100644
---- a/lalpulsar/src/ComputeSky.h
-+++ b/lalpulsar/src/ComputeSky.h
-@@ -125,6 +125,9 @@ extern "C" {
- /**
-  * This structure contains the parameters for the LALComputeSky() routine.
-  */
-+#ifdef SWIG /* SWIG interface directives */
-+SWIGLAL(IMMUTABLE_MEMBERS(tagCSParams, edat));
-+#endif /* SWIG */
- typedef struct
- tagCSParams
- {
-diff --git a/lalpulsar/src/DopplerFullScan.h b/lalpulsar/src/DopplerFullScan.h
-index 345cc45..2a901bd 100644
---- a/lalpulsar/src/DopplerFullScan.h
-+++ b/lalpulsar/src/DopplerFullScan.h
-@@ -56,7 +56,7 @@ extern "C" {
- 
- /** initialization struct for full InitDopplerScan() [UNDER CONSTRUCTION] */
- #ifdef SWIG /* SWIG interface directives */
--SWIGLAL(IMMUTABLE_MEMBERS(tagDopplerFullScanInit, gridFile));
-+SWIGLAL(IMMUTABLE_MEMBERS(tagDopplerFullScanInit, Detector, ephemeris, gridFile));
- #endif /* SWIG */
- typedef struct tagDopplerFullScanInit {
-   DopplerRegion searchRegion;		/**< Doppler-space region to be covered + scanned */
-diff --git a/lalpulsar/src/DopplerLatticeCovering.h b/lalpulsar/src/DopplerLatticeCovering.h
-index 278e0aa..939546a 100644
---- a/lalpulsar/src/DopplerLatticeCovering.h
-+++ b/lalpulsar/src/DopplerLatticeCovering.h
-@@ -38,6 +38,9 @@ extern "C" {
- /*---------- DEFINES ----------*/
- 
- /*---------- external types ----------*/
-+#ifdef SWIG /* SWIG interface directives */
-+SWIGLAL(IMMUTABLE_MEMBERS(tagDopplerLatticeInit, ephemeris));
-+#endif /* SWIG */
- typedef struct tagDopplerLatticeInit {
-   DopplerRegion searchRegion;		/**< Doppler-space region to be covered + scanned */
-   REAL8 metricMismatch;			/**< for GRID_METRIC and GRID_ISOTROPIC */
-diff --git a/lalpulsar/src/DopplerScan.h b/lalpulsar/src/DopplerScan.h
-index 4636eea..ce6d26b 100644
---- a/lalpulsar/src/DopplerScan.h
-+++ b/lalpulsar/src/DopplerScan.h
-@@ -131,7 +131,7 @@ typedef struct tagDopplerSkyGrid {
- 
- /** initialization-structure passed to InitDopplerSkyScan() */
- #ifdef SWIG /* SWIG interface directives */
--SWIGLAL(IMMUTABLE_MEMBERS(tagDopplerSkyScanInit, skyGridFile));
-+SWIGLAL(IMMUTABLE_MEMBERS(tagDopplerSkyScanInit, Detector, ephemeris, skyGridFile));
- #endif /* SWIG */
- typedef struct tagDopplerSkyScanInit {
-   CHAR *skyRegionString;	/**< sky-region to search: format polygon '(a1,d1), (a2,d2), ..' */
-diff --git a/lalpulsar/src/GeneratePulsarSignal.h b/lalpulsar/src/GeneratePulsarSignal.h
-index 788d441..3213a5f 100644
---- a/lalpulsar/src/GeneratePulsarSignal.h
-+++ b/lalpulsar/src/GeneratePulsarSignal.h
-@@ -296,6 +296,9 @@ typedef struct tagPulsarSignalParams {
- /**
-  * Parameters defining the SFTs to be returned from LALSignalToSFTs().
-  */
-+#ifdef SWIG /* SWIG interface directives */
-+SWIGLAL(IMMUTABLE_MEMBERS(tagSFTParams, timestamps, noiseSFTs, window));
-+#endif /* SWIG */
- typedef struct tagSFTParams {
-   REAL8 Tsft;			 /**< length of each SFT in seconds */
-   const LIGOTimeGPSVector *timestamps; /**< timestamps to produce SFTs for (can be NULL) */
-diff --git a/lalpulsar/src/PtoleMetric.h b/lalpulsar/src/PtoleMetric.h
-index 22efe2d..6064841 100644
---- a/lalpulsar/src/PtoleMetric.h
-+++ b/lalpulsar/src/PtoleMetric.h
-@@ -107,6 +107,9 @@ typedef enum
-  * those under \ref StackMetric_h; it contains the bare
-  * necessities, not needing function pointers etc.
-  */
-+#ifdef SWIG /* SWIG interface directives */
-+SWIGLAL(IMMUTABLE_MEMBERS(tagPtoleMetricIn, site, ephemeris));
-+#endif /* SWIG */
- typedef struct
- tagPtoleMetricIn
- {
-diff --git a/lalpulsar/src/PulsarSimulateCoherentGW.h b/lalpulsar/src/PulsarSimulateCoherentGW.h
-index fc6d967..8f8b71c 100644
---- a/lalpulsar/src/PulsarSimulateCoherentGW.h
-+++ b/lalpulsar/src/PulsarSimulateCoherentGW.h
-@@ -283,6 +283,9 @@ typedef struct tagPulsarCoherentGW {
-  * This structure contains information required to determine the response
-  * of a detector to a gravitational waveform.
-  */
-+#ifdef SWIG /* SWIG interface directives */
-+SWIGLAL(IMMUTABLE_MEMBERS(tagPulsarDetectorResponse, transfer, site, ephemerides));
-+#endif /* SWIG */
- typedef struct tagPulsarDetectorResponse {
-   const COMPLEX8FrequencySeries *transfer;    /**< The frequency-dependent transfer function of the interferometer, in ADC counts per unit strain amplitude at any given frequency;
-                                          * if absent, the response will be given in raw strain rather than ADC output */
-diff --git a/lalpulsar/src/PulsarTimes.h b/lalpulsar/src/PulsarTimes.h
-index 940d53a..47aed54 100644
---- a/lalpulsar/src/PulsarTimes.h
-+++ b/lalpulsar/src/PulsarTimes.h
-@@ -162,6 +162,9 @@ extern "C" {
-  * discussion of those fields must be deferred to the documentation of
-  * the individual modules that use those particular fields.
-  */
-+#ifdef SWIG /* SWIG interface directives */
-+SWIGLAL(IMMUTABLE_MEMBERS(tagPulsarTimesParamStruc, ephemeris, site));
-+#endif /* SWIG */
- typedef struct tagPulsarTimesParamStruc {
-   LIGOTimeGPS epoch; 	/**< A reference detector time; all
-                          * other times in the transformation are represented as \c REAL8
--- 
-1.9.1
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141208/4e4f57af/attachment.html>


More information about the macports-changes mailing list