Files
2024-04-27 15:14:55 -04:00

40 lines
1.4 KiB
Tcl

# -*- 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 any}
license MIT
supported_archs noarch
python.versions 27
maintainers {stromnov @stromnov} openmaintainer
description Socketpool - a simple Python socket pool.
long_description Socket pool is a simple socket pool that supports \
multiple factories and backends. It can easily be \
used by gevent, eventlet or any other library.
homepage https://github.com/benoitc/socketpool
checksums rmd160 44cc1323cbbdb8f86419104c87ba38f0093066e8 \
sha256 a06733434a56c4b60b8fcaa168102d2386253d36425804d55532a6bbbda6e2ec \
size 9793
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
}
}