Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 482704
Collapse All | Expand All

(-)pygresql-4.0.ebuild (-12 / +9 lines)
Lines 2-13 Link Here
2
# Distributed under the terms of the GNU General Public License v2
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.6 2012/11/28 21:07:38 titanofold Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-db/pygresql/pygresql-4.0.ebuild,v 1.6 2012/11/28 21:07:38 titanofold Exp $
4
4
5
EAPI="3"
5
EAPI=5
6
PYTHON_DEPEND="2"
7
SUPPORT_PYTHON_ABIS="1"
8
RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
9
6
10
inherit distutils
7
PYTHON_COMPAT=( python{2_6,2_7} )
8
9
inherit distutils-r1
11
10
12
MY_P="PyGreSQL-${PV}"
11
MY_P="PyGreSQL-${PV}"
13
12
Lines 25-39 RDEPEND="${DEPEND}" Link Here
25
24
26
S="${WORKDIR}/${MY_P}"
25
S="${WORKDIR}/${MY_P}"
27
26
28
DOCS="docs/*.txt"
27
python_install_all() {
29
PYTHON_MODNAME="pg.py pgdb.py"
28
	local DOCS=( docs/*.txt )
30
29
	distutils-r1_python_install_all
31
src_install() {
32
	distutils_src_install
33
30
34
	if use doc; then
31
	if use doc; then
35
		insinto /usr/share/doc/${PF}/tutorial
32
		insinto /usr/share/doc/${PF}/tutorial
36
		doins tutorial/* || die "doins failed"
33
		doins tutorial/*
37
		dohtml docs/*.{html,css} || die "dohtml failed"
34
		dohtml docs/*.{html,css}
38
	fi
35
	fi
39
}
36
}

Return to bug 482704