Opened 15 years ago

Closed 15 years ago

#23191 closed defect (fixed)

py26-sqlite unusable on Tiger or non-Mac OS X

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: py26-sqlite

Description

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?

Attachments (1)

Portfile (1.3 KB) - added by francois.work@… 15 years ago.
Portfile modified

Download all attachments as: .zip

Change History (6)

comment:1 in reply to:  description Changed 15 years ago by nerdling (Jeremy Lavergne)

Status: newassigned

Replying to 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?

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

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?

comment:3 in reply to:  2 Changed 15 years ago by nerdling (Jeremy Lavergne)

In response to ryandesign@….

True, however the version of pysqlite in the python26 distro from MacPorts is the same version as that in Snow Leopard

Changed 15 years ago by francois.work@…

Attachment: Portfile added

Portfile modified

comment:4 Changed 15 years ago 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.

comment:5 Changed 15 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

Committed in r63620 and r63621.

Note: See TracTickets for help on using tickets.