[108534] trunk/dports/python/py-ipython/Portfile

sean at macports.org sean at macports.org
Thu Jul 25 17:20:13 PDT 2013


Revision: 108534
          https://trac.macports.org/changeset/108534
Author:   sean at macports.org
Date:     2013-07-25 17:20:12 -0700 (Thu, 25 Jul 2013)
Log Message:
-----------
py-ipython: consolidate py24 and py25 subport code

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

Modified: trunk/dports/python/py-ipython/Portfile
===================================================================
--- trunk/dports/python/py-ipython/Portfile	2013-07-25 21:57:29 UTC (rev 108533)
+++ trunk/dports/python/py-ipython/Portfile	2013-07-26 00:20:12 UTC (rev 108534)
@@ -32,7 +32,7 @@
 
 python.versions     24 25 26 27 31 32 33
 
-subport py24-${realname} {
+if {$subport eq "py24-$realname" || $subport eq "py25-$realname"} {
     version             0.10.2
     master_sites        http://archive.ipython.org/release/${version}
     distname            ${realname}-${version}
@@ -41,16 +41,6 @@
                         rmd160  365a4eb9b534df1a9aa8717f173e9a032224ea01
 }
 
-subport py25-${realname} {
-    version             0.10.2
-    revision            2
-    master_sites        http://archive.ipython.org/release/${version}
-    distname            ${realname}-${version}
-    checksums           md5     dda59bfc6e256ce786c4bc4aadb220a4 \
-                        sha1    d45b97b0f458fd517cb2bfa9ebb3c671c46a21c0 \
-                        rmd160  365a4eb9b534df1a9aa8717f173e9a032224ea01
-}
-
 if {$subport != "py31-${realname}" && $subport != "py32-${realname}" && $subport != "py33-${realname}" && $subport != $name} {
     variant scientific description "Use ScientificPython to provide physical quantities support" {
         depends_lib-append      port:py${python.version}-scientific
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130725/4d35c06e/attachment.html>


More information about the macports-changes mailing list