[82311] trunk/dports/python

mmoll at macports.org mmoll at macports.org
Fri Aug 12 11:48:20 PDT 2011


Revision: 82311
          http://trac.macports.org/changeset/82311
Author:   mmoll at macports.org
Date:     2011-08-12 11:48:20 -0700 (Fri, 12 Aug 2011)
Log Message:
-----------
unify py*-tables

Modified Paths:
--------------
    trunk/dports/python/py-tables/Portfile

Removed Paths:
-------------
    trunk/dports/python/py25-tables/
    trunk/dports/python/py26-tables/
    trunk/dports/python/py27-tables/

Modified: trunk/dports/python/py-tables/Portfile
===================================================================
--- trunk/dports/python/py-tables/Portfile	2011-08-12 18:00:01 UTC (rev 82310)
+++ trunk/dports/python/py-tables/Portfile	2011-08-12 18:48:20 UTC (rev 82311)
@@ -1,41 +1,55 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 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.
+set realname        tables
+name                py-${realname}
+version             2.2.1
+revision            1
+python.versions     25 26 27
+python.default_version 27
+categories          python science
+platforms           darwin
+maintainers         mmoll openmaintainer
+description         Package for managing hierarchical datasets
+long_description    PyTables is a package for managing hierarchical datasets \
+                    and designed to efficiently and easily cope with \
+                    extremely large amounts of data
 
-homepage		http://www.pytables.org/
-master_sites		${homepage}/download/stable/
-distname		pytables-${version}
-checksums		md5 9a11b0a453b6dde9ccfeb77dfa497625
+homepage            http://www.pytables.org/
+master_sites        ${homepage}/download/stable/
+checksums           md5     37f4932ecff9fe97bffc7a3d2e7da427 \
+                    sha1    2c6385365be19fdf8f81e8fd862bedfcf4fe2ba5 \
+                    rmd160  1d9ab1f836fcccccdad8eee7603a1056c2c27716
+distname            ${realname}-${version}
 
-depends_lib-append	port:hdf5 port:py-numpy port:bzip2
+if {$subport != $name} {
+    build.target        build_ext
+    build.args          --inplace \
+                        --hdf5=${prefix} \
+                        --bzip2=${prefix} \
+                        --lzo=${prefix}
 
-build.target	build_ext
-build.args		--inplace \
-				--hdf5=${prefix}
+    destroot.args       --hdf5=${prefix} \
+                        --bzip2=${prefix} \
+                        --lzo=${prefix}
+    depends_lib-append  port:hdf5-18 \
+                        port:py${python.version}-numpy \
+                        port:py${python.version}-numexpr \
+                        port:zlib \
+                        port:bzip2 \
+                        port:lzo2 \
+                        port:py${python.version}-scientific \
+                        port:py${python.version}-cython
+    post-destroot    {
+        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+        xinstall -m 644 -W ${worksrcpath} ANNOUNCE.txt LICENSE.txt README.txt \
+            MIGRATING_TO_2.x.txt RELEASE_NOTES.txt THANKS VERSION \
+            ${destroot}${prefix}/share/doc/${name}
+    }
+}
 
-test.run		no
-test.cmd		${python.bin} test/test_all.py
-test.env		PYTHONPATH=.
-test.target
-
-destroot.args	--hdf5=${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}
-}
+livecheck.type     regex
+livecheck.url      ${homepage}
+livecheck.regex    {PyTables ([0-9]+\.[0-9]+\.[0-9]+) \(final\) released}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110812/b14db8d4/attachment-0001.html>


More information about the macports-changes mailing list