# -*- 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-prompt_toolkit version 3.0.52 revision 0 license BSD platforms {darwin any} supported_archs noarch maintainers nomaintainer description Library for building powerful interactive command lines in Python long_description {*}${description} python.versions 39 310 311 312 313 homepage https://github.com/prompt-toolkit/python-prompt-toolkit checksums rmd160 fb9869837c2d398da46fa533edc055080057ada0 \ sha256 28cde192929c8e7321de85de1ddbe736f1375148b02f2e17edd840042b1be855 \ size 434198 if {${name} ne ${subport}} { depends_lib-append \ port:py${python.version}-wcwidth patchfiles patch-importlib-metadata.diff post-patch { reinplace -W ${worksrcpath} "s|@@MP_VERSION@@|${version}|g" \ src/prompt_toolkit/__init__.py } test.run yes post-destroot { set docdir ${prefix}/share/doc/${subport} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} LICENSE AUTHORS.rst \ README.rst CHANGELOG ${destroot}${docdir} copy ${worksrcpath}/examples ${destroot}${docdir}/examples } }