# -*- 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 91091 2012-03-23 20:09:38Z snc@macports.org $

PortSystem        1.0
PortGroup         python 1.0

name              py-memcached
version           1.48
python.versions     25 26 27
python.default_version 27
categories        python devel net
platforms         darwin
maintainers       akitada dh snc openmaintainer
license             psf
description       Pure python memcached client
long_description  This software is a 100% Python interface to the memcached \
                  memory cache daemon.  It is the client side software which \
                  allows storing values in one or more, possibly remote, \
                  memcached servers.  Search google for memcached for more \
                  information.

homepage          http://www.tummy.com/Community/software/python-memcached/
master_sites      ftp://ftp.tummy.com/pub/python-memcached/old-releases/

if {${name} != ${subport}} {
    checksums           rmd160  4c7992a79e95f28b5792e9d5f8d8cdcd03dd58ef \
                        sha256  66bbc62d9519f9d531b1f77e687d9f2f5e521cb906f1fd7231f403997e0110c4

    distname          python-memcached-${version}
    depends_build     port:py${python.version}-distribute
    livecheck.type      none
} else {
    livecheck.type    regex
    livecheck.url     ${master_sites}
    livecheck.regex   "python-memcached-(\[0-9\](\\.\[0-9\]+)*)\\.tar\\.gz"
}
