[107563] trunk/dports/python
Joshua Root
jmr at macports.org
Thu Jul 4 04:12:05 PDT 2013
> Revision: 107563
> https://trac.macports.org/changeset/107563
> Author: sean at macports.org
> Date: 2013-07-02 17:39:58 -0700 (Tue, 02 Jul 2013)
> Log Message:
> -----------
> py-ipdb: add new port for debugging with ipython
> Added: trunk/dports/python/py-ipdb/Portfile
> ===================================================================
> --- trunk/dports/python/py-ipdb/Portfile (rev 0)
> +++ trunk/dports/python/py-ipdb/Portfile 2013-07-03 00:39:58 UTC (rev 107563)
> @@ -0,0 +1,64 @@
> +# -*- 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
> +
> +set realname ipdb
> +
> +name py-${realname}
> +version 0.7
> +license BSD
All the source files say GPL-2+ AFAICT.
> +platforms darwin
> +supported_archs noarch
> +
> +maintainers akitada openmaintainer
Did akitada really volunteer to maintain this?
> +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}
> +master_sites http://pypi.python.org/packages/source/i/${realname}
> +distname ${realname}-${version}
> +
> +checksums rmd160 4b8a28ba1b1ec05d1d1fb893315f9058a74d6261 \
> + sha256 aedcc8190067f7abc404b95845ca5c8b1f5bde68c11be08939ddde0e4552a4cf
> +
> +python.versions 24 25 26 27 31 32 33
> +
> +subport py24-${realname} {
> + version 0.6
> + distname ${realname}-${version}
> + checksums rmd160 4c38aa7bb6bf35cf4ec2c9cd1703b42bc7bda261 \
> + sha256 c3bca2e10e89254ee5f728a707226383a7b5deecdc406c5792a183d66eef6337
> +}
> +
> +if {$subport != $name} {
> + 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}
> +
> + 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}]
> +"
> +}
> +
> +if {$subport == "py24-${realname}"} {
> + livecheck.type none
> +} else {
> + livecheck.type regex
> + livecheck.url http://pypi.python.org/packages/source/i/ipdb/
> + livecheck.regex ${realname}-(\\d+(?:\\.\\d+)*)
> +}
This disables livecheck for py24-ipdb but leaves it enabled for
py25-ipdb through py33-ipdb, which is not usually what we want.
- Josh
More information about the macports-dev
mailing list