# -*- 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 107396 2013-06-27 03:24:13Z jmr@macports.org $

PortSystem          1.0
PortGroup           python 1.0

name                py-shove
version             0.5.6
revision            0
categories-append   devel
license             BSD
platforms           darwin
supported_archs     noarch

maintainers         stromnov openmaintainer

description         Common object storage frontend

long_description    Common object storage frontend that supports dictionary-\
                    style access, object serialization and compression, \
                    and multiple storage and caching backends.

homepage            https://bitbucket.org/lcrees/shove/
master_sites        http://pypi.python.org/packages/source/s/shove/

distname            shove-${version}

checksums           rmd160  7b616f02a13f0b17cfb6594eef9205b6ed9372cb \
                    sha256  f1441dfff8d8706c552c9d8619ee9b0ed645823a074eba37eb320f3d13732db9

python.versions     26 27

if {$subport != $name} {
    depends_lib-append  port:py${python.version}-setuptools
    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       ${master_sites}
    livecheck.regex     "shove-(\\d+(?:\\.\\d+)*)${extract.suffix}"
}
