/[gentoo-x86]/dev-python/pypgsql/pypgsql-2.5.1.ebuild
Gentoo

Contents of /dev-python/pypgsql/pypgsql-2.5.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Thu Feb 23 10:22:49 2012 UTC (2 years, 10 months ago) by patrick
Branch: MAIN
Changes since 1.7: +2 -2 lines
Restricting python

(Portage version: 2.2.0_alpha88/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/pypgsql/pypgsql-2.5.1.ebuild,v 1.7 2012/02/20 08:05:24 patrick Exp $
4
5 EAPI="3"
6 PYTHON_DEPEND="2"
7 SUPPORT_PYTHON_ABIS="1"
8 RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython"
9
10 inherit distutils
11
12 MY_P="pyPgSQL-${PV}"
13
14 DESCRIPTION="Python Interface to PostgreSQL"
15 HOMEPAGE="http://pypgsql.sourceforge.net/ http://pypi.python.org/pypi/pyPgSQL"
16 SRC_URI="mirror://sourceforge/pypgsql/${MY_P}.tar.gz"
17
18 LICENSE="GPL-2"
19 SLOT="0"
20 KEYWORDS="amd64 ia64 x86"
21 IUSE=""
22
23 DEPEND="dev-db/postgresql-base"
24 RDEPEND="${DEPEND}"
25
26 S="${WORKDIR}/${MY_P}"
27
28 PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
29
30 DOCS="Announce"
31 PYTHON_MODNAME="pyPgSQL"
32
33 src_install() {
34 distutils_src_install
35
36 insinto /usr/share/doc/${PF}
37 doins -r examples
38 }

  ViewVC Help
Powered by ViewVC 1.1.20