Added: trunk/dports/python/py-lz4/Portfile (0 => 102517)
--- trunk/dports/python/py-lz4/Portfile (rev 0)
+++ trunk/dports/python/py-lz4/Portfile 2013-02-04 17:14:52 UTC (rev 102517)
@@ -0,0 +1,32 @@
+# -*- 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-lz4
+version 0.5.0
+license BSD
+maintainers sean
+description LZ4 bindings for python
+long_description ${description} By Steeve Morin
+platforms darwin
+supported_archs noarch
+homepage http://pypi.python.org/pypi/lz4
+master_sites http://pypi.python.org/packages/source/l/lz4/
+distname lz4-${version}
+
+checksums rmd160 bad37d7360918083a619b6a2fe7d6edec1de99ad \
+ sha256 b9797254adddc3012408db665e132db9e567cf7d283b2f59f74f781724e03486
+
+python.versions 26 27
+
+if {${subport} != ${name}} {
+ if {${python.version} >= 31} {
+ depends_build-append port:py${python.version}-distribute
+ }
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.regex {lz4/(\d+(?:\.\d+)*)}
+}