Files
2026-01-21 19:00:08 -06:00

40 lines
1.3 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 python 1.0
name py-blessed
version 1.20.0
revision 0
supported_archs noarch
platforms {darwin any}
license MIT
maintainers nomaintainer
description A thin practical wrapper around terminal styling screen positioning \
and keyboard input.
long_description {*}${description}
homepage https://github.com/jquast/blessed
checksums rmd160 714f301601b0bc3bea74b810f08399f6a18e348c \
sha256 2cdd67f8746e048f00df47a2880f4d6acbcdb399031b604e34ba8f71d5787680 \
size 6655612
python.versions 310 311 312 313 314
if {${name} ne ${subport}} {
depends_lib-append \
port:py${python.version}-six \
port:py${python.version}-wcwidth
post-destroot {
xinstall -d ${destroot}${prefix}/share/doc/${subport}/docs
xinstall -m 0644 -W ${worksrcpath} LICENSE README.rst \
${destroot}${prefix}/share/doc/${subport}
xinstall -m 0644 {*}[glob -types f ${worksrcpath}/docs/*] \
${destroot}${prefix}/share/doc/${subport}/docs
}
}