[MacPorts] #12447: NEW: py-db

MacPorts noreply at macports.org
Thu Mar 26 15:02:00 PDT 2009


#12447: NEW: py-db
-----------------------------------+----------------------------------------
  Reporter:  software@…            |       Owner:  snc@…           
      Type:  enhancement           |      Status:  reopened        
  Priority:  Normal                |   Milestone:  Port Submissions
 Component:  ports                 |     Version:  1.7.0           
Resolution:                        |    Keywords:                  
      Port:  py-db                 |  
-----------------------------------+----------------------------------------

Comment(by dweber@…):

 This is crazy.  After I make a change to py26-pydb in my svn checkout, the
 system is changing files in the py25-pydb port - what is going on with my
 subversion process here (see terminal session below)?  Note, there are no
 symlinks (and I don't see any hard links) between py25-pydb and py26-pydb
 on my file system (how can I check for hard links?).  You may have to
 reinstate or rollback py25-pydb????

 {{{

 [ dweber at elegans ~/macports-trunk/dports/python/py26-pydb ]$
 [ dweber at elegans ~/macports-trunk/dports/python/py26-pydb ]$ vim Portfile
 [ dweber at elegans ~/macports-trunk/dports/python/py26-pydb ]$
 [ dweber at elegans ~/macports-trunk/dports/python/py26-pydb ]$ svn commit -m
 "changed ${prefix}/bin/pydb-2.6 to ${prefix}/bin/${name} to avoid
 conflicts with other python versions" Portfile
 Sending        Portfile
 Transmitting file data .
 Committed revision 48659.
 [ dweber at elegans ~/macports-trunk/dports/python/py26-pydb ]$
 [ dweber at elegans ~/macports-trunk/dports/python/py26-pydb ]$ cd ..
 [ dweber at elegans ~/macports-trunk/dports/python ]$ svn update
 U    py25-pydb/Portfile
 Updated to revision 48659.
 [ dweber at elegans ~/macports-trunk/dports/python ]$ more py25-pydb/Portfile
 # -*- 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 48659 2009-03-26 21:55:55Z dweber at macports.org $

 PortSystem       1.0

 # Set general python version parameters
 set pyver        2.6
 set python       python${pyver}
 set pyport       [join [lrange [split ${python} .] 0 1] ""]
 set pyframe      ${frameworks_dir}/Python.framework/Version/${pyver}
 set pysite
 ${prefix}/Library/Frameworks/Python.framework/Versions/${pyver}/lib/${python
 }/site-packages

 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

 depends_lib-append port:${pyport}

 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}
 }

 [ dweber at elegans ~/macports-trunk/dports/python ]$

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/12447#comment:17>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list