# -*- 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
maintainers dweber openmaintainer
description Extended Python Debugger
pydb is an expanded version of the Python debugger loosely based on the gdb command set. \
To use pydb in a GUI, also install the ddd packages, and run "ddd --pydb"
homepage http://bashdb.sourceforge.net/pydb/
master_sites sourceforge:bashdb
checksums md5 86ab5dcd4f1c81192aeb7e0828371b6c \
sha1 9e6242c051089e53f3da4fcecba469c2d868de55 \
rmd160 afc83ea56149c3b1fba84089386b6974f01b1344
patchfiles patch-Makefile.in.diff
# Set general python version parameters
set python python${pyver}
set pyport [join [lrange [split ${python} .] 0 1] ""]
set pyframe ${prefix}/Library/Frameworks/Python.framework/Versions/${pyver}
depends_lib-append port:${pyport}
# Install binaries and man pages in a different location to avoid conflict
# with other Python versions
configure.pre_args --prefix=${pyframe}
configure.python ${prefix}/bin/${python}
--with-python=${prefix}/bin/${python}
ln -s ${pyframe}/bin/pydb ${destroot}${prefix}/bin/pydb-${pyver}
ln -s ${pyframe}/share/man/man1/pydb.1 ${destroot}${prefix}/share/man/man1/pydb-${pyver}.1