[129827] trunk/dports/python

hum at macports.org hum at macports.org
Sun Dec 21 00:10:52 PST 2014


Revision: 129827
          https://trac.macports.org/changeset/129827
Author:   hum at macports.org
Date:     2014-12-21 00:10:52 -0800 (Sun, 21 Dec 2014)
Log Message:
-----------
New port: py-leveldb @ 0.193 - Python bindings for leveldb database library

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

Added: trunk/dports/python/py-leveldb/Portfile
===================================================================
--- trunk/dports/python/py-leveldb/Portfile	                        (rev 0)
+++ trunk/dports/python/py-leveldb/Portfile	2014-12-21 08:10:52 UTC (rev 129827)
@@ -0,0 +1,34 @@
+# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           python 1.0
+
+name                py-leveldb
+version             0.193
+categories-append   database
+maintainers         hum openmaintainer
+license             BSD
+platforms           darwin
+
+description         Python bindings for leveldb database library
+long_description    ${description}
+
+homepage            https://code.google.com/p/py-leveldb/
+master_sites        https://pypi.python.org/packages/source/l/leveldb/
+
+distname            leveldb-${version}
+
+python.versions     27 34
+
+if {${name} ne ${subport}} {
+
+    depends_build-append  port:py${python.version}-setuptools
+    depends_lib-append  port:snappy
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       [lindex ${master_sites} 0]
+    livecheck.regex     "leveldb-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141221/5fdd5b45/attachment.html>


More information about the macports-changes mailing list