1 |
# Copyright 1999-2012 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyodbc/pyodbc-2.1.11.ebuild,v 1.1 2011/09/16 07:55:37 djc Exp $ |
4 |
|
5 |
EAPI="3" |
6 |
PYTHON_DEPEND="2" |
7 |
SUPPORT_PYTHON_ABIS="1" |
8 |
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*" |
9 |
|
10 |
inherit distutils |
11 |
|
12 |
DESCRIPTION="python ODBC module to connect to almost any database" |
13 |
HOMEPAGE="http://code.google.com/p/pyodbc http://pypi.python.org/pypi/pyodbc" |
14 |
SRC_URI="http://pyodbc.googlecode.com/files/${P}.zip" |
15 |
|
16 |
LICENSE="MIT" |
17 |
SLOT="0" |
18 |
KEYWORDS="~amd64 ~x86" |
19 |
IUSE="mssql" |
20 |
|
21 |
RDEPEND=">=dev-db/unixODBC-2.3.0 |
22 |
mssql? ( >=dev-db/freetds-0.64[odbc] )" |
23 |
DEPEND="${RDEPEND} |
24 |
app-arch/unzip |
25 |
dev-python/setuptools" |
26 |
|
27 |
PYTHON_CXXFLAGS=("2.* + -fno-strict-aliasing") |