# -*- 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
maintainers aronnax openmaintainer
description fancy interface to the Python interpreter
long_description a fancy interface to the Python interpreter for \
Unix-like operating systems
homepage http://www.bpython-interpreter.org/
master_sites ${homepage}releases/
distname bpython-${version}
checksums md5 47b2ae18ee39d519752218b938024a85 \
rmd160 432d75b5d16ef9c73878c7258793972ed364e379 \
sha256 ee208a60a54f902a8c827f4a80fda8a6235790d59cc1fc089943df50936accae
python.versions 26 27 33 34
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-parsing \
port:py${python.version}-pygments \
port:py${python.version}-setuptools
# py-babel is only available for Python 2.x
if {${python.branch} < 3} {
port:py${python.version}-babel
depends_build-append port:py${python.version}-sphinx
depends_run-append port:py${python.version}-urwid \
select.file ${filespath}/bpython${python.version}
set pyetc ${destroot}${python.prefix}/etc
set themedir ${destroot}${python.prefix}/share/themes
xinstall -W ${worksrcpath} sample-config ${pyetc}
xinstall -W ${worksrcpath} sample.theme light.theme \
To make the Python ${python.branch} version of bpython the one that is run\
when you execute the commands without a version suffix, e.g. 'bpython', run: