# -*- 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-automat python.rootname Automat version 20.2.0 revision 0 categories-append devel platforms {darwin any} supported_archs noarch license MIT maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer description A library for concise, idiomatic Python expression of finite-state automata long_description Automat is a library for concise, idiomatic Python expression of finite-state \ automata (particularly deterministic finite-state transducers). homepage https://github.com/glyph/automat checksums rmd160 389126c3183fdd8ad34333d86490e2ba448ced94 \ sha256 7979803c74610e11ef0c0d68a2942b152df52da55336e0c9d58daf1831cbdf33 \ size 61679 python.versions 27 37 38 39 310 311 if {${name} ne ${subport}} { depends_build-append \ port:py${python.version}-setuptools_scm \ port:py${python.version}-m2r # uses from "pkg_resources import load_entry_point" depends_lib-append \ port:py${python.version}-setuptools depends_run-append \ port:py${python.version}-attrs \ port:py${python.version}-six # see https://pypi.python.org/pypi/Automat/ # see https://trac.macports.org/ticket/54627 # see https://trac.macports.org/ticket/56955 #depends_run-append \ #port:py${python.version}-twisted \ #port:py${python.version}-graphviz if { [catch {set installed [lindex [registry_active py${python.version}-twisted] 0]}] || [catch {set installed [lindex [registry_active py${python.version}-graphviz] 0]}] } { notes " ${subport} requires py${python.version}-twisted and py${python.version}-graphviz to enable the visualize feature. However, py${python.version}-twisted depends on ${subport} to run correctly. Please install py${python.version}-twisted and py${python.version}-graphviz manually for full functionality. " } test.run yes }