# -*- 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 # $Id$ PortSystem 1.0 PortGroup python 1.0 PortGroup github 1.0 github.setup chrippa backports.shutil_get_terminal_size 1.0.0 v name py-backports-shutil_get_terminal_size platforms darwin supported_archs noarch license GPL-3+ maintainers nomaintainer description A backport of the get_terminal_size function from Python 3.3's shutil long_description ${description} checksums rmd160 41bd48f4df01ae8dc86fef916359624a6a78de05 \ sha256 9abf6d7e99f520b93a8ea83b7a20a1da528802ac946d7fe10592c833e8c61ff6 python.versions 27 if {${subport} ne ${name}} { depends_build-append port:py${python.version}-nose \ port:py${python.version}-setuptools depends_lib-append port:py${python.version}-backports post-destroot { foreach f {__init__.py __init__.pyc __init__.pyo __pycache__} { set fp "${destroot}${python.pkgd}/backports/$f" if {[file exists ${fp}]} { file delete -force ${fp} } } } livecheck.type none }