# -*- 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 lanpa tensorboardX 2.5.1 v revision 2 name py-${github.project} categories-append devel license MIT maintainers nomaintainer platforms {darwin any} supported_archs noarch description tensorboard for pytorch (and chainer, mxnet, numpy, ...) long_description {*}${description}. Write TensorBoard events with \ simple function call. Support scalar, image, \ figure, histogram, audio, text, graph, onnx_graph, \ embedding, pr_curve, mesh, hyper-parameters and \ video summaries. checksums rmd160 fb7b93315dd41f5f5ccde3b0c378c31900b5fa8b \ sha256 90e87f1e6faa46b77acfd44bd1b57b100b546a9ab0fe689ee0076570998c60ef \ size 4824273 # diff -NaurdwB ./py-tensorboardX-orig/ ./py-tensorboardX-new/ | sed -E -e 's/\.\/py-tensorboardX-(orig|new)\//\.\//' | sed -E -e 's|/opt/local|@@PREFIX@@|g' > ~/Downloads/patch-compile_sh.diff patchfiles-append patch-compile_sh.diff python.versions 39 310 if {${name} ne ${subport}} { depends_build-append \ port:protobuf3-cpp depends_run-append \ port:py${python.version}-numpy \ port:py${python.version}-protobuf3 \ port:py${python.version}-six depends_test-append \ port:py${python.version}-crc32c \ port:py${python.version}-matplotlib post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} README.md LICENSE \ ${destroot}${docdir} } test.run yes }