source: trunk/dports/python/py-eventlet/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-eventlet
8version             0.15.2
9categories-append   devel
10license             MIT BSD Apache-2
11platforms           darwin
12supported_archs     noarch
13maintainers         nomaintainer
14
15description         Coroutine-based networking library
16long_description    Eventlet is a networking library written in \
17                    Python. It achieves high scalability by using \
18                    non-blocking io while at the same time \
19                    retaining high programmer usability by using \
20                    coroutines to make the non-blocking io \
21                    operations appear blocking at the source code \
22                    level.
23
24homepage            http://eventlet.net/
25master_sites        pypi:e/eventlet/
26distname            eventlet-${version}
27
28checksums           rmd160  ccede58cb51dac0dc6c5bfd4b8dea3a18340e2c5 \
29                    sha256  eaec368ce7b819f8615dcb51f63dcb5c910538cdedc99e4bba4c90ed0bf70fdc
30
31python.versions     26 27
32
33if {${name} ne ${subport}} {
34    depends_build       port:py${python.version}-setuptools
35    depends_lib         port:py${python.version}-greenlet
36
37    livecheck.type      none
38} else {
39    livecheck.type      regex
40    livecheck.url       ${master_sites}
41    livecheck.regex     "eventlet-(\\d+(?:\\.\\d+)*)"
42}
Note: See TracBrowser for help on using the repository browser.