# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
set _n [string index ${_name} 0]
maintainers {yan12125 @yan12125} openmaintainer
description Fast, simple and lightweight WSGI micro web-framework for python
long_description Bottle is a fast, simple and lightweight WSGI micro web-framework \
with no dependencies other than the Python Standard Library. It \
supports routing, templates and has a built-in HTTP development server. \
It supports paste, fapws3, bjoern, Google App Engine, cheerypy or \
any other WSGI capable HTTP server
homepage http://bottlepy.org/
master_sites pypi:${_n}/${_name}/
distname ${_name}-${version}
python.versions 27 34 35 36 37
checksums rmd160 9acefd4abaaaeed1ca3cb90ec3e4d2d1df68e40b \
sha256 39b751aee0b167be8dffb63ca81b735bbf1dd0905b3bc42761efedee8f123355 \
# https://github.com/bottlepy/bottle/pull/795
patchfiles-append patch-fix-tests.diff
if {${name} ne ${subport}} {
port:py${python.version}-setuptools
test.cmd python${python.branch}
test.target test/testall.py
livecheck.url https://pypi.python.org/pypi/${_name}/json
livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""