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

(-)chameleon.orig/chameleon-2.5.3.ebuild (-3 / +15 lines)
Lines 40-46 Link Here
40
src_install() {
40
src_install() {
41
	distutils_src_install
41
	distutils_src_install
42
42
43
	if use doc ; then
43
        delete_tests_and_incompatible_modules() {
44
		dohtml -r _build/html/* || die "dohtml failed"
44
                rm -fr "${ED}$(python_get_sitedir)/chameleon/tests"
45
	fi
45
46
                if [[ "$(python_get_version -l --major)" == "3" ]]; then
47
                        rm -f "${ED}$(python_get_sitedir)/chameleon/"{benchmark.py,py25.py}
48
                fi
49
        }
50
        python_execute_function -q delete_tests_and_incompatible_modules
51
52
        if use doc; then
53
                pushd _build/html > /dev/null
54
                insinto /usr/share/doc/${PF}/html
55
                doins -r [a-z]* _static
56
                popd > /dev/null
57
        fi
46
}
58
}

Return to bug 393593