You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-07-10 12:19:27 -07:00
81d918219f
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@153905 d073be05-634f-4543-b044-5fe20cf6d1d6
69 lines
2.6 KiB
Tcl
69 lines
2.6 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
|
|
PortGroup github 1.0
|
|
|
|
# FIXME: bpython uses a version *suffix* instead of a *prefix*.
|
|
# Add support to github portgroup for version suffix?
|
|
github.setup bpython bpython 0.16-release
|
|
version 0.16
|
|
distname ${name}-${version}
|
|
|
|
name py-${name}
|
|
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/
|
|
checksums rmd160 258763b4cfaaf16e8ae10448d0cb7684138de87a \
|
|
sha256 858f6a1c90279a41891568787b1c4d6ef1fa703f5a250792bc3746dfaec45de0
|
|
|
|
python.versions 27 34
|
|
|
|
if {${name} ne ${subport}} {
|
|
livecheck.type none
|
|
|
|
depends_lib-append 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}-babel \
|
|
port:py${python.version}-sphinx
|
|
|
|
depends_run-append port:py${python.version}-jedi \
|
|
port:py${python.version}-urwid \
|
|
port:py${python.version}-watchdog \
|
|
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.regex archive/(\[^"\]+)-release${extract.suffix}
|
|
livecheck.version ${version}
|
|
}
|