summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-03-25 22:00:05 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-03-25 22:00:05 +0000
commit40ea5b0bdc56940475cf23404e021f365e8e6450 (patch)
tree62a0e306a429a78f0a623f13ff21cc9b93ffa430 /dev-python/pyodbc
parentFix dependencies. Update HOMEPAGE. Avoid breaking strict-aliasing rules. (diff)
downloadgentoo-2-40ea5b0bdc56940475cf23404e021f365e8e6450.tar.gz
gentoo-2-40ea5b0bdc56940475cf23404e021f365e8e6450.tar.bz2
gentoo-2-40ea5b0bdc56940475cf23404e021f365e8e6450.zip
Fix setuptools import.
(Portage version: 2.2.0_alpha28_p21/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyodbc')
-rw-r--r--dev-python/pyodbc/pyodbc-2.1.8.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-python/pyodbc/pyodbc-2.1.8.ebuild b/dev-python/pyodbc/pyodbc-2.1.8.ebuild
index 6f7332cf11a3..7fd321ad12ae 100644
--- a/dev-python/pyodbc/pyodbc-2.1.8.ebuild
+++ b/dev-python/pyodbc/pyodbc-2.1.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyodbc/pyodbc-2.1.8.ebuild,v 1.2 2011/03/25 21:46:00 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyodbc/pyodbc-2.1.8.ebuild,v 1.3 2011/03/25 22:00:05 arfrever Exp $
EAPI="3"
PYTHON_DEPEND="2"
@@ -25,3 +25,10 @@ DEPEND="${RDEPEND}
dev-python/setuptools"
PYTHON_CXXFLAGS=("2.* + -fno-strict-aliasing")
+
+src_prepare() {
+ distutils_src_prepare
+
+ # http://code.google.com/p/pyodbc/issues/detail?id=167
+ sed -e "s/setuptools.core/setuptools/" -i setup.py
+}