Ticket #54868: py-ipython.patch

File py-ipython.patch, 1.1 KB (added by Ionic (Mihai Moldovan), 7 years ago)

Proposed patch for py-ipython.

  • python/py-ipython/Portfile

    commit 4dfa489a1a7513765943cdcf4e46db5e2a35600e
    Author: Mihai Moldovan <ionic@ionic.de>
    Date:   Tue Sep 19 08:47:07 2017 +0200
    
        python/py-ipython: depend upon py-pathlib2 for python 3.3 and py-typing for python <= 3.4. Revbump python 3-based ports.
        
        Fixes: https://trac.macports.org/ticket/54868
    
    diff --git a/python/py-ipython/Portfile b/python/py-ipython/Portfile
    index cd86934..b427b0e 100644
    a b if {${name} ne ${subport}} { 
    4848        depends_lib-append  port:py${python.version}-backports-shutil_get_terminal_size \
    4949                            port:py${python.version}-pathlib2
    5050    } else {
     51        revision            1
     52
    5153        depends_lib-append  port:py${python.version}-jedi
     54
     55        if {${python.version} == 33} {
     56            depends_lib-append  port:py${python.version}-pathlib2
     57        }
     58
     59        if {${python.version} <= 34} {
     60            depends_lib-append  port:py${python.version}-typing
     61        }
    5262    }
    5363
    5464    variant parallel description "Support for parallel computing (deprecated variant)" {