You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
48 lines
1.7 KiB
Tcl
48 lines
1.7 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-engineio 4.13.0 v
|
|
github.tarball_from archive
|
|
name py-engineio
|
|
revision 0
|
|
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
license MIT
|
|
maintainers {judaew @judaew} openmaintainer
|
|
|
|
description Python Engine.IO server and client
|
|
long_description \
|
|
Python implementation of the Engine.IO realtime client and server.
|
|
|
|
checksums rmd160 68103e54714a38f69efdd1019cd4971ca5002b7c \
|
|
sha256 7375254e85cef1e78559f4ed01f7cfba85a30d0a34d3695f0d96e5e9e73de92d \
|
|
size 320799
|
|
|
|
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}-requests \
|
|
port:py${python.version}-websocket-client
|
|
|
|
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}
|
|
}
|
|
}
|