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

Collapse All | Expand All

(-)setuptools-35.0.2.ebuild (-1 / +15 lines)
Lines 20-26 Link Here
20
20
21
LICENSE="MIT"
21
LICENSE="MIT"
22
SLOT="0"
22
SLOT="0"
23
IUSE="test"
23
IUSE="doc test"
24
24
25
RDEPEND="
25
RDEPEND="
26
	>=dev-python/packaging-16.8[${PYTHON_USEDEP}]
26
	>=dev-python/packaging-16.8[${PYTHON_USEDEP}]
Lines 29-34 Link Here
29
"
29
"
30
DEPEND="${RDEPEND}
30
DEPEND="${RDEPEND}
31
	app-arch/unzip
31
	app-arch/unzip
32
	doc? (
33
		dev-python/sphinx[${PYTHON_USEDEP}]
34
		dev-python/rst-linker[${PYTHON_USEDEP}]
35
		dev-python/jaraco-packaging[${PYTHON_USEDEP}]
36
	)
32
	test? (
37
	test? (
33
		dev-python/pip[${PYTHON_USEDEP}]
38
		dev-python/pip[${PYTHON_USEDEP}]
34
		>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
39
		>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
Lines 58-63 Link Here
58
	distutils-r1_python_prepare_all
63
	distutils-r1_python_prepare_all
59
}
64
}
60
65
66
python_compile_all() {
67
	use doc && esetup.py build_sphinx
68
}
69
61
python_test() {
70
python_test() {
62
	# test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
71
	# test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
63
	# It tries to sandbox the test in a tempdir
72
	# It tries to sandbox the test in a tempdir
Lines 68-70 Link Here
68
	export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
77
	export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
69
	distutils-r1_python_install
78
	distutils-r1_python_install
70
}
79
}
80
81
python_install_all() {
82
	use doc && local HTML_DOCS=( build/sphinx/html/. )
83
	distutils-r1_python_install_all
84
}

Return to bug 618162