[125820] trunk/dports/python

jmr at macports.org jmr at macports.org
Fri Sep 26 19:08:49 PDT 2014


Revision: 125820
          https://trac.macports.org/changeset/125820
Author:   jmr at macports.org
Date:     2014-09-26 19:08:49 -0700 (Fri, 26 Sep 2014)
Log Message:
-----------
py26-scikits-timeseries: use unified python portgroup, set license

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

Added Paths:
-----------
    trunk/dports/python/py-scikits-timeseries/

Removed Paths:
-------------
    trunk/dports/python/py26-scikits-timeseries/

Modified: trunk/dports/python/py-scikits-timeseries/Portfile
===================================================================
--- trunk/dports/python/py26-scikits-timeseries/Portfile	2014-09-26 22:01:25 UTC (rev 125815)
+++ trunk/dports/python/py-scikits-timeseries/Portfile	2014-09-27 02:08:49 UTC (rev 125820)
@@ -2,13 +2,15 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-scikits-timeseries
+name                py-scikits-timeseries
 version             0.91.1
 maintainers         nomaintainer
 
 categories-append   science
+# GPLConflict because eGenix.com Public License Agreement has a choice of law clause
+license             BSD Permissive GPLConflict
 description         Classes and functions for manipulating, reporting, and plotting time series
 long_description    ${description} \
                     The focus is on convenient data access and manipulation while leveraging \
@@ -24,12 +26,17 @@
                     sha1    dbe4beb0be770019e44eacc7f33186dc643c389a \
                     rmd160  7a188145f2422ea58dd2fafd42e0dbb34bdeb3f8
 
-depends_lib         port:py26-numpy \
-                    port:py26-scikits-module
+python.versions     26
 
-post-destroot {
-    # scikits/__init__.py is provided by scikits-module
-    file delete ${destroot}${python.pkgd}/scikits/__init__.py
+if {$subport ne $name} {
+    depends_lib         port:py${python.version}-numpy \
+                        port:py${python.version}-scikits-module
+
+    post-destroot {
+        # scikits/__init__.py is provided by scikits-module
+        file delete ${destroot}${python.pkgd}/scikits/__init__.py
+    }
+    livecheck.type      none
+} else {
+    livecheck.regex     <title>scikits.timeseries (.*) released .*</title>
 }
-
-livecheck.regex     <title>scikits.timeseries (.*) released .*</title>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140926/6ffd4180/attachment.html>


More information about the macports-changes mailing list