Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 414475 | Differences between
and this patch

Collapse All | Expand All

(-)webtest.orig/webtest-1.3.3.ebuild (-6 / +6 lines)
Lines 2-11 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-python/webtest/webtest-1.3.3.ebuild,v 1.7 2012/04/16 02:24:24 jer Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-python/webtest/webtest-1.3.3.ebuild,v 1.7 2012/04/16 02:24:24 jer Exp $
4
4
5
EAPI="3"
5
EAPI="4"
6
PYTHON_DEPEND="2:2.5"
6
PYTHON_DEPEND="2:2.6"
7
SUPPORT_PYTHON_ABIS="1"
7
SUPPORT_PYTHON_ABIS="1"
8
RESTRICT_PYTHON_ABIS="2.4 3.*"
8
RESTRICT_PYTHON_ABIS="2.5 3.* *-pypy-*"
9
DISTUTILS_SRC_TEST="nosetests"
9
DISTUTILS_SRC_TEST="nosetests"
10
10
11
inherit distutils eutils
11
inherit distutils eutils
Lines 31-38 Link Here
31
S="${WORKDIR}/${MY_P}"
31
S="${WORKDIR}/${MY_P}"
32
32
33
src_prepare() {
33
src_prepare() {
34
	distutils_src_prepare
35
	epatch "${FILESDIR}/${P}-doctest-ellipsis.patch"
34
	epatch "${FILESDIR}/${P}-doctest-ellipsis.patch"
35
	distutils_src_prepare
36
}
36
}
37
37
38
src_compile() {
38
src_compile() {
Lines 40-46 Link Here
40
40
41
	if use doc; then
41
	if use doc; then
42
		einfo "Generation of documentation"
42
		einfo "Generation of documentation"
43
		sphinx-build docs html || die "Building of documentation failed"
43
		sphinx-build docs html
44
	fi
44
	fi
45
}
45
}
46
46
Lines 55-60 Link Here
55
	python_execute_function -q delete_lint3
55
	python_execute_function -q delete_lint3
56
56
57
	if use doc; then
57
	if use doc; then
58
		dohtml -r html/* || die "Error installing docs"
58
		dohtml -r html/*
59
	fi
59
	fi
60
}
60
}

Return to bug 414475