Files
macports-ports/python/py-bpython/Portfile
T
Leo Singer 4db063cbfc py-bpython: update to 0.14.2
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@143059 d073be05-634f-4543-b044-5fe20cf6d1d6
2015-12-02 19:51:39 +00:00

65 lines
2.5 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
# $Id$
PortSystem 1.0
PortGroup python 1.0
PortGroup select 1.0
name py-bpython
version 0.14.2
platforms darwin
supported_archs noarch
maintainers aronnax openmaintainer
license MIT
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 ce27e0b6092058e0233958c86a7df500 \
rmd160 d860328774180e2dd475fa7a3d8b9c0195695efb \
sha256 d1f03c9b64a67219ef41aec258c95f192ade5fd187d48fe61b15c1f1d707e302
python.versions 27 34
if {${name} ne ${subport}} {
livecheck.type none
depends_lib-append port:py${python.version}-babel \
port:py${python.version}-curtsies \
port:py${python.version}-greenlet \
port:py${python.version}-parsing \
port:py${python.version}-pygments \
port:py${python.version}-requests \
port:py${python.version}-setuptools \
port:py${python.version}-six
depends_build-append port:py${python.version}-sphinx
depends_run-append port:py${python.version}-urwid \
port:bpython_select
select.group bpython
select.file ${filespath}/bpython${python.version}
post-destroot {
set themedir ${destroot}${python.prefix}/share/themes
xinstall -d ${themedir}
xinstall -W ${worksrcpath} sample.theme light.theme \
${themedir}
}
notes "
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:
port select --set ${select.group} [file tail ${select.file}]
"
} else {
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
livecheck.regex bpython-(\\d+(\\.\\d+)*)[quotemeta ${extract.suffix}]
}