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

Last change on this file was 148976, checked in by raimue@…, 14 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.3 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-sqlalchemy
8set _n              [string index ${_name} 0]
9
10name                py-${_name}
11version             0.3
12
13categories-append   databases devel
14license             MIT
15maintainers         nomaintainer
16
17description         SQLAlchemy plugin for bottle web microframework
18long_description    This bottle-sqlalchemy plugin integrates SQLAlchemy \
19                    with Bottle applications. It injects a SQLAlchemy \
20                    session in routes and handles the session cycle. \
21
22platforms           darwin
23supported_archs     noarch
24
25homepage            https://github.com/iurisilvio/bottle-sqlalchemy
26master_sites        pypi:${_n}/${_name}/
27distname            ${_name}-${version}
28
29checksums           md5 b139d97424efcf917474f142851f0231 \
30                    sha256 197189c4aa92dad32c49fcb6e8a1c365679b1d024129640a4f30eee0b2db6b78
31
32python.versions     26 27
33
34if {${name} ne ${subport}} {
35    depends_lib     port:py${python.version}-bottle
36
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.