/[gentoo-x86]/dev-db/pygresql/pygresql-4.0.ebuild
Gentoo

Contents of /dev-db/pygresql/pygresql-4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Mon Jan 27 11:28:53 2014 UTC (10 months, 3 weeks ago) by titanofold
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Clean out old versions.

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key D1BBFDA0)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-db/pygresql/pygresql-4.0.ebuild,v 1.8 2014/01/16 20:17:22 ago 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 MY_P="PyGreSQL-${PV}"
13
14 DESCRIPTION="A Python interface for the PostgreSQL database."
15 HOMEPAGE="http://www.pygresql.org/"
16 SRC_URI="ftp://ftp.pygresql.org/pub/distrib/${MY_P}.tgz"
17
18 LICENSE="POSTGRESQL"
19 SLOT="0"
20 KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~sparc x86"
21 IUSE="doc"
22
23 DEPEND="dev-db/postgresql-base"
24 RDEPEND="${DEPEND}"
25
26 S="${WORKDIR}/${MY_P}"
27
28 DOCS="docs/*.txt"
29 PYTHON_MODNAME="pg.py pgdb.py"
30
31 src_install() {
32 distutils_src_install
33
34 if use doc; then
35 insinto /usr/share/doc/${PF}/tutorial
36 doins tutorial/* || die "doins failed"
37 dohtml docs/*.{html,css} || die "dohtml failed"
38 fi
39 }

  ViewVC Help
Powered by ViewVC 1.1.20