First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 53381
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Python Gentoo Team <python@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alex V. Koval <alex@halogen-dg.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mysql-python-1.0.0.ebuild mysql-python-1.0.0.ebuild text/plain Alex V. Koval 2004-06-09 00:27 0000 803 bytes Details
digest-mysql-python-1.1.1 digest-mysql-python-1.1.1 text/plain Alex V. Koval 2004-06-09 00:27 0000 69 bytes Details
digest-mysql-python-1.0.0 digest-mysql-python-1.0.0 text/plain Alex V. Koval 2004-06-09 00:27 0000 69 bytes Details
digest-mysql-python-1.1.1 digest-mysql-python-1.1.1 text/plain Alex V. Koval 2004-06-09 00:28 0000 69 bytes Details
mysql-python-1.0.0.ebuild mysql-python-1.0.0.ebuild text/plain Alex V. Koval 2004-06-09 00:41 0000 806 bytes Details
mysql-python-1.1.1.ebuild mysql-python-1.1.1.ebuild text/plain Alex V. Koval 2004-06-09 00:46 0000 806 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 53381 depends on: Show dependency tree
Bug 53381 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: 2004-06-09 00:25 0000
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 From Alex V. Koval 2004-06-09 00:27:00 0000 -------
Created an attachment (id=32951) [details]
mysql-python-1.0.0.ebuild

------- Comment #2 From Alex V. Koval 2004-06-09 00:27:19 0000 -------
Created an attachment (id=32952) [details]
digest-mysql-python-1.1.1

------- Comment #3 From Alex V. Koval 2004-06-09 00:27:40 0000 -------
Created an attachment (id=32953) [details]
digest-mysql-python-1.0.0

------- Comment #4 From Alex V. Koval 2004-06-09 00:28:00 0000 -------
Created an attachment (id=32954) [details]
digest-mysql-python-1.1.1

------- Comment #5 From Alex V. Koval 2004-06-09 00:41:34 0000 -------
Created an attachment (id=32955) [details]
mysql-python-1.0.0.ebuild

Fixed ebuild by putting unstable flag (~) to all archs

------- Comment #6 From Alex V. Koval 2004-06-09 00:43:54 0000 -------
(From update of attachment 32951 [details])
obsolete - it should be unstable

------- Comment #7 From Alex V. Koval 2004-06-09 00:44:27 0000 -------
(From update of attachment 32954 [details])
duplicate

------- Comment #8 From Alex V. Koval 2004-06-09 00:46:21 0000 -------
Created an attachment (id=32958) [details]
mysql-python-1.1.1.ebuild

------- Comment #9 From Bryan Østergaard (RETIRED) 2004-06-12 13:06:16 0000 -------
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 From Andy Dustman 2004-06-14 13:41:59 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug