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

sean at macports.org sean at macports.org
Thu Jul 7 22:59:39 PDT 2016


Revision: 150004
          https://trac.macports.org/changeset/150004
Author:   sean at macports.org
Date:     2016-07-07 22:59:39 -0700 (Thu, 07 Jul 2016)
Log Message:
-----------
py-ipython: update to 5.0.0

This also uses the github portgroup because that makes it easier to
check for versions and simplier this portfile a little.

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

Modified: trunk/dports/python/py-ipython/Portfile
===================================================================
--- trunk/dports/python/py-ipython/Portfile	2016-07-08 05:59:35 UTC (rev 150003)
+++ trunk/dports/python/py-ipython/Portfile	2016-07-08 05:59:39 UTC (rev 150004)
@@ -2,12 +2,12 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           github 1.0
 PortGroup           python 1.0
 PortGroup           select 1.0
 
+github.setup        ipython ipython 5.0.0
 name                py-ipython
-version             4.2.0
-revision            1
 categories-append   devel science
 platforms           darwin
 license             BSD
@@ -20,17 +20,12 @@
 description         An enhanced interactive Python shell.
 long_description    ${description}
 
-homepage            http://ipython.org
-master_sites        pypi:i/${python.rootname}
-
 distname            ${python.rootname}-${version}
 
-checksums           rmd160  69caea4b95ad1a0b331009e7f5ac48f4df259881 \
-                    sha256  dba42f182b5f6f26630d2202efd30383712d9f7d8d8d9896b37ae2145deca616
+checksums           rmd160  9160a6f37e8364d0dce6fc7a41ed4e1c1b81dbb3 \
+                    sha256  7ec0737169c74056c7fc8298246db5478a2d6c90cfd19c3253222112357545df
 
 if {${name} ne ${subport}} {
-    patchfiles-append   patch-IPython_utils_terminal.py.diff
-
     set python_major [string range ${python.version} 0 end-1]
 
     depends_lib-append  port:ipython_select \
@@ -43,6 +38,7 @@
                         port:py${python.version}-pexpect \
                         port:py${python.version}-appnope \
                         port:py${python.version}-gnureadline \
+                        port:py${python.version}-prompt_toolkit \
 
     if {${python.version} == 27} {
         depends_lib-append  port:py${python.version}-backports-shutil_get_terminal_size
@@ -99,5 +95,5 @@
 
     livecheck.type      none
 } else {
-    livecheck.type      pypi
+    livecheck.regex     archive/[join ${github.tag_prefix} ""](\[^"rba\]+)${extract.suffix}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160707/acc4c60d/attachment.html>


More information about the macports-changes mailing list