source: trunk/dports/python/py-flask-login/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; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl: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
7name                py-flask-login
8set realname        Flask-Login
9version             0.3.2
10python.versions     26 27 33 34
11license             MIT
12platforms           darwin
13supported_archs     noarch
14maintainers         aronnax openmaintainer
15description         User session management for Flask
16long_description    Flask-Login provides user session management for Flask. It \
17    handles the common tasks of logging in, logging out, and remembering your \
18    users' sessions over extended periods of time.
19homepage            https://flask-login.readthedocs.org/
20master_sites        pypi:[string index ${realname} 0]/${realname}/
21distname            ${realname}-${version}
22
23checksums           md5     d95c2275d3e1c755145910077366dc45 \
24                    sha1    cc86220a08fc966c1a978c72a8d945c88902f82d \
25                    rmd160  863929ea113c3147928cf2ea255cd3ec2ef839ce
26
27if {${name} eq ${subport}} {
28    livecheck.type      regex
29    livecheck.url       "http://pypi.python.org/pypi?:action=doap&name=${realname}"
30    livecheck.regex     {<release><Version><revision>([^<]+)</revision></Version></release>}
31} else {
32    depends_build-append \
33                    port:py${python.version}-setuptools
34
35    depends_lib-append \
36                    port:py${python.version}-flask
37
38    livecheck.type  none
39}
Note: See TracBrowser for help on using the repository browser.