[29895] trunk/dports/python/py25-ipython

source_changes at macosforge.org source_changes at macosforge.org
Sun Oct 14 09:35:34 PDT 2007


Revision: 29895
          http://trac.macosforge.org/projects/macports/changeset/29895
Author:   nox at macports.org
Date:     2007-10-14 09:35:33 -0700 (Sun, 14 Oct 2007)

Log Message:
-----------
py25-ipython:
 * Added py25-hashlib dependency.
 * Added test support.
 * Removed old master sites.
 * Added sha1 and rmd160 checksums.
 * Added livecheck.

Modified Paths:
--------------
    trunk/dports/python/py25-ipython/Portfile
    trunk/dports/python/py25-ipython/files/patch-setup.py

Modified: trunk/dports/python/py25-ipython/Portfile
===================================================================
--- trunk/dports/python/py25-ipython/Portfile	2007-10-14 16:12:47 UTC (rev 29894)
+++ trunk/dports/python/py25-ipython/Portfile	2007-10-14 16:35:33 UTC (rev 29895)
@@ -4,8 +4,9 @@
 PortGroup               python25 1.0
 
 name                    py25-ipython
+set my_name             ipython
 version                 0.8.1
-revision                1
+revision                2
 categories              python
 platforms               darwin
 maintainers             openmaintainer jochen
@@ -16,18 +17,30 @@
                         other systems with Python as the underlying language.  \
                         Allow interactive testing of threaded graphical toolkits. 
 
-homepage                http://ipython.scipy.org
-master_sites            ${homepage}/dist/ \
-                        ${homepage}/dist/old/
-distname                ipython-${version}
-checksums               md5 3479262a4bab21246ff07a06bbbd7bcb
+homepage                http://ipython.scipy.org/
+master_sites            ${homepage}dist/
+distname                ${my_name}-${version}
+
+checksums               md5 3479262a4bab21246ff07a06bbbd7bcb \
+                        sha1 90320436c7c09f778c904553520327cbbfd2d8c6 \
+                        rmd160 974a7584471c3559a8c56d60bc85715f3fd3e079
+
 patchfiles              patch-setup.py
 
-depends_lib-append      port:py25-readline
+depends_run-append      port:py25-readline \
+                        port:py25-hashlib
 
+test.run                yes
 
 variant scientific description "Use ScientificPython to provide physical quantities support" {
         depends_lib-append      port:py25-scientific
 }
 
 default_variants        +scientific
+
+universal_variant       no
+
+livecheck.check         regex
+livecheck.url           ${master_sites}?C=M&O=A
+livecheck.regex         ${my_name}-(\\d+(?:\\.\\d+)*)
+

Modified: trunk/dports/python/py25-ipython/files/patch-setup.py
===================================================================
--- trunk/dports/python/py25-ipython/files/patch-setup.py	2007-10-14 16:12:47 UTC (rev 29894)
+++ trunk/dports/python/py25-ipython/files/patch-setup.py	2007-10-14 16:35:33 UTC (rev 29895)
@@ -1,11 +1,11 @@
 --- work/ipython-0.7.0/setup.py	2005-12-25 01:46:14.000000000 +0100
 +++ setup.py	2006-01-10 09:27:58.000000000 +0100
-@@ -99,7 +99,7 @@
+@@ -98,7 +98,7 @@
  # Note that http://www.redbrick.dcu.ie/~noel/distutils.html, ex. 2/3, contain
  # information on how to do this more cleanly once python 2.4 can be assumed.
  # Thanks to Noel for the tip.
 -docdirbase  = 'share/doc/ipython-%s' % version
-+docdirbase  = 'share/doc/ipython'
++docdirbase  = 'share/doc/py25-ipython-%s' % version
  manpagebase = 'share/man/man1'
  
  # We only need to exclude from this things NOT already excluded in the

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


More information about the macports-changes mailing list