/[gentoo-x86]/dev-python/pyodbc/pyodbc-2.1.8.ebuild
Gentoo

Contents of /dev-python/pyodbc/pyodbc-2.1.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Feb 20 14:44:32 2012 UTC (2 years, 7 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
Restricting pypy #404917

(Portage version: 2.2.0_alpha87/cvs/Linux x86_64)

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.8.ebuild,v 1.3 2011/03/25 22:00:05 arfrever 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")
28
29 src_prepare() {
30 distutils_src_prepare
31
32 # http://code.google.com/p/pyodbc/issues/detail?id=167
33 sed -e "s/setuptools.core/setuptools/" -i setup.py
34 }

  ViewVC Help
Powered by ViewVC 1.1.20