diff options
author | Ali Polatel <hawking@gentoo.org> | 2007-11-02 18:37:56 +0000 |
---|---|---|
committer | Ali Polatel <hawking@gentoo.org> | 2007-11-02 18:37:56 +0000 |
commit | e848a56fa47911346ea29f46fd73284224eef955 (patch) | |
tree | 37b73455326037215fe84a7b32fcf806c4bcdaf4 /dev-python/axiom/files | |
parent | amd64 stable, bug 192391 (diff) | |
download | gentoo-2-e848a56fa47911346ea29f46fd73284224eef955.tar.gz gentoo-2-e848a56fa47911346ea29f46fd73284224eef955.tar.bz2 gentoo-2-e848a56fa47911346ea29f46fd73284224eef955.zip |
Version bump.
(Portage version: 2.1.3.16)
Diffstat (limited to 'dev-python/axiom/files')
-rw-r--r-- | dev-python/axiom/files/axiom-0.5.20-sqlite3.patch | 45 | ||||
-rw-r--r-- | dev-python/axiom/files/digest-axiom-0.5.20 | 3 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/axiom/files/axiom-0.5.20-sqlite3.patch b/dev-python/axiom/files/axiom-0.5.20-sqlite3.patch new file mode 100644 index 000000000000..8913a1e70d80 --- /dev/null +++ b/dev-python/axiom/files/axiom-0.5.20-sqlite3.patch @@ -0,0 +1,45 @@ +--- axiom/_pysqlite2.py 2006-07-05 18:31:18.000000000 +0300 ++++ axiom/_pysqlite2.py 2007-11-02 05:10:45.000000000 +0200 +@@ -8,7 +8,11 @@ + """ + import time + +-from pysqlite2 import dbapi2 ++# Use python2.5's sqlite3 if avaliable ++try: ++ from sqlite3 import dbapi2 ++except: ++ from pysqlite2 import dbapi2 + + from twisted.python import log + +--- axiom/test/test_pysqlite2.py 2006-07-02 19:23:40.000000000 +0300 ++++ axiom/test/test_pysqlite2.py 2007-11-02 05:39:44.000000000 +0200 +@@ -2,7 +2,11 @@ + Test cases for PySQLite2-specific parts of the backend. + """ + +-from pysqlite2.dbapi2 import OperationalError ++# Use python2.5's sqlite3 if avaliable ++try: ++ from sqlite3.dbapi2 import OperationalError ++except: ++ from pysqlite2.dbapi2 import OperationalError + + from twisted.trial.unittest import TestCase + +--- axiom/test/test_xatop.py 2007-02-23 02:09:19.000000000 +0200 ++++ axiom/test/test_xatop.py 2007-11-02 05:38:48.000000000 +0200 +@@ -9,7 +9,11 @@ + from axiom import attributes, item, store, errors + from axiom.errors import ItemNotFound + +-from pysqlite2.dbapi2 import sqlite_version_info ++# Use python2.5's sqlite3 if avaliable ++try: ++ from sqlite3.dbapi2 import sqlite_version_info ++except: ++ from pysqlite2.dbapi2 import sqlite_version_info + + + class RevertException(Exception): diff --git a/dev-python/axiom/files/digest-axiom-0.5.20 b/dev-python/axiom/files/digest-axiom-0.5.20 new file mode 100644 index 000000000000..eef2908a9556 --- /dev/null +++ b/dev-python/axiom/files/digest-axiom-0.5.20 @@ -0,0 +1,3 @@ +MD5 c91059c65a4fda8955d45892b201dc5e Axiom-0.5.20.tar.gz 153887 +RMD160 b78bbb681b3497e91700dab33fbb612cddbd5b06 Axiom-0.5.20.tar.gz 153887 +SHA256 2655a1917151211c6f8e291a132588ea453d957ceb72a1d08a4844c11601b53c Axiom-0.5.20.tar.gz 153887 |