py-bpython: add missing build dependencies; make bpython_select work

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@104990 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Leo Singer
2013-04-06 20:27:25 +00:00
parent a4c131be0f
commit 3047b65476
+13
View File
@@ -7,6 +7,7 @@ PortGroup select 1.0
name py-bpython
version 0.12
revision 1
platforms darwin
supported_archs noarch
maintainers aronnax openmaintainer
@@ -30,6 +31,11 @@ if {$name != $subport} {
port:py${python.version}-pygments \
port:py${python.version}-distribute
depends_build-append port:py${python.version}-babel \
port:py${python.version}-sphinx
depends_run-append port:bpython_select
select.group bpython
select.file ${filespath}/bpython${python.version}
@@ -56,6 +62,13 @@ if {$name != $subport} {
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]