Ticket #14360: ipython.diff

File ipython.diff, 2.3 KB (added by ebgssth@…, 16 years ago)

patch for ipython

  • py-ipython/Portfile

     
    66name                    py-ipython
    77set my_name             ipython
    88version                 0.8.2
     9revision                1
    910categories              python
    1011platforms               darwin
    1112maintainers             openmaintainer jochen
     
    2627
    2728depends_lib-append      port:py-readline
    2829
     30test.run                yes
    2931
     32post-destroot {
     33    foreach f {ipython irunner pycolor} {
     34        move ${destroot}${prefix}/bin/${f} \
     35            ${destroot}${prefix}/bin/${f}2.4
     36    }
     37    foreach f {ipython pycolor} {
     38        move ${destroot}${prefix}/share/man/man1/${f}.1.gz \
     39            ${destroot}${prefix}/share/man/man1/${f}2.4.1.gz
     40    }
     41}
     42
    3043variant scientific description "Use ScientificPython to provide physical quantities support" {
    3144        depends_lib-append      port:py-scientific
    3245}
    3346
    3447default_variants        +scientific
    3548
     49universal_variant       no
     50
    3651livecheck.check         regex
    3752livecheck.url           ${master_sites}?C=M&O=D
    3853livecheck.regex         ${my_name}-(\\d+(?:\\.\\d+)*)
  • py25-ipython/Portfile

     
    66name                    py25-ipython
    77set my_name             ipython
    88version                 0.8.2
     9revision                1
    910categories              python
    1011platforms               darwin
    1112maintainers             openmaintainer jochen
     
    2930
    3031test.run                yes
    3132
     33post-destroot {
     34    foreach f {ipython irunner pycolor} {
     35        move ${destroot}${prefix}/bin/${f} \
     36            ${destroot}${prefix}/bin/${f}2.5
     37    }
     38    foreach f {ipython pycolor} {
     39        move ${destroot}${prefix}/share/man/man1/${f}.1.gz \
     40            ${destroot}${prefix}/share/man/man1/${f}2.5.1.gz
     41    }
     42}
     43
    3244variant scientific description "Use ScientificPython to provide physical quantities support" {
    3345        depends_lib-append      port:py25-scientific
    3446}
     
    4052livecheck.check         regex
    4153livecheck.url           ${master_sites}?C=M&O=D
    4254livecheck.regex         ${my_name}-(\\d+(?:\\.\\d+)*)
    43