[101279] trunk/dports/python/py-h5py/Portfile

eborisch at macports.org eborisch at macports.org
Mon Jan 7 07:40:57 PST 2013


Revision: 101279
          https://trac.macports.org/changeset/101279
Author:   eborisch at macports.org
Date:     2013-01-07 07:40:57 -0800 (Mon, 07 Jan 2013)
Log Message:
-----------
py-h5py: Copy license file during install; update homepage & livecheck. Update description to match upstream.

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

Modified: trunk/dports/python/py-h5py/Portfile
===================================================================
--- trunk/dports/python/py-h5py/Portfile	2013-01-07 15:38:19 UTC (rev 101278)
+++ trunk/dports/python/py-h5py/Portfile	2013-01-07 15:40:57 UTC (rev 101279)
@@ -8,7 +8,7 @@
 version             2.1.1
 
 # h5py needs to be re-built after hdf5-18 upgrades
-revision            0
+revision            1
 
 checksums \
     rmd160  9884028e5f7b768f77a1c808c10dd6af4414fb01 \
@@ -36,30 +36,34 @@
 license             BSD
 maintainers         macports.org:eborisch \
                     openmaintainer
-description         Python Module for working with HDF5 files
+description         Read and write HDF5 files from Python
 
 long_description  \
-    HDF5 for Python (h5py) is a general-purpose Python interface to the\
-    Hierarchical Data Format library, version 5. HDF5 is a versatile, mature\
-    scientific software library designed for the fast, flexible storage of\
-    enormous amounts of data.  \
-    \
-    \n\nFrom a Python programmer's perspective, HDF5 provides a robust way to\
-    store data, organized by name in a tree-like fashion. You can create\
-    datasets (arrays on disk) hundreds of gigabytes in size, and perform\
-    random-access I/O on desired sections. Datasets are organized in a\
-    filesystem-like hierarchy using containers called 'groups', and accessed\
-    using the tradional POSIX /path/to/resource syntax.
+    The h5py package provides both a high- and low-level interface to the \
+    HDF5 library from Python. The low-level interface is intended to be a \
+    complete wrapping of the HDF5 API, while the high-level component \
+    supports  access to HDF5 files, datasets and groups using established \
+    Python and NumPy concepts. \
+    \n\nA strong emphasis on automatic conversion between Python (Numpy) \
+    datatypes and data structures and their HDF5 equivalents vastly \
+    simplifies the process of reading and writing data from Python.
 
-homepage            http://code.google.com/p/h5py/
+homepage            http://www.h5py.org
 master_sites        http://h5py.googlecode.com/files/
-distname            h5py-${version}
+distname            h5py-${version}  
 
-
 if {$subport != $name} {
     depends_lib-append  port:py${python.version}-numpy \
                         port:hdf5-18
+
+    post-destroot {
+        system -W ${destroot}${prefix} "mkdir -p share/doc/${subport}"
+        copy ${worksrcpath}/lzf/LICENSE.txt \
+            ${destroot}${prefix}/share/doc/${subport}
+    }
 }
 
-livecheck.regex       {h5py-(\d+(?:\.\d+)*).tar.gz}
+livecheck.type      googlecode
+livecheck.name      h5py
+livecheck.regex     {h5py-(\d+(?:\.\d+)*).tar.gz}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130107/15b031be/attachment.html>


More information about the macports-changes mailing list