[MacPorts] #12447: NEW: py-db

MacPorts noreply at macports.org
Thu Mar 26 14:48:52 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@…):

 Replying to [comment:15 mcalhoun@…]:
 > Replying to [comment:14 dweber@…]:
 > > All looks good to me.  I have just created (and committed) py26-pydb
 (why would this conflict with py25-pydb?); it works on my system, ie:
 > When did you commit db26-pydb?[[BR]]
 > I do not see it.
 >
 > It would cause conflict because there are binaries, manpages, and emacs
 files installed.[[BR]]
 > Both py25-pydb and py26-pydb will want to install theses same files.
 >
 > -Marcus
 >

 It seems to be committed now.  I've tried to simplify the python version
 specification with a few variables at the top of the Portfile.  It appears
 that python2.6 is providing the correct site-packages path to
 {{{
 ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages
 }}}

 I'm sorry about the binaries, man, and emacs files, if they conflict.
 I've taken a quick look at the py25-pydb package and most of those custom
 tweaks don't seem to work with python2.6.  I'm out of time today, but if
 someone could look into these additional files installed to resolve
 conflicts - please do.  As it is, this is working for me, ie:

 {{{
 [ dweber at elegans ~/ports ]$ sudo port install py26-pydb
 --->  Fetching py26-pydb
 --->  Attempting to fetch pydb-1.25.tar.gz from
 http://internap.dl.sourceforge.net/bashdb
 --->  Verifying checksum(s) for py26-pydb
 --->  Extracting py26-pydb
 --->  Configuring py26-pydb
 --->  Building py26-pydb
 --->  Staging py26-pydb into destroot
 --->  Installing py26-pydb @1.25_0
 --->  Activating py26-pydb @1.25_0
 --->  Cleaning py26-pydb
 [ dweber at elegans ~/ports ]$ which python2.6
 /opt/local/bin/python2.6
 [ dweber at elegans ~/ports ]$ python2.6
 Python 2.6.1 (r261:67515, Jan 30 2009, 11:23:18)
 [GCC 4.0.1 (Apple Inc. build 5490)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import pydb
 >>> pydb.version
 '1.25'
 >>>
 [ dweber at elegans ~/ports ]$ pydb-2.6
 (Pydb)
 [ dweber at elegans ~/ports ]$ which pydb-2.6
 /opt/local/bin/pydb-2.6
 }}}

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


More information about the macports-tickets mailing list