source: trunk/dports/python/py-socketpool/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.6 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-socketpool
8version             0.5.3
9revision            0
10categories-append   devel
11platforms           darwin
12license             MIT
13supported_archs     noarch
14
15python.versions     26 27 33 34
16
17maintainers         stromnov openmaintainer
18
19description         Socketpool - a simple Python socket pool.
20
21long_description    Socket pool is a simple socket pool that suports \
22                    multiple factories and backends. It can easily be \
23                    used by gevent, eventlet or any other library.
24
25homepage            http://github.com/benoitc/socketpool
26master_sites        pypi:s/socketpool/
27
28distname            socketpool-${version}
29
30checksums           rmd160  44cc1323cbbdb8f86419104c87ba38f0093066e8 \
31                    sha256  a06733434a56c4b60b8fcaa168102d2386253d36425804d55532a6bbbda6e2ec
32
33if {${name} ne ${subport}} {
34    depends_build-append \
35                    port:py${python.version}-setuptools
36
37    post-destroot {
38        xinstall -d ${destroot}${python.prefix}/share/doc/
39        move ${destroot}${python.prefix}/socketpool ${destroot}${python.prefix}/share/doc/socketpool
40        file copy ${worksrcpath}/examples/ ${destroot}${python.prefix}/share/doc/socketpool
41    }
42
43    livecheck.type      none
44} else {
45    livecheck.type      regex
46    livecheck.url       https://pypi.python.org/pypi/socketpool/json
47    livecheck.regex     {socketpool-(\d+(?:\.\d+)*)\.[tz]}
48}
Note: See TracBrowser for help on using the repository browser.