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)
Change History (6)
comment:1 Changed 15 years ago by nerdling (Jeremy Lavergne)
Status: | new → assigned |
---|
comment:2 follow-up: 3 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 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
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: | assigned → closed |
Replying to ryandesign@…:
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?