# -*- 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 68662 2010-06-09 16:39:03Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-routes
version             1.12.3
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     9740ff424ff6b841632c784a38fb2be3 \
                    sha1    70b741ee898fe597e570b76cc20c06eeb5db1ec8 \
                    rmd160  58e655e8f7591425d5cd672e4964b2a98173cf46

depends_build-append \
                    port:py26-distribute

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