# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
bitbucket.setup simpy simpy 3.0.5
maintainers mcalhoun openmaintainer
description python based simulation language
SimPy is an object-oriented, process-based \
discrete-event simulation language based on standard Python.
homepage http://simpy.readthedocs.org
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
checksums rmd160 2c9ec3ca81b7893e12181291920a1cd0b75a95b9 \
sha256 32f100aa12a0e76826110489d8b4a61ef4f04452c5a0141775ef2cf1ceb1d249
variant docs description {Install Sphinx-generated docs} {
depends_build-append port:py${python.version}-sphinx
if {[variant_isset docs]} {
system -W ${worksrcpath}/docs "SPHINXBUILD=${prefix}/sphinx-build-3.4 make html man"
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}
xinstall -d ${destroot}${prefix}/share/examples
move ${destroot}${prefix}/share/doc/${subport}/examples \
${destroot}${prefix}/share/examples/${subport}
move ${doc_build_dir}/man \
${destroot}${python.prefix}