# -*- 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 65908 2010-04-02 22:28:17Z jmr@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-routes
version             1.12.1
categories-append   www

maintainers         stromnov openmaintainer

description         A Routing package for Python that matches \
                    URLs to dicts and vice versa.

long_description    Routes is a Python re-implementation of the \
                    Rails routes system for mapping URLs to \
                    Controllers/Actions and generating URLs. \
                    Routes makes it easy to create pretty and \
                    concise URLs that are RESTful with little \
                    effort.

platforms           darwin

homepage            http://routes.groovie.org
master_sites        http://cheeseshop.python.org/packages/source/R/Routes/
distname            Routes-${version}

checksums           md5     c3dabb2a51533494dba49067e62d2656 \
                    sha1    4b81e3c7acac48b143b89346a2c389dd0b795e49 \
                    rmd160  d98e5a49d365156ecee35cba0453a26f9730f68e

depends_build-append \
                    port:py26-distribute

livecheck.type      regex
livecheck.url       ${master_sites}
livecheck.regex     "Routes-(\\d+(?:\\.\\d+)*)${extract.suffix}"
