summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2006-02-06 21:58:31 +0000
committerAlastair Tse <liquidx@gentoo.org>2006-02-06 21:58:31 +0000
commit1f4a3e3f8d47eafc61afee79ff8f586d17935575 (patch)
treea71c6b043dde099f48216c3b60342f43b7bde9e6 /dev-python/mysql-python/files
parentAdded missing variable definition (See bug #121826). (diff)
downloadgentoo-2-1f4a3e3f8d47eafc61afee79ff8f586d17935575.tar.gz
gentoo-2-1f4a3e3f8d47eafc61afee79ff8f586d17935575.tar.bz2
gentoo-2-1f4a3e3f8d47eafc61afee79ff8f586d17935575.zip
revision bump with mysql 5 support patch. bumped dep to version mysql-5 in case someone mistakenly stablises this before mysql-5 is stable. (#117948)
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'dev-python/mysql-python/files')
-rw-r--r--dev-python/mysql-python/files/1.2.0-newdecimal.patch24
-rw-r--r--dev-python/mysql-python/files/digest-mysql-python-0.9.2-r11
-rw-r--r--dev-python/mysql-python/files/digest-mysql-python-1.0.01
-rw-r--r--dev-python/mysql-python/files/digest-mysql-python-1.1.91
-rw-r--r--dev-python/mysql-python/files/digest-mysql-python-1.2.0-r11
5 files changed, 25 insertions, 3 deletions
diff --git a/dev-python/mysql-python/files/1.2.0-newdecimal.patch b/dev-python/mysql-python/files/1.2.0-newdecimal.patch
new file mode 100644
index 000000000000..c24a9debd7e8
--- /dev/null
+++ b/dev-python/mysql-python/files/1.2.0-newdecimal.patch
@@ -0,0 +1,24 @@
+diff -U 2 -r MySQL-python-1.2.0/MySQLdb/constants/FIELD_TYPE.py MySQL-python-1.2.0-fix-5/MySQLdb/constants/FIELD_TYPE.py
+--- MySQL-python-1.2.0/MySQLdb/constants/FIELD_TYPE.py 2005-01-05 03:40:19.000000000 +0000
++++ MySQL-python-1.2.0-fix-5/MySQLdb/constants/FIELD_TYPE.py 2006-01-05 21:53:56.000000000 +0000
+@@ -21,4 +21,5 @@
+ YEAR = 13
+ NEWDATE = 14
++NEWDECIMAL = 246
+ ENUM = 247
+ SET = 248
+diff -U 2 -r MySQL-python-1.2.0/MySQLdb/converters.py MySQL-python-1.2.0-fix-5/MySQLdb/converters.py
+--- MySQL-python-1.2.0/MySQLdb/converters.py 2005-01-21 02:39:22.000000000 +0000
++++ MySQL-python-1.2.0-fix-5/MySQLdb/converters.py 2006-01-05 22:24:02.000000000 +0000
+@@ -129,4 +129,5 @@
+ FIELD_TYPE.DOUBLE: float,
+ FIELD_TYPE.DECIMAL: float,
++ FIELD_TYPE.NEWDECIMAL: float,
+ FIELD_TYPE.LONGLONG: long,
+ FIELD_TYPE.INT24: int,
+@@ -146,4 +147,5 @@
+ from decimal import Decimal
+ conversions[FIELD_TYPE.DECIMAL] = Decimal
++ conversions[FIELD_TYPE.NEWDECIMAL] = Decimal
+ except ImportError:
+ pass
diff --git a/dev-python/mysql-python/files/digest-mysql-python-0.9.2-r1 b/dev-python/mysql-python/files/digest-mysql-python-0.9.2-r1
deleted file mode 100644
index 45970cd3c33b..000000000000
--- a/dev-python/mysql-python/files/digest-mysql-python-0.9.2-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 afef758f56289f98408dd9f379d8fc8d MySQL-python-0.9.2.tar.gz 64258
diff --git a/dev-python/mysql-python/files/digest-mysql-python-1.0.0 b/dev-python/mysql-python/files/digest-mysql-python-1.0.0
deleted file mode 100644
index 627d8ea8f036..000000000000
--- a/dev-python/mysql-python/files/digest-mysql-python-1.0.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 0f9527a3aa4111802f376cc6816cc7cf MySQL-python-1.0.0.tar.gz 53708
diff --git a/dev-python/mysql-python/files/digest-mysql-python-1.1.9 b/dev-python/mysql-python/files/digest-mysql-python-1.1.9
deleted file mode 100644
index 8559e07694e7..000000000000
--- a/dev-python/mysql-python/files/digest-mysql-python-1.1.9
+++ /dev/null
@@ -1 +0,0 @@
-MD5 3512f24f8c6ffd3640ff0f5d1a1a27f3 MySQL-python-1.1.9.tar.gz 250025
diff --git a/dev-python/mysql-python/files/digest-mysql-python-1.2.0-r1 b/dev-python/mysql-python/files/digest-mysql-python-1.2.0-r1
new file mode 100644
index 000000000000..2d170cd29b69
--- /dev/null
+++ b/dev-python/mysql-python/files/digest-mysql-python-1.2.0-r1
@@ -0,0 +1 @@
+MD5 b0eb974cc3c917276e015275e1ec996f MySQL-python-1.2.0.tar.gz 252290