Revision
81306
Author
stromnov@macports.org
Date
2011-07-29 00:20:37 -0700 (Fri, 29 Jul 2011)

Log Message

unify py*-blist

Added Paths

Removed Paths

Diff

Added: trunk/dports/python/py-blist/Portfile (0 => 81306)


--- trunk/dports/python/py-blist/Portfile	                        (rev 0)
+++ trunk/dports/python/py-blist/Portfile	2011-07-29 07:20:37 UTC (rev 81306)
@@ -0,0 +1,47 @@
+# -*- 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: Portfile 77158 2011-03-21 14:24:14Z stromnov@macports.org $
+
+PortSystem          1.0
+PortGroup           python 1.0
+
+name                py-blist
+version             1.3.4
+revision            0
+categories-append   devel
+license             BSD
+platforms           darwin
+
+maintainers         stromnov openmaintainer
+
+description         A list-like type with better asymptotic performance.
+long_description    A list-like type with better asymptotic performance \
+                    and similar performance on small lists.
+
+homepage            http://stutzbachenterprises.com/
+master_sites        http://pypi.python.org/packages/source/b/blist/
+distname            blist-${version}
+
+checksums           md5     02e8bf33cffec9cc802f4567f39ffa6f \
+                    sha1    a8a7401c6c3f12f27a79757b4d5f7ebc996aeb76 \
+                    rmd160  1409f817660b9c9b9bf814c8b629118b47542b0d
+
+python.versions     24 25 26 27
+
+if {$subport == "py24-blist"} {
+    depends_lib     port:py-setuptools
+} elseif {$subport != $name} {
+    depends_lib     port:py${python.version}-distribute
+}
+
+post-patch {
+    file delete -force ${worksrcpath}/blist.egg-info
+}
+
+post-destroot {
+    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 644 -W ${worksrcpath} README.rst LICENSE ${destroot}${prefix}/share/doc/${name}
+}
+
+livecheck.type      regex
+livecheck.url       ${master_sites}
+livecheck.regex     "blist-(\\d+(?:\\.\\d+)*)${extract.suffix}"

Added: trunk/dports/python/py-blist/work (0 => 81306)


--- trunk/dports/python/py-blist/work	                        (rev 0)
+++ trunk/dports/python/py-blist/work	2011-07-29 07:20:37 UTC (rev 81306)
@@ -0,0 +1 @@
+link /opt/local/var/macports/build/_Users_stromnov_Projects_macports.svn_dports_python_py-blist/py27-blist/work
\ No newline at end of file
Property changes on: trunk/dports/python/py-blist/work
___________________________________________________________________

Added: svn:special