summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Shoemaker <kutsuya@gentoo.org>2003-04-05 20:30:02 +0000
committerJason Shoemaker <kutsuya@gentoo.org>2003-04-05 20:30:02 +0000
commit3e87747752100dff7e8be9ee57d19b5926927e36 (patch)
treed58dfaefc29f59bb5e6c23141224bb2a052726b0 /dev-python/mysql-python-py21
parentfix patchfile (diff)
downloadgentoo-2-3e87747752100dff7e8be9ee57d19b5926927e36.tar.gz
gentoo-2-3e87747752100dff7e8be9ee57d19b5926927e36.tar.bz2
gentoo-2-3e87747752100dff7e8be9ee57d19b5926927e36.zip
~x86 -> x86 and added ~ppc. Some minor code style changes.
Diffstat (limited to 'dev-python/mysql-python-py21')
-rw-r--r--dev-python/mysql-python-py21/ChangeLog18
-rw-r--r--dev-python/mysql-python-py21/files/digest-mysql-python-py21-0.9.2-r11
-rw-r--r--dev-python/mysql-python-py21/mysql-python-py21-0.9.2-r1.ebuild22
3 files changed, 25 insertions, 16 deletions
diff --git a/dev-python/mysql-python-py21/ChangeLog b/dev-python/mysql-python-py21/ChangeLog
index 62236036aa6b..039837ebee9d 100644
--- a/dev-python/mysql-python-py21/ChangeLog
+++ b/dev-python/mysql-python-py21/ChangeLog
@@ -1,12 +1,20 @@
# 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.2 2003/04/05 07:29:31 lordvan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mysql-python-py21/ChangeLog,v 1.3 2003/04/05 20:29:30 kutsuya 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!)
+*mysql-python-py21-0.9.2-r1 (05 Apr 2003)
+
+ 05 Apr 2003; Jason Shoemaker <kutsuya@gentoo.org>
+ mysql-python-py21-0.9.2-r1.ebuild: ~x86 -> x86 and added ~ppc. Some minor
+ code style changes.
+ 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!)
+
+*mysql-python-py21-0.9.2 (06 Mar 2003)
+
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
index 45970cd3c33b..91f035583e36 100644
--- 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
@@ -1 +1,2 @@
+MD5 329da2c88ed1d3f19f89a9d41a626941 /mysql-python-py21-0.9.2-r1.ebuild 941
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
index 1e607670b4db..81c9e48d6817 100644
--- 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
@@ -1,10 +1,9 @@
# 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 $
-
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mysql-python-py21/mysql-python-py21-0.9.2-r1.ebuild,v 1.2 2003/04/05 20:29:30 kutsuya Exp $
PYTHON_SLOT_VERSION="2.1"
-inherit distutils
+inherit distutils
S="${WORKDIR}/MySQL-python-${PV}"
DESCRIPTION="MySQL Module for python"
@@ -16,20 +15,21 @@ DEPEND="virtual/glibc
>=dev-db/mysql-3.22.19
${DEPEND}"
RDEPEND="${DEPEND}${RDEPEND}"
-KEYWORDS="~x86"
+KEYWORDS="x86 ~ppc"
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
+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() {
+src_install()
+{
distutils_src_install
dohtml doc/*
}