[125816] trunk/dports/python

jmr at macports.org jmr at macports.org
Fri Sep 26 18:37:53 PDT 2014


Revision: 125816
          https://trac.macports.org/changeset/125816
Author:   jmr at macports.org
Date:     2014-09-26 18:37:53 -0700 (Fri, 26 Sep 2014)
Log Message:
-----------
py26-scikits-audiolab: use unified python portgroup, set license

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

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

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

Modified: trunk/dports/python/py-scikits-audiolab/Portfile
===================================================================
--- trunk/dports/python/py26-scikits-audiolab/Portfile	2014-09-26 22:01:25 UTC (rev 125815)
+++ trunk/dports/python/py-scikits-audiolab/Portfile	2014-09-27 01:37:53 UTC (rev 125816)
@@ -2,13 +2,14 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-scikits-audiolab
+name                py-scikits-audiolab
 version             0.11.0
 maintainers         nomaintainer
 
 categories-append   science audio
+license             LGPL-2.1+
 description         Audiolab is a python toolbox to read/write audio files from numpy arrays
 long_description    ${description}. \
                     It gives SciPy the equivalent of Matlab wavread, wavwrite, etc... as well \
@@ -18,22 +19,27 @@
 platforms           darwin
 
 homepage            http://scikits.appspot.com/audiolab
-master_sites        http://pypi.python.org/packages/source/s/scikits.audiolab/
+master_sites        https://pypi.python.org/packages/source/s/scikits.audiolab/
 distname            scikits.audiolab-${version}
 
 checksums           md5     f93f17211c7763d8631e0d10f37471b0 \
                     sha1    c646429d44b9824aa0d78e11ff22172f93e0a0f1 \
                     rmd160  3f86eb15b9c30256a6793b6943f74a5e28a4c23a
 
-depends_lib-append  port:libsndfile \
-                    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-append  port:libsndfile \
+                        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.type      regex
+    livecheck.url       ${homepage}
+    livecheck.regex     <i>version (.*)</i>
 }
-
-livecheck.type      regex
-livecheck.url       ${homepage}
-livecheck.regex     <i>version (.*)</i>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140926/5df2b65e/attachment-0001.html>


More information about the macports-changes mailing list