[92562] trunk/dports/python/py-scikits-statsmodels/Portfile

stromnov at macports.org stromnov at macports.org
Tue May 1 04:59:38 PDT 2012


Revision: 92562
          https://trac.macports.org/changeset/92562
Author:   stromnov at macports.org
Date:     2012-05-01 04:59:38 -0700 (Tue, 01 May 2012)
Log Message:
-----------
py-scikits-statsmodels: add python32 subport

Modified Paths:
--------------
    trunk/dports/python/py-scikits-statsmodels/Portfile

Modified: trunk/dports/python/py-scikits-statsmodels/Portfile
===================================================================
--- trunk/dports/python/py-scikits-statsmodels/Portfile	2012-05-01 11:49:33 UTC (rev 92561)
+++ trunk/dports/python/py-scikits-statsmodels/Portfile	2012-05-01 11:59:38 UTC (rev 92562)
@@ -6,7 +6,7 @@
 
 name                py-scikits-statsmodels
 version             0.4.0
-revision            0
+revision            1
 categories-append   science
 license             BSD
 platforms           darwin
@@ -29,14 +29,21 @@
                     sha256  eb8c4b025538f197bd05bfe9de860c6e1759fddf6e212603e9014c4c9c9e4f54
 
 python.default_version  27
-python.versions     26 27
+python.versions     26 27 32
 
 if {$subport != $name} {
-    depends_lib     port:py${python.version}-numpy \
+    depends_lib-append  \
+                    port:py${python.version}-numpy \
                     port:py${python.version}-scipy \
+                    port:py${python.version}-pandas \
+                    port:py${python.version}-cython \
                     port:py${python.version}-distribute \
                     port:py${python.version}-scikits-module
 
+    post-patch {
+        reinplace "s|\'cython\'|\'cython-${python.branch}\'|g" ${worksrcpath}/tools/_build.py
+    }
+
     post-destroot {
         # scikits/__init__.py is provided by scikits-module
         file delete ${destroot}${python.pkgd}/scikits/__init__.py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120501/a56371b6/attachment.html>


More information about the macports-changes mailing list