diff options
author | Thomas Raschbacher <lordvan@gentoo.org> | 2003-04-05 07:29:31 +0000 |
---|---|---|
committer | Thomas Raschbacher <lordvan@gentoo.org> | 2003-04-05 07:29:31 +0000 |
commit | 0baac745bb4bb70b3a8a9bbea1c4e0c2af5f47a0 (patch) | |
tree | e39ad133d356d95e3e0f5b2d4204845b7db04f75 /dev-python/mysql-python-py21 | |
parent | compile with non-threadsafe libmysqlclient if mysql4 is installed (linker err... (diff) | |
download | gentoo-2-0baac745bb4bb70b3a8a9bbea1c4e0c2af5f47a0.tar.gz gentoo-2-0baac745bb4bb70b3a8a9bbea1c4e0c2af5f47a0.tar.bz2 gentoo-2-0baac745bb4bb70b3a8a9bbea1c4e0c2af5f47a0.zip |
fixed for mysql4 (see ChangeLog)
Diffstat (limited to 'dev-python/mysql-python-py21')
3 files changed, 41 insertions, 1 deletions
diff --git a/dev-python/mysql-python-py21/ChangeLog b/dev-python/mysql-python-py21/ChangeLog index 5bbf41e2bdad..62236036aa6b 100644 --- a/dev-python/mysql-python-py21/ChangeLog +++ b/dev-python/mysql-python-py21/ChangeLog @@ -1,8 +1,11 @@ # ChangeLog for dev-python/mysql-python-py21 # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mysql-python-py21/ChangeLog,v 1.1 2003/03/07 03:43:49 kutsuya Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mysql-python-py21/ChangeLog,v 1.2 2003/04/05 07:29:31 lordvan Exp $ *mysql-python-py21-0.9.2 (06 Mar 2003) + 05 Apr 2003; Thomas Raschbacher <lordvan@gentoo.org> mysql-python-py21-0.9.2-r1.ebuild: + compiling with non-threadsafe libmysqlclient if mysql4 is installed + (commiting this non ~arch since otherwise it won't work with mysql4!) 06 Mar 2003; Jason Shoemaker <kutsuya@gentoo.org> : Inital import. Basically a fork that adds this extension to python-2.1*. diff --git a/dev-python/mysql-python-py21/files/digest-mysql-python-py21-0.9.2-r1 b/dev-python/mysql-python-py21/files/digest-mysql-python-py21-0.9.2-r1 new file mode 100644 index 000000000000..45970cd3c33b --- /dev/null +++ b/dev-python/mysql-python-py21/files/digest-mysql-python-py21-0.9.2-r1 @@ -0,0 +1 @@ +MD5 afef758f56289f98408dd9f379d8fc8d MySQL-python-0.9.2.tar.gz 64258 diff --git a/dev-python/mysql-python-py21/mysql-python-py21-0.9.2-r1.ebuild b/dev-python/mysql-python-py21/mysql-python-py21-0.9.2-r1.ebuild new file mode 100644 index 000000000000..1e607670b4db --- /dev/null +++ b/dev-python/mysql-python-py21/mysql-python-py21-0.9.2-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/dev-python/mysql-python-py21/mysql-python-py21-0.9.2-r1.ebuild,v 1.1 2003/04/05 07:29:31 lordvan Exp $ + +PYTHON_SLOT_VERSION="2.1" +inherit distutils + +S="${WORKDIR}/MySQL-python-${PV}" + +DESCRIPTION="MySQL Module for python" +SRC_URI="mirror://sourceforge/mysql-python/MySQL-python-${PV}.tar.gz" +HOMEPAGE="http://sourceforge.net/projects/mysql-python/" +LICENSE="GPL-2" +SLOT="0" +DEPEND="virtual/glibc + >=dev-db/mysql-3.22.19 + ${DEPEND}" +RDEPEND="${DEPEND}${RDEPEND}" +KEYWORDS="~x86" +IUSE="" + +src_compile() { + if has_version '>=dev-db/mysql-4.0.10' >& /dev/null + then + mv setup.py setup.orig + sed -e 's/thread_safe_library = YES/thread_safe_library = NO/' \ + setup.orig > setup.py + fi + distutils_src_compile +} + +src_install() { + distutils_src_install + dohtml doc/* +} + |