You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
51 lines
1.8 KiB
Tcl
51 lines
1.8 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 github 1.0
|
|
PortGroup python 1.0
|
|
|
|
github.setup miguelgrinberg python-socketio 5.16.0 v
|
|
github.tarball_from archive
|
|
name py-socketio
|
|
revision 0
|
|
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
license MIT
|
|
maintainers {judaew @judaew} openmaintainer
|
|
|
|
description Python Socket.IO server and client
|
|
long_description \
|
|
Python implementation of the Socket.IO realtime client and server.
|
|
|
|
checksums rmd160 386eb0573947aff0fe1adbf4644be40bdbb877c8 \
|
|
sha256 361b3d763ecf5a253e4e041e992dba4b605f9364512e7dab11326ccf2b65b18d \
|
|
size 203499
|
|
|
|
python.versions 310 311 312 313
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-sphinx
|
|
|
|
depends_run-append \
|
|
port:py${python.version}-aiohttp \
|
|
port:py${python.version}-bidict \
|
|
port:py${python.version}-engineio \
|
|
port:py${python.version}-requests \
|
|
port:py${python.version}-websocket-client \
|
|
port:py${python.version}-websockets
|
|
|
|
post-build {
|
|
system -W ${worksrcpath}/docs "make PYTHONPATH=${worksrcpath}/build/lib SPHINXBUILD=${prefix}/bin/sphinx-build-${python.branch} html man"
|
|
}
|
|
|
|
post-destroot {
|
|
set doc_build_dir ${worksrcpath}/docs/_build
|
|
file delete -force ${doc_build_dir}/html/.buildinfo \
|
|
${doc_build_dir}/html/_sources
|
|
copy ${doc_build_dir}/html ${destroot}${prefix}/share/doc/${subport}
|
|
copy ${doc_build_dir}/man ${destroot}${python.prefix}
|
|
}
|
|
}
|