You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
8de0b77f68
- remove py34, add py37 subport
63 lines
2.4 KiB
Tcl
63 lines
2.4 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
PortGroup select 1.0
|
|
PortGroup github 1.0
|
|
|
|
github.setup bpython bpython 0.18 "" -release
|
|
name py-${name}
|
|
revision 0
|
|
|
|
platforms darwin
|
|
supported_archs noarch
|
|
maintainers {aronnax @lpsinger} 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 https://www.bpython-interpreter.org
|
|
checksums rmd160 acf93ffbe983cb522fac59eb23861c81bf0acb6e \
|
|
sha256 eae3fd5c722cecfa002edfa27374a96004a1b6efa8015c991da995c0a3595da2 \
|
|
size 204788
|
|
|
|
python.versions 27 35 36 37
|
|
|
|
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}]
|
|
"
|
|
}
|