[136493] trunk/dports/python

stromnov at macports.org stromnov at macports.org
Tue May 19 00:44:52 PDT 2015


Revision: 136493
          https://trac.macports.org/changeset/136493
Author:   stromnov at macports.org
Date:     2015-05-19 00:44:51 -0700 (Tue, 19 May 2015)
Log Message:
-----------
py-bcolz: new port

Added Paths:
-----------
    trunk/dports/python/py-bcolz/
    trunk/dports/python/py-bcolz/Portfile

Added: trunk/dports/python/py-bcolz/Portfile
===================================================================
--- trunk/dports/python/py-bcolz/Portfile	                        (rev 0)
+++ trunk/dports/python/py-bcolz/Portfile	2015-05-19 07:44:51 UTC (rev 136493)
@@ -0,0 +1,62 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           python 1.0
+
+name                py-bcolz
+version             0.9.0
+revision            0
+categories-append   devel
+platforms           darwin
+license             BSD
+
+python.versions     27 34
+
+maintainers         stromnov openmaintainer
+
+description         Columnar and compressed data containers.
+
+long_description    bcolz provides columnar and compressed data containers. \
+                    Column storage allows for efficiently querying tables \
+                    with a large number of columns. It also allows for cheap \
+                    addition and removal of column. In addition, bcolz \
+                    objects are compressed by default for reducing \
+                    memory/disk I/O needs. The compression process is \
+                    carried out internally by Blosc, a high-performance \
+                    compressor that is optimized for binary data.
+
+homepage            https://github.com/Blosc/bcolz
+master_sites        https://pypi.python.org/packages/source/b/bcolz/
+
+distname            bcolz-${version}
+
+checksums           rmd160  e3fdcc7f2f373994ce0860e8c3bc998a23421202 \
+                    sha256  086b1ad62accf6b45e9386edfa23ccc9f8a1feaec5803e7f39753139eb016a50
+
+if {${name} ne ${subport}} {
+    # Fix permissions
+    post-extract {
+        fs-traverse item ${worksrcpath} {
+            if {[file isdirectory ${item}]} {
+                file attributes ${item} -permissions a+rx
+            } elseif {[file isfile ${item}]} {
+                file attributes ${item} -permissions a+r
+            }
+        }
+    }
+
+    depends_build-append \
+                        port:py${python.version}-cython
+
+    depends_lib-append  port:py${python.version}-numpy \
+                        port:blosc
+
+    build.args-append   --blosc=${prefix}
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       https://pypi.python.org/pypi/bcolz/json
+    livecheck.regex     {bcolz-(\d+(?:\.\d+)*)\.[tz]}
+}


Property changes on: trunk/dports/python/py-bcolz/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150519/c9400e12/attachment.html>


More information about the macports-changes mailing list