[116880] trunk/dports/python/py-stfio/Portfile

mojca at macports.org mojca at macports.org
Sun Feb 9 05:18:47 PST 2014


Revision: 116880
          https://trac.macports.org/changeset/116880
Author:   mojca at macports.org
Date:     2014-02-09 05:18:47 -0800 (Sun, 09 Feb 2014)
Log Message:
-----------
py-stfion: upgrade to 0.13.12 (maintainer, closes #42411)

 * adds a biosig variant as the new default
 * adds converters from/to neo
 * uses new download location

Modified Paths:
--------------
    trunk/dports/python/py-stfio/Portfile

Modified: trunk/dports/python/py-stfio/Portfile
===================================================================
--- trunk/dports/python/py-stfio/Portfile	2014-02-09 12:34:23 UTC (rev 116879)
+++ trunk/dports/python/py-stfio/Portfile	2014-02-09 13:18:47 UTC (rev 116880)
@@ -5,8 +5,7 @@
 PortGroup           python 1.0
 
 name                py-stfio
-version             0.13.8
-revision            1
+version             0.13.12
 categories          python science
 platforms           darwin
 license             GPL-2
@@ -14,11 +13,11 @@
 description         Electrophysiology file support for Python
 long_description    A Python module to read common electrophysiology file formats.
 homepage            http://www.stimfit.org
-master_sites        googlecode:stimfit
+master_sites        http://www.stimfit.org
 distname            stimfit-${version}
 
-checksums           rmd160  41c5fbb25e8a88d02d5607ec819b51086544e1c8 \
-                    sha256  684f488f042d4106c08bd22db81942bb24346736ea75b690df4553e15bf77e23
+checksums           rmd160  10777b4313707c7e240f552c07ced189affb42fa \
+                    sha256  a0950b7e3b0305a9939e2267fce13f2405e03be6ec19dc9b5e64fe4879a5f47c
 
 python.versions     26 27 33 34
 
@@ -30,7 +29,8 @@
                     port:py${python.version}-numpy
 
     configure.args  --disable-dependency-tracking \
-                    --enable-module
+                    --enable-module \
+                    --without-biosig
 
     configure.python \
                     ${python.bin}
@@ -45,7 +45,19 @@
     post-destroot {
         set docdir ${destroot}${prefix}/share/doc/${subport}
         xinstall -d ${docdir}
-        xinstall -m 644 ${worksrcpath}/debian/copyright \
+        xinstall -m 644 ${worksrcpath}/dist/debian/copyright \
             ${worksrcpath}/COPYING ${docdir}
     }
+
+    variant biosig description {Use biosig library for file I/O.} {
+        depends_lib-append \
+            port:libbiosig
+
+        configure.args-replace \
+            --without-biosig \
+            --with-biosig
+    }
+
+    default_variants    +biosig
+
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140209/0a2e7570/attachment.html>


More information about the macports-changes mailing list