Revision: 37939 http://trac.macosforge.org/projects/macports/changeset/37939 Author: ram@macports.org Date: 2008-06-29 19:22:35 -0700 (Sun, 29 Jun 2008) Log Message: ----------- python/py25-tables: new port, closes #15771 Modified Paths: -------------- trunk/dports/python/py25-tables/Portfile Added Paths: ----------- trunk/dports/python/py25-tables/ Copied: trunk/dports/python/py25-tables (from rev 37908, trunk/dports/python/py-tables) Property changes on: trunk/dports/python/py25-tables ___________________________________________________________________ Name: svn:mergeinfo + Modified: trunk/dports/python/py25-tables/Portfile =================================================================== --- trunk/dports/python/py-tables/Portfile 2008-06-28 20:55:11 UTC (rev 37908) +++ trunk/dports/python/py25-tables/Portfile 2008-06-30 02:22:35 UTC (rev 37939) @@ -1,41 +1,57 @@ # $Id$ -PortSystem 1.0 -PortGroup python24 1.0 +PortSystem 1.0 +PortGroup python25 1.0 -name py-tables -version 2.0.2 -categories python science -platforms darwin -maintainers nomaintainer -description Python package for users to organize scientific data tables -long_description The goal of PyTables is to enable the end user to \ - manipulate easily scientific data tables, numarray \ - objects and Numerical Python objects in a persistent, \ - hierarchical structure. The foundation of the \ - underlying hierachical data organization is the \ - excellent HDF5 library. +name py25-tables +version 2.0.3 +categories-append python science +platforms darwin +maintainers dal.ca:tom.duck openmaintainer -homepage http://www.pytables.org/ -master_sites ${homepage}/download/stable/ -distname pytables-${version} -checksums md5 9a11b0a453b6dde9ccfeb77dfa497625 +description Python package for HDF5 file access. +long_description PyTables is a python package used to access \ + HDF5 files, and can efficiently manage extremely large hierarchical \ + data sets. -depends_lib-append port:hdf5 port:py-numpy port:bzip2 +homepage http://www.pytables.org/ +master_sites ${homepage}download/stable/ +distname pytables-${version} -build.target build_ext -build.args --inplace \ - --hdf5=${prefix} +checksums md5 0afe29dd420bfdfbd2a4380b4ac7fbee \ + sha1 54a147c2e42221bfd86e1c14358dba3cb2444fb0 \ + rmd160 b8e7e7be7e82c2b2860260861b53c09fedda0b5d -test.run no -test.cmd ${python.bin} test/test_all.py -test.env PYTHONPATH=. -test.target +depends_lib-append port:hdf5 \ + port:py25-numpy \ + port:zlib \ + port:bzip2 \ + port:py25-scientific -destroot.args --hdf5=${prefix} +build.target build_ext +build.args --inplace \ + --hdf5=${prefix} \ + --bzip2=${prefix} -post-destroot { - xinstall -m 644 -W ${worksrcpath} ANNOUNCE.txt LICENSE.txt README.txt \ - MIGRATING_TO_2.x.txt RELEASE_NOTES.txt THANKS TODO.txt \ - ${destroot}${prefix}/share/doc/${name} +destroot.args --hdf5=${prefix} \ + --bzip2=${prefix} + +post-destroot { + xinstall -m 644 -W ${worksrcpath} ANNOUNCE.txt LICENSE.txt README.txt \ + MIGRATING_TO_2.x.txt RELEASE_NOTES.txt THANKS TODO.txt \ + ${destroot}${prefix}/share/doc/${name} + + foreach f {ptdump ptrepack nctoh5} { + move ${destroot}${prefix}/bin/${f} ${destroot}${prefix}/bin/${f}-py25 + } } + +variant lzo description "Use lzo compression library" { + depends_lib-append port:lzo + build.args-append --lzo=${prefix} + destroot.args-append --lzo=${prefix} +} + +livecheck.check regex +livecheck.url ${homepage} +livecheck.regex {PyTables ([0-9]+\.[0-9]+\.[0-9]+) released}