New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82311


Ignore:
Timestamp:
08/12/11 11:48:20 (4 years ago)
Author:
mmoll@…
Message:

unify py*-tables

Location:
trunk/dports/python
Files:
3 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-tables/Portfile

    r31708 r82311  
    22 
    33PortSystem 1.0 
    4 PortGroup python24 1.0 
     4PortGroup python 1.0 
    55 
    6 name                    py-tables 
    7 version                 2.0.2 
    8 categories              python science 
    9 platforms               darwin 
    10 maintainers             nomaintainer 
    11 description             Python package for users to organize scientific data tables 
    12 long_description        The goal of PyTables is to enable the end user to \ 
    13                                 manipulate easily scientific data tables, numarray \ 
    14                                 objects and Numerical Python objects in a persistent, \ 
    15                                 hierarchical structure. The foundation of the \ 
    16                                 underlying hierachical data organization is the \ 
    17                                 excellent HDF5 library. 
     6set realname        tables 
     7name                py-${realname} 
     8version             2.2.1 
     9revision            1 
     10python.versions     25 26 27 
     11python.default_version 27 
     12categories          python science 
     13platforms           darwin 
     14maintainers         mmoll openmaintainer 
     15description         Package for managing hierarchical datasets 
     16long_description    PyTables is a package for managing hierarchical datasets \ 
     17                    and designed to efficiently and easily cope with \ 
     18                    extremely large amounts of data 
    1819 
    19 homepage                http://www.pytables.org/ 
    20 master_sites            ${homepage}/download/stable/ 
    21 distname                pytables-${version} 
    22 checksums               md5 9a11b0a453b6dde9ccfeb77dfa497625 
     20homepage            http://www.pytables.org/ 
     21master_sites        ${homepage}/download/stable/ 
     22checksums           md5     37f4932ecff9fe97bffc7a3d2e7da427 \ 
     23                    sha1    2c6385365be19fdf8f81e8fd862bedfcf4fe2ba5 \ 
     24                    rmd160  1d9ab1f836fcccccdad8eee7603a1056c2c27716 
     25distname            ${realname}-${version} 
    2326 
    24 depends_lib-append      port:hdf5 port:py-numpy port:bzip2 
     27if {$subport != $name} { 
     28    build.target        build_ext 
     29    build.args          --inplace \ 
     30                        --hdf5=${prefix} \ 
     31                        --bzip2=${prefix} \ 
     32                        --lzo=${prefix} 
    2533 
    26 build.target    build_ext 
    27 build.args              --inplace \ 
    28                                 --hdf5=${prefix} 
     34    destroot.args       --hdf5=${prefix} \ 
     35                        --bzip2=${prefix} \ 
     36                        --lzo=${prefix} 
     37    depends_lib-append  port:hdf5-18 \ 
     38                        port:py${python.version}-numpy \ 
     39                        port:py${python.version}-numexpr \ 
     40                        port:zlib \ 
     41                        port:bzip2 \ 
     42                        port:lzo2 \ 
     43                        port:py${python.version}-scientific \ 
     44                        port:py${python.version}-cython 
     45    post-destroot    { 
     46        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 
     47        xinstall -m 644 -W ${worksrcpath} ANNOUNCE.txt LICENSE.txt README.txt \ 
     48            MIGRATING_TO_2.x.txt RELEASE_NOTES.txt THANKS VERSION \ 
     49            ${destroot}${prefix}/share/doc/${name} 
     50    } 
     51} 
    2952 
    30 test.run                no 
    31 test.cmd                ${python.bin} test/test_all.py 
    32 test.env                PYTHONPATH=. 
    33 test.target 
    34  
    35 destroot.args   --hdf5=${prefix} 
    36  
    37 post-destroot   { 
    38         xinstall -m 644 -W ${worksrcpath} ANNOUNCE.txt LICENSE.txt README.txt \ 
    39                 MIGRATING_TO_2.x.txt RELEASE_NOTES.txt THANKS TODO.txt \ 
    40                 ${destroot}${prefix}/share/doc/${name} 
    41 } 
     53livecheck.type     regex 
     54livecheck.url      ${homepage} 
     55livecheck.regex    {PyTables ([0-9]+\.[0-9]+\.[0-9]+) \(final\) released} 
Note: See TracChangeset for help on using the changeset viewer.