Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 129987
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Python Gentoo Team <python@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Dirkjan Ochtman <djc@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mysql-python-1.2.1.ebuild New ebuild for 1.2.1. patch Dirkjan Ochtman 2006-04-14 15:08 0000 712 bytes Details | Diff
mysql-python-1.2.1_p2.ebuild New ebuild for new MySQLdb. patch Dirkjan Ochtman 2006-05-05 09:34 0000 712 bytes Details | Diff
mysql-python-1.2.1_p2.ebuild New version, incorporated comments from adustman. patch Dirkjan Ochtman 2006-05-11 02:27 0000 647 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 129987 depends on: Show dependency tree
Bug 129987 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-14 14:47 0000
Okay, there's going to be a patch-level release soon (see
http://sourceforge.net/forum/forum.php?forum_id=559852), but it would be
seriously nice to have this -- it has some good improvements (character
encoding).

I will attach a very basic ebuild (based on 1.2.0-r1).

------- Comment #1 From Dirkjan Ochtman 2006-04-14 15:08:50 0000 -------
Created an attachment (id=84669) [details]
New ebuild for 1.2.1.

------- Comment #2 From Jakub Moc (RETIRED) 2006-05-05 09:16:05 0000 -------
*** Bug 132351 has been marked as a duplicate of this bug. ***

------- Comment #3 From Dirkjan Ochtman 2006-05-05 09:33:43 0000 -------
There's been an updated version from upstream, 1.2.1_p2, which fixes some
compatibility problems with MySQL versions < 4.1. I've copied my ebuild, seems
to work (attaching).

------- Comment #4 From Dirkjan Ochtman 2006-05-05 09:34:31 0000 -------
Created an attachment (id=86206) [details]
New ebuild for new MySQLdb.

------- Comment #5 From Andy Dustman 2006-05-10 11:40:43 0000 -------
Using the mysqlclient enviroment variable no longer does anything in 1.2.1 and
newer. If you have to change any build options, just overwrite site.cfg. By
default, it will use the threadsafe (mysqlclient_r) libraries, which should not
be an issue for Gentoo. You should be able to remove the src_compile()
function.

You may want to reexamine src_install() because there are no HTML docs included
anymore; you need to generate them with docutils. Everything in doc is .txt
(actually ReStructured Text). You could DEPEND="... ?doc ( dev-python/docutils
)" and then use doc && rst2html.py to generate the HTML.

Minimum supported MySQL version is 4.0, but there are no known issues with
3.23. Most of the testing was with 5.0 on amd64, with some on 4.1 on x86
(actually Ubuntu), and not very much (none, really, that's why there's the p2
release) on 4.0. 

Gentoo is still my primary development environment for MySQLdb, so the default
settings should work fine. I'm watching this bug but you can mail me off-bug if
you have questions/problems.

------- Comment #6 From Dirkjan Ochtman 2006-05-11 02:26:39 0000 -------
I think having the ReST-docs is just fine, instead of the HTML-version (but
then I never much used the docs myself, I don't usually enable the doc
useflag).

Thanks for the comments, though! I incorporated them in the new version I'm
about to attach.

------- Comment #7 From Dirkjan Ochtman 2006-05-11 02:27:46 0000 -------
Created an attachment (id=86597) [details]
New version, incorporated comments from adustman.

------- Comment #8 From Martin Mokrejš 2006-05-12 15:03:32 0000 -------
I tested the ebuild and it works fine for me. More over, the 1.2.1 version has
fixed utf8 support so just upgrading from 1.2.0-r1 enabled me to pass unicode
data to mysql-python driver which automatically converts that to the utf8
charset, as specified by the mysql column definition. Very nice. The Decimal
patch is incorporated in 1.2.1 release so I don't see a reason why this should
not be injected into portage. Please mark stable on ~x86. Thanks. ;)

------- Comment #9 From Alastair Tse (RETIRED) 2006-07-16 07:27:57 0000 -------
Thanks for the ebuild, it is now in portage and 1.2.0-r1 is now the stable in
x86 as it should be.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug