Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53381 - new ebuilds: for mysql-python-1.0.0.ebuild, mysql-python-1.1.1.ebuild
Summary: new ebuilds: for mysql-python-1.0.0.ebuild, mysql-python-1.1.1.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-09 00:25 UTC by Alex V. Koval
Modified: 2004-06-14 13:41 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mysql-python-1.0.0.ebuild (mysql-python-1.0.0.ebuild,803 bytes, text/plain)
2004-06-09 00:27 UTC, Alex V. Koval
Details
digest-mysql-python-1.1.1 (digest-mysql-python-1.1.1,69 bytes, text/plain)
2004-06-09 00:27 UTC, Alex V. Koval
Details
digest-mysql-python-1.0.0 (digest-mysql-python-1.0.0,69 bytes, text/plain)
2004-06-09 00:27 UTC, Alex V. Koval
Details
digest-mysql-python-1.1.1 (digest-mysql-python-1.1.1,69 bytes, text/plain)
2004-06-09 00:28 UTC, Alex V. Koval
Details
mysql-python-1.0.0.ebuild (mysql-python-1.0.0.ebuild,806 bytes, text/plain)
2004-06-09 00:41 UTC, Alex V. Koval
Details
mysql-python-1.1.1.ebuild (mysql-python-1.1.1.ebuild,806 bytes, text/plain)
2004-06-09 00:46 UTC, Alex V. Koval
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex V. Koval 2004-06-09 00:25:05 UTC
Hi,

In fact, those ebuilds were done by copiyng old 0.9.2-r1 to the new filename. I made several tests, indicating that ebuilds are working fine. 

Download is going from sourceforge in my test attemps, I think somebody will need to place mysql-python tar's to the gentoo mirrors.

I will attach 2 ebuild files and 2 digests.

Thanks.

Alex
Comment 1 Alex V. Koval 2004-06-09 00:27:00 UTC
Created attachment 32951 [details]
mysql-python-1.0.0.ebuild
Comment 2 Alex V. Koval 2004-06-09 00:27:19 UTC
Created attachment 32952 [details]
digest-mysql-python-1.1.1
Comment 3 Alex V. Koval 2004-06-09 00:27:40 UTC
Created attachment 32953 [details]
digest-mysql-python-1.0.0
Comment 4 Alex V. Koval 2004-06-09 00:28:00 UTC
Created attachment 32954 [details]
digest-mysql-python-1.1.1
Comment 5 Alex V. Koval 2004-06-09 00:41:34 UTC
Created attachment 32955 [details]
mysql-python-1.0.0.ebuild

Fixed ebuild by putting unstable flag (~) to all archs
Comment 6 Alex V. Koval 2004-06-09 00:43:54 UTC
Comment on attachment 32951 [details]
mysql-python-1.0.0.ebuild

obsolete - it should be unstable
Comment 7 Alex V. Koval 2004-06-09 00:44:27 UTC
Comment on attachment 32954 [details]
digest-mysql-python-1.1.1

duplicate
Comment 8 Alex V. Koval 2004-06-09 00:46:21 UTC
Created attachment 32958 [details]
mysql-python-1.1.1.ebuild
Comment 9 Bryan Østergaard (RETIRED) gentoo-dev 2004-06-12 13:06:16 UTC
Thanks, I added mysql-python-1.0.0 to portage. Btw, next time is good enough just saying that copying the existing ebuild worked.
Comment 10 Andy Dustman 2004-06-14 13:41:59 UTC
Not a big issue, but note that the setup.py has changed in 1.0.0 and newer. Instead of this:

src_compile() {
        if has_version '>=dev-db/mysql-4.0.10' >& /dev/null ; then
                sed -i 's/thread_safe_library = YES/thread_safe_library = NO/' setup.py
        fi
        distutils_src_compile
}

you should do this:

src_compile() {
        if has_version '>=dev-db/mysql-4.0.10' >& /dev/null ; then
                export mysqlclient="mysqlclient"
        else
                export mysqlclient="mysqlclient_r"
        fi
        export mysqlversion="$(mysql_config --version)"
        distutils_src_compile
}

None of that thread_safe_library stuff is there anymore. It still works, though, by virtue of defaulting to using -lmysqlclient. (Please test this; I wrote the above on the fly.)

Additionally, I'd like to see see 1.1.2 in the Portage tree (masked for testing, of course) once I release it. 1.1.2 will probably be the last release before 1.2. I hope to release 1.2 in early July. 1.1/1.2 drops  support for ancient versions of Python (needs at least 2.3), so it should be faster and less kludgy/crufty.