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

jmr at macports.org jmr at macports.org
Wed Jun 26 19:27:17 PDT 2013


Revision: 107394
          https://trac.macports.org/changeset/107394
Author:   jmr at macports.org
Date:     2013-06-26 19:27:17 -0700 (Wed, 26 Jun 2013)
Log Message:
-----------
py-scikits-statsmodels: fix setuptools dep type, disable livecheck in subports

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

Modified: trunk/dports/python/py-scikits-statsmodels/Portfile
===================================================================
--- trunk/dports/python/py-scikits-statsmodels/Portfile	2013-06-27 02:22:55 UTC (rev 107393)
+++ trunk/dports/python/py-scikits-statsmodels/Portfile	2013-06-27 02:27:17 UTC (rev 107394)
@@ -28,16 +28,15 @@
 checksums           rmd160  dbc48424d42f6f6215e78f0ffed0f48cf21bd758 \
                     sha256  504a4f6ccb657c1fab21c6cea5bc53a698bebf72f226dbf0f13374f7f371a7d4
 
-python.default_version  27
 python.versions     26 27 32
 
 if {$subport != $name} {
+    depends_build   port:py${python.version}-setuptools
     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}-setuptools \
                     port:py${python.version}-scikits-module
 
     post-patch {
@@ -48,8 +47,10 @@
         # scikits/__init__.py is provided by scikits-module
         file delete ${destroot}${python.pkgd}/scikits/__init__.py
     }
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     "statsmodels-(\\d+(?:\\.\\d+)*)${extract.suffix}"
 }
-
-livecheck.type      regex
-livecheck.url       ${master_sites}
-livecheck.regex     "statsmodels-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130626/4f8f514c/attachment.html>


More information about the macports-changes mailing list