Added: trunk/dports/python/py-natsort/Portfile (0 => 133250)
--- trunk/dports/python/py-natsort/Portfile (rev 0)
+++ trunk/dports/python/py-natsort/Portfile 2015-02-24 01:26:09 UTC (rev 133250)
@@ -0,0 +1,38 @@
+# -*- 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-natsort
+set realName natsort
+version 3.5.2
+platforms darwin
+license MIT
+maintainers phas.ubc.ca:jfcaron openmaintainer
+
+description Natural sorting for Python
+long_description When you try to sort a list of strings that \
+ contain numbers, the normal Python sort algorithm \
+ sorts lexicographically, so you might not get the \
+ results that you expect. `natsort` provides \
+ a function `natsorted` that helps sort lists \
+ 'naturally', either as real numbers (i.e. \
+ signed/unsigned floats or ints), or as versions.
+homepage https://github.com/SethMMorton/$realName
+
+master_sites https://pypi.python.org/packages/source/n/$realName
+distname $realName-${version}
+checksums rmd160 7c6a716355f503779bcd43120d6ac7f8f9acbf49 \
+ sha256 f8129379aeb5a99ec6fbbb57acbcabeb0b0996db6a8bea3f9feb6766650ce642
+
+python.versions 27 34
+
+if {${subport} ne ${name}} {
+ depends_build port:py${python.version}-setuptools
+ livecheck.type none
+} else {
+ livecheck.type regex
+ livecheck.url https://pypi.python.org/pypi/$realName
+ livecheck.regex $realName-(\\d+(?:\\.\\d+)*)${extract.suffix}
+}
Property changes on: trunk/dports/python/py-natsort/Portfile
___________________________________________________________________