source: trunk/dports/python/py-bottle/Portfile

Last change on this file was 148976, checked in by raimue@…, 16 months ago

Mass update of python ports for master_sites pypi

The pypi hosting site changed the naming scheme for new uploads. While old URLs
continue to work, this possibly breaks updates as master_sites would need to be
changed. This patch updates all previously hardcoded references to
pypi.python.org to the pypi: mirror sites, which was already updated to check
at both the old and new location. See #51391.

Overriding maintainers as this is a mass update of ports.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 148976 2016-05-24 07:48:05Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7set _name           bottle
8set _n              [string index ${_name} 0]
9
10name                py-${_name}
11version             0.12.9
12
13categories-append   devel
14license             MIT
15maintainers         nomaintainer
16
17description         Fast, simple and lightweight WSGI micro web-framework for python
18long_description    Bottle is a fast, simple and lightweight WSGI micro web-framework \
19                    with no dependencies other than the Python Standard Library. It \
20                    supports routing, templates and has a built-in HTTP development server. \
21                    It supports paste, fapws3, bjoern, Google App Engine, cheerypy or \
22                    any other WSGI capable HTTP server
23
24platforms           darwin
25supported_archs     noarch
26
27homepage            http://bottlepy.org/
28master_sites        pypi:${_n}/${_name}/
29distname            ${_name}-${version}
30
31python.versions     26 27 34 35
32
33checksums           rmd160 eef8c9d10ef39436aad0c776bf0bd23a5dcf15f8 \
34                    sha256 fe0a24b59385596d02df7ae7845fe7d7135eea73799d03348aeb9f3771500051
35
36if {${name} ne ${subport}} {
37    livecheck.type  none
38} else {
39    livecheck.url   https://pypi.python.org/pypi/${_name}/json
40    livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
41}
Note: See TracBrowser for help on using the repository browser.