[124970] trunk/dports/python

aronnax at macports.org aronnax at macports.org
Mon Sep 1 09:36:41 PDT 2014


Revision: 124970
          https://trac.macports.org/changeset/124970
Author:   aronnax at macports.org
Date:     2014-09-01 09:36:41 -0700 (Mon, 01 Sep 2014)
Log Message:
-----------
py-astroML, py-astroML_addons: add optional package for fast C implementations of some algorithms

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

Added Paths:
-----------
    trunk/dports/python/py-astroML_addons/
    trunk/dports/python/py-astroML_addons/Portfile

Modified: trunk/dports/python/py-astroML/Portfile
===================================================================
--- trunk/dports/python/py-astroML/Portfile	2014-09-01 16:34:39 UTC (rev 124969)
+++ trunk/dports/python/py-astroML/Portfile	2014-09-01 16:36:41 UTC (rev 124970)
@@ -9,9 +9,11 @@
 
 name                py-${realname}
 version             0.2
+revision            1
 categories-append   science
 license             BSD
 platforms           darwin
+supported_archs     noarch
 maintainers         aronnax openmaintainer
 
 python.versions     26 27
@@ -47,5 +49,12 @@
                     port:py${python.version}-scikit-learn \
                     port:py${python.version}-astropy
 
+    variant addons description "Install optional package ${name}_addons for faster C implementations of some algorithms" {
+        depends_run-append \
+                    port:${name}_addons
+    }
+
+    default_variants +addons
+
     livecheck.type  none
 }

Added: trunk/dports/python/py-astroML_addons/Portfile
===================================================================
--- trunk/dports/python/py-astroML_addons/Portfile	                        (rev 0)
+++ trunk/dports/python/py-astroML_addons/Portfile	2014-09-01 16:36:41 UTC (rev 124970)
@@ -0,0 +1,45 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           python 1.0
+PortGroup           select 1.0
+
+set realname        astroML_addons
+
+name                py-${realname}
+version             0.2.1
+categories-append   science
+license             BSD
+platforms           darwin
+maintainers         aronnax openmaintainer
+
+python.versions     26 27
+
+description         performance add-ons for the astroML package
+
+long_description    AstroML is a Python module for machine learning and data \
+                    mining built on numpy, scipy, scikit-learn, and \
+                    matplotlib, and distributed under the 3-Clause BSD \
+                    license. It contains a growing library of statistical and \
+                    machine learning routines for analyzing astronomical data \
+                    in python, loaders for several open astronomical datasets, \
+                    and a large suite of examples of analyzing and visualizing \
+                    astronomical datasets. This package provides faster C \
+                    implementations of some algorithms in astroML.
+
+homepage            http://www.astroml.org
+master_sites        http://pypi.python.org/packages/source/[string index ${realname} 0]/${realname}
+distname            ${realname}-${version}
+
+checksums           md5     243650c6b18301f02a555a6587f80c9e \
+                    sha1    e0648e0e28806fc134669867b51f941b3c0d3fa6 \
+                    rmd160  fa390a9750e02629bd23e909110a40100e84bdb6
+
+if {${name} eq ${subport}} {
+    livecheck.type      regex
+    livecheck.url       http://pypi.python.org/pypi?:action=doap&name=${realname}
+    livecheck.regex     {<release><Version><revision>([^<]+)</revision></Version></release>}
+} else {
+    livecheck.type  none
+}


Property changes on: trunk/dports/python/py-astroML_addons/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140901/3299dc8e/attachment.html>


More information about the macports-changes mailing list