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

jochen at macports.org jochen at macports.org
Fri Feb 29 13:48:38 PST 2008


Revision: 34630
          http://trac.macosforge.org/projects/macports/changeset/34630
Author:   jochen at macports.org
Date:     2008-02-29 13:48:38 -0800 (Fri, 29 Feb 2008)

Log Message:
-----------
apply patch from #14360

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

Modified: trunk/dports/python/py-ipython/Portfile
===================================================================
--- trunk/dports/python/py-ipython/Portfile	2008-02-29 21:48:05 UTC (rev 34629)
+++ trunk/dports/python/py-ipython/Portfile	2008-02-29 21:48:38 UTC (rev 34630)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem              1.0
@@ -6,6 +7,7 @@
 name                    py-ipython
 set my_name             ipython
 version                 0.8.2
+revision                1
 categories              python
 platforms               darwin
 maintainers             openmaintainer jochen
@@ -26,12 +28,25 @@
 
 depends_lib-append      port:py-readline
 
+test.run                yes
 
+post-destroot {
+    foreach f {ipython irunner pycolor} {
+        move ${destroot}${prefix}/bin/${f} \
+            ${destroot}${prefix}/bin/${f}2.4
+    }
+    foreach f {ipython pycolor} {
+        move ${destroot}${prefix}/share/man/man1/${f}.1.gz \
+            ${destroot}${prefix}/share/man/man1/${f}2.4.1.gz
+    }
+}
+
 variant scientific description "Use ScientificPython to provide physical quantities support" {
         depends_lib-append      port:py-scientific
 }
 
 default_variants        +scientific
+universal_variant       no
 
 livecheck.check         regex
 livecheck.url           ${master_sites}?C=M&O=D

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080229/34a0688d/attachment.html 


More information about the macports-changes mailing list