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
commitc4a871e5e7e22529a3620c06b4e59cf2abd887e1 (patch)
tree726ec3497fd8a87fa7482d4295ca7b7728baf6ea /dev-python/pyodbc
parentFix dependencies. Update HOMEPAGE. Avoid breaking strict-aliasing rules. (diff)
downloadhistorical-c4a871e5e7e22529a3620c06b4e59cf2abd887e1.tar.gz
historical-c4a871e5e7e22529a3620c06b4e59cf2abd887e1.tar.bz2
historical-c4a871e5e7e22529a3620c06b4e59cf2abd887e1.zip
Fix setuptools import.
Package-Manager: portage-2.2.0_alpha28_p21/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pyodbc')
-rw-r--r--dev-python/pyodbc/Manifest2
-rw-r--r--dev-python/pyodbc/pyodbc-2.1.8.ebuild9
2 files changed, 9 insertions, 2 deletions
diff --git a/dev-python/pyodbc/Manifest b/dev-python/pyodbc/Manifest
index c451eaefdb64..120ad363c0a9 100644
--- a/dev-python/pyodbc/Manifest
+++ b/dev-python/pyodbc/Manifest
@@ -1,4 +1,4 @@
DIST pyodbc-2.1.8.zip 137810 RMD160 7bca24bf603f840c2f3253909254bc46a1fd3c92 SHA1 3b2a066a609f920225987ed18dfcbed95704a4bf SHA256 e40f667933bc3efe3233049c5695a6bbc97277615b6d32803b7b736e6e8a1813
-EBUILD pyodbc-2.1.8.ebuild 770 RMD160 74239076f34bd6cd69b718a96e9f292670a2081c SHA1 50a882361850dab117a769f7a6eb1d1c77086de5 SHA256 4b6670d8b6fe1e92d93003f96a9bb96cda52adf2af2bc0cd5728a48066c2c66a
+EBUILD pyodbc-2.1.8.ebuild 921 RMD160 8b6e17dc0d410198e9a6ed985229726ac08ee5cc SHA1 4e07e4dfb449a7c7a1501e3cbe0cd669726322a5 SHA256 2b647e0be617a83105daaf60e5d54b28cc2691af9dfe57daea32e831eb3708b1
MISC ChangeLog 367 RMD160 d3966f6069f47fba431d0ebde7dcf2f3e95a31f6 SHA1 321c88fcc699fb93ab6570f910a15ab73525a09e SHA256 0ae8fda41d0bb035a49fda86d0836c9a0ff77264158271ac08e4b6e6786acc3b
MISC metadata.xml 255 RMD160 b69d2df062aad1158c03b925d5bfdeab02f98db2 SHA1 c94d776662afd93f3be5dc1fea7793b80738dbc5 SHA256 01d09f8eee4532c21a12d462263dfa84fda9e1b421410b13fe9799ed4680ba7b
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
+}