Revision: 81316 http://trac.macports.org/changeset/81316 Author: stromnov@macports.org Date: 2011-07-29 03:14:40 -0700 (Fri, 29 Jul 2011) Log Message: ----------- unify py*-redis Added Paths: ----------- trunk/dports/python/py-redis/ trunk/dports/python/py-redis/Portfile Removed Paths: ------------- trunk/dports/python/py26-redis/ trunk/dports/python/py27-redis/ Added: trunk/dports/python/py-redis/Portfile =================================================================== --- trunk/dports/python/py-redis/Portfile (rev 0) +++ trunk/dports/python/py-redis/Portfile 2011-07-29 10:14:40 UTC (rev 81316) @@ -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: Portfile 77158 2011-03-21 14:24:14Z stromnov@macports.org $ + +PortSystem 1.0 +PortGroup python 1.0 + +name py-redis +version 2.4.9 +revision 1 +categories-append devel +license MIT +platforms darwin +supported_archs noarch + +maintainers stromnov openmaintainer + +description Python client for Redis key-value store +long_description ${description} + +homepage http://github.com/andymccurdy/redis-py +master_sites http://cloud.github.com/downloads/andymccurdy/redis-py/ +distname redis-${version} + +checksums md5 b512ff37d06c6813f04a57f6448a1e55 \ + sha1 378c78b7876047d75406665701542bf8c574a440 \ + rmd160 f709b6b96116d42f3a8638025326f8eeb46feffb + +python.versions 24 25 26 27 + +if {$subport == "py24-redis"} { + depends_lib port:py-setuptools +} elseif {$subport != $name} { + depends_lib port:py${python.version}-distribute +} + +livecheck.type regex +livecheck.url ${homepage}/downloads +livecheck.regex "redis-(\\d+(?:\\.\\d+)*)"
participants (1)
-
stromnov@macports.org