[91232] trunk/dports/python/py-yt

robitaille at macports.org robitaille at macports.org
Mon Mar 26 08:08:05 PDT 2012


Revision: 91232
          https://trac.macports.org/changeset/91232
Author:   robitaille at macports.org
Date:     2012-03-26 08:08:04 -0700 (Mon, 26 Mar 2012)
Log Message:
-----------
py-yt: updated to 2.3 and fixed compatibility with ipython 0.12+

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

Added Paths:
-----------
    trunk/dports/python/py-yt/files/
    trunk/dports/python/py-yt/files/iyt.diff

Modified: trunk/dports/python/py-yt/Portfile
===================================================================
--- trunk/dports/python/py-yt/Portfile	2012-03-26 14:58:30 UTC (rev 91231)
+++ trunk/dports/python/py-yt/Portfile	2012-03-26 15:08:04 UTC (rev 91232)
@@ -5,7 +5,7 @@
 PortGroup           python 1.0
 
 name                py-yt
-version             2.2
+version             2.3
 maintainers         robitaille openmaintainer
 
 categories-append   science
@@ -21,24 +21,23 @@
                     between codes.
 
 platforms           darwin
+supported_archs     noarch
 
 homepage            http://yt-project.org/
-master_sites        http://hg.yt-project.org/yt/get/
+master_sites        http://pypi.python.org/packages/source/y/yt/
 distname            yt-${version}
-checksums           md5  e4fcc0a5a56e2a87daf0dd73488de69f \
-                    sha1  8eaeaa6cae0c1c33cb5fa5485167f0793d903dff \
-                    rmd160  6f56ce5f350525dec3dc1de6576fcc1cbf28fdd2
+checksums           md5 a13bb47b2cd37d4fc12e4bdac6ff13f5 \
+                    sha1 1a2f66459695f2105625f28c70c2562f0398f164 \
+                    rmd160 26a91719bd2d53a1bd6a8c815847ce5b6cbfe6a3
 
-python.versions     25 26 27
+python.versions     26 27
 python.default_version 27
 
+patchfiles          iyt.diff
+
 if {${subport} != ${name}} {
     depends_run-append  port:py${python.version}-numpy \
                         port:py${python.version}-matplotlib \
                         port:py${python.version}-h5py \
                         port:py${python.version}-cython
-    post-extract {
-        file rename ${workpath}/yt_analysis-yt-yt-${version} ${workpath}/yt-${version}
-    }
-
 }

Added: trunk/dports/python/py-yt/files/iyt.diff
===================================================================
--- trunk/dports/python/py-yt/files/iyt.diff	                        (rev 0)
+++ trunk/dports/python/py-yt/files/iyt.diff	2012-03-26 15:08:04 UTC (rev 91232)
@@ -0,0 +1,11 @@
+--- scripts/iyt.orig	2012-03-26 17:02:21.000000000 +0200
++++ scripts/iyt	2012-03-26 16:57:16.000000000 +0200
+@@ -26,6 +26,8 @@
+     api_version = '0.10'
+ elif IPython.__version__.startswith("0.11"):
+     api_version = '0.11'
++else:
++    api_version = '0.11'
+ 
+ if api_version == "0.10" and "DISPLAY" in os.environ:
+     from matplotlib import rcParams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120326/93cc1700/attachment-0001.html>


More information about the macports-changes mailing list