# -*- 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$ PortSystem 1.0 PortGroup python 1.0 name py-routes version 2.0 revision 0 categories-append www devel platforms darwin license BSD supported_archs noarch python.versions 24 25 26 27 33 maintainers akitada 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. homepage http://routes.groovie.org master_sites http://cheeseshop.python.org/packages/source/R/Routes/ distname Routes-${version} checksums rmd160 637d275ae2eeb2fe60207a44b2c3fbd1c7e53782 \ sha256 6e4eb6437a9def22e1344ee8f766d7795bedfe6f615d3ea138e4035d6fbd33f8 if {${name} ne ${subport} && [lsearch {24 25 26} ${python.version}] != -1} { version 1.13 revision 0 checksums rmd160 b89721619da197da9f55a4e4bcb58292a830b209 \ sha256 cc03d1a357cdb7af82e3909ee8ff93cb2b2afb48aca23bfde0117d6f49f624a7 distname Routes-${version} } if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools livecheck.type none } else { livecheck.type regex livecheck.url ${master_sites} livecheck.regex {Routes-(\d+(?:\.\d+)*)\.[tz]} }