[MacPorts] #23191: py26-sqlite unusable on Tiger or non-Mac OS X
#23191: py26-sqlite unusable on Tiger or non-Mac OS X -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: py26-sqlite -------------------------------------+-------------------------------------- On Tiger: {{{ $ port info py26-sqlite Error: Unable to open port: can't read "os.my_version": no such variable }}} The code in the port also obviously won't work on FreeBSD, which could either be fixed, or the "platforms darwin freebsd" line could be changed to "platforms darwin" only. Any changes you make for py26-sqlite should also be applied to the python 2.4 and 2.5 versions. Curiously there's py-sqlite but py25-sqlite3. That naming inconsistency should also be resolved. Actually, py25-sqlite3 says it is a stub and that sqlite support is bundled with python 2.5. Why would support be bundled with 2.5 but not with 2.6 or 2.4? -- Ticket URL: <http://trac.macports.org/ticket/23191> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23191: py26-sqlite unusable on Tiger or non-Mac OS X -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: py26-sqlite -------------------------------------+-------------------------------------- Changes (by snc@…): * status: new => assigned Comment: Replying to [ticket:23191 ryandesign@…]:
Curiously there's py-sqlite but py25-sqlite3. That naming inconsistency should also be resolved.
Actually, py25-sqlite3 says it is a stub and that sqlite support is bundled with python 2.5. Why would support be bundled with 2.5 but not with 2.6 or 2.4?
Behold the marvel that is nomaintainer. It seems this is included in python distributions—at least python26 and as the 25 stub indicates for it as well. Unfortunately, the bundled versions are old (2.3.2 with Leopard, 2.4.1 Snow Leopard). Do you think it's worthwhile to document this and stub them all, or simply update/reactivate py*-sqlite? -- Ticket URL: <http://trac.macports.org/ticket/23191#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23191: py26-sqlite unusable on Tiger or non-Mac OS X -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: py26-sqlite -------------------------------------+-------------------------------------- Comment(by ryandesign@…): We don't care what version of sqlite is in the python included with Mac OS X; we care what version of sqlite is in the python25 and python26 ports, right? -- Ticket URL: <http://trac.macports.org/ticket/23191#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23191: py26-sqlite unusable on Tiger or non-Mac OS X -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: py26-sqlite -------------------------------------+-------------------------------------- Comment(by snc@…): In response to [comment:2 ryandesign@…]. True, however the version of pysqlite in the python26 distro from MacPorts is the same version as that in Snow Leopard -- Ticket URL: <http://trac.macports.org/ticket/23191#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23191: py26-sqlite unusable on Tiger or non-Mac OS X -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: py26-sqlite -------------------------------------+-------------------------------------- Comment(by francois.work@…): I have modified the Portfile adding the following lines (easy!) if { ${os.major} == 8} { set os.my_version 10.4 } It is now compiling and installing on my ppc tiger. I let the maintener update the svn. -- Ticket URL: <http://trac.macports.org/ticket/23191#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23191: py26-sqlite unusable on Tiger or non-Mac OS X --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: snc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: py26-sqlite | --------------------------------------+------------------------------------- Changes (by snc@…): * status: assigned => closed * resolution: => fixed Comment: Committed in r63620 and r63621. -- Ticket URL: <http://trac.macports.org/ticket/23191#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts