[48660] trunk/dports/python

dweber at macports.org dweber at macports.org
Thu Mar 26 15:17:12 PDT 2009


Revision: 48660
          http://trac.macports.org/changeset/48660
Author:   dweber at macports.org
Date:     2009-03-26 15:17:11 -0700 (Thu, 26 Mar 2009)
Log Message:
-----------
new port for pydb in python2.6

Added Paths:
-----------
    trunk/dports/python/py26-pydb/
    trunk/dports/python/py26-pydb/Portfile

Added: trunk/dports/python/py26-pydb/Portfile
===================================================================
--- trunk/dports/python/py26-pydb/Portfile	                        (rev 0)
+++ trunk/dports/python/py26-pydb/Portfile	2009-03-26 22:17:11 UTC (rev 48660)
@@ -0,0 +1,47 @@
+# -*- 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
+
+name             py26-pydb
+version          1.25
+categories       python
+maintainers      software at macfreek.nl dweber openmaintainer
+description      Extended Python Debugger
+long_description \
+    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/
+platforms        darwin
+
+master_sites     sourceforge:bashdb
+
+distname         pydb-${version}
+
+checksums        md5  86ab5dcd4f1c81192aeb7e0828371b6c \
+                 sha1 9e6242c051089e53f3da4fcecba469c2d868de55 \
+                 rmd160 afc83ea56149c3b1fba84089386b6974f01b1344
+
+# Set general python version parameters
+set pyver        2.6
+set python       python${pyver}
+set pyport       [join [lrange [split ${python} .] 0 1] ""]
+set pyframe      ${prefix}/Library/Frameworks/Python.framework/Versions/${pyver}
+set pysite       ${pyframe}/lib/${python}/site-packages
+
+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}
+
+configure.args-append \
+    --with-python=${prefix}/bin/${python}
+
+post-destroot {
+    system "rm -f /opt/local/bin/pydb-${pyver}"
+    ln -s ${pysite}/pydb/pydb.py /opt/local/bin/${name}
+}
+


Property changes on: trunk/dports/python/py26-pydb/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090326/3c291235/attachment.html>


More information about the macports-changes mailing list