# -*- 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: Portfile 127295 2014-10-25 02:13:05Z larryv@macports.org $ PortSystem 1.0 PortGroup github 1.0 PortGroup python 1.0 PortGroup select 1.0 github.setup gotcha ipdb 0.8 set realname ${name} name py-${name} license GPL-2+ platforms darwin supported_archs noarch maintainers nomaintainer description An enhanced Interactive Python shell long_description Provide an interactive shell superior to Python's default. \ Serve as an embeddable, ready to use interpreter for your own programs. \ Offer a flexible framework which can be used as the base environment for \ other systems with Python as the underlying language. \ Allow interactive testing of threaded graphical toolkits. homepage http://pypi.python.org/pypi/${realname} python.versions 27 34 checksums rmd160 da5c97543e0e5ea667a820b9687c48174971e8d0 \ sha256 5dcd14da3d0e99a864e35e9649cd9a1c8ec1de5c47b29b535484d43bbb182904 if {${name} ne ${subport}} { depends_lib-append port:py${python.version}-ipython \ port:py${python.version}-setuptools depends_run port:ipdb_select test.run no select.group ${realname} select.file ${filespath}/${realname}${python.version} post-extract { reinplace -W $worksrcpath "s,\.frontend,," ipdb/__main__.py } notes " To make the Python ${python.branch} version of ipdb the one that is run\ when you execute the commands without a version suffix, e.g. 'ipdb', run: port select --set ${select.group} [file tail ${select.file}] " livecheck.type none }