Permalink
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (35 sloc) 1.6 KB
# -*- 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
PortSystem 1.0
PortGroup python 1.0
name py-socketpool
version 0.5.3
revision 0
categories-append devel
platforms darwin
license MIT
supported_archs noarch
python.versions 27 34 35 36
maintainers {stromnov @stromnov} openmaintainer
description Socketpool - a simple Python socket pool.
long_description Socket pool is a simple socket pool that suports \
multiple factories and backends. It can easily be \
used by gevent, eventlet or any other library.
homepage https://github.com/benoitc/socketpool
master_sites pypi:s/socketpool/
distname socketpool-${version}
checksums rmd160 44cc1323cbbdb8f86419104c87ba38f0093066e8 \
sha256 a06733434a56c4b60b8fcaa168102d2386253d36425804d55532a6bbbda6e2ec
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
post-destroot {
xinstall -d ${destroot}${python.prefix}/share/doc/
move ${destroot}${python.prefix}/socketpool ${destroot}${python.prefix}/share/doc/socketpool
file copy ${worksrcpath}/examples/ ${destroot}${python.prefix}/share/doc/socketpool
}
livecheck.type none
} else {
livecheck.type regex
livecheck.url https://pypi.python.org/pypi/socketpool/json
livecheck.regex {socketpool-(\d+(?:\.\d+)*)\.[tz]}
}