summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyodbc/pyodbc-2.1.8.ebuild')
-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
+}