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

Last change on this file was 148976, checked in by raimue@…, 18 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.1 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-medusa
8set real_name       medusa
9version             0.5.4
10revision            1
11license             MIT
12maintainers         nomaintainer
13description         Framework for asynchronous socket-based servers.
14long_description    Medusa is a framework for writing asynchronous socket-based servers.
15
16platforms           darwin
17supported_archs     noarch
18
19homepage            https://pypi.python.org/pypi/medusa
20master_sites        pypi:m/${real_name}
21distname            ${real_name}-${version}
22
23checksums           rmd160  84da6140aaf3e677e86014a4e87c83ada39776ec \
24                    sha256  ab7fc4c9afd28b3aaf575aca5bb07005d228a0cad5b1787a521ffca63cfe4317
25
26python.versions     27 34
27
28if {${name} ne ${subport}} {
29    depends_build-append    port:py${python.version}-setuptools
30    livecheck.type  none
31} else {
32    livecheck.type  regex
33    livecheck.url   [lindex ${master_sites} 0]
34    livecheck.regex ${real_name}-(\[0-9.\]+)${extract.suffix}
35}
Note: See TracBrowser for help on using the repository browser.