Ticket #37223: 2.patch

File 2.patch, 2.0 KB (added by seanfarley (Sean Farley), 11 years ago)

py-numpy: add python33 support

  • dports/python/py-numpy/Portfile

    # HG changeset patch
    # User Sean Farley <sean.michael.farley@gmail.com>
    # Date 1354594290 21600
    # Node ID 14e9b20171b940e8c1b3ea7e77a3f24927fd1357
    # Parent  4d41d9b6d8d1e92ce93e4c26493a9681e285b11e
    py-numpy: add python33 support
    
    diff --git a/dports/python/py-numpy/Portfile b/dports/python/py-numpy/Portfile
    a b  
    33
    44PortSystem              1.0
    55PortGroup               python 1.0
    66PortGroup               github 1.0
    77
    8 github.setup            numpy numpy 1.6.2 v
     8# python 3.3 only works with the 1.7 branch of numpy
     9if {$subport == "py33-numpy"} {
     10    github.setup        numpy numpy 1.7.0b2 v
     11
     12    checksums           rmd160  cedc97a3f12bdf1cfc47463f85b6ec687d9b002e \
     13                        sha256  da1322750976f8babb9e34ea1b7d02754774354b70ab7d736399414d344db601
     14} else {
     15    github.setup        numpy numpy 1.6.2 v
     16
     17    checksums           rmd160  9643c04a2e8fbb99cdb047281eedbbfb99423553 \
     18                        sha256  0992d326147d0ed83bd059519897e7a8ee52dea5ee66bbe04c0ea1c502cd8618
     19}
     20
    921name                    py-numpy
    1022
    1123categories              python math
    1224license                 BSD
    1325platforms               darwin
    1426maintainers             dh ram openmaintainer
    1527description             The core utilities for the scientific library scipy for Python
    1628long_description        ${description}
    1729
    18 checksums               rmd160  9643c04a2e8fbb99cdb047281eedbbfb99423553 \
    19                         sha256  0992d326147d0ed83bd059519897e7a8ee52dea5ee66bbe04c0ea1c502cd8618
    20 
    21 python.versions         24 25 26 27 31 32
     30python.versions         24 25 26 27 31 32 33
    2231
    2332if {${subport} != ${name}} {
    2433
    25 patchfiles              patch-f2py_setup.py.diff \
     34if {$subport != "py33-numpy"} {
     35    patchfiles          patch-f2py_setup.py.diff \
    2636                        patch-fcompiler_g95.diff
     37}
    2738
    2839depends_lib-append      port:fftw-3 \
    2940                        port:py${python.version}-nose
    3041
    3142if {[variant_isset universal]} {