diff options
author | Jason Shoemaker <kutsuya@gentoo.org> | 2003-04-05 20:30:02 +0000 |
---|---|---|
committer | Jason Shoemaker <kutsuya@gentoo.org> | 2003-04-05 20:30:02 +0000 |
commit | 3e87747752100dff7e8be9ee57d19b5926927e36 (patch) | |
tree | d58dfaefc29f59bb5e6c23141224bb2a052726b0 /dev-python/mysql-python-py21/mysql-python-py21-0.9.2-r1.ebuild | |
parent | fix patchfile (diff) | |
download | gentoo-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/mysql-python-py21-0.9.2-r1.ebuild')
-rw-r--r-- | dev-python/mysql-python-py21/mysql-python-py21-0.9.2-r1.ebuild | 22 |
1 files changed, 11 insertions, 11 deletions
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/* } |