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

(-)distutils-r1.eclass (+7 lines)
Lines 754-764 Link Here
754
	fi
754
	fi
755
}
755
}
756
756
757
_clean_egg_info() {
758
	# Work around for setuptools test behavior (bug 534058).
759
	# https://bitbucket.org/pypa/setuptools/issue/292
760
	rm -rf "${BUILD_DIR}"/lib/*.egg-info
761
}
762
757
distutils-r1_src_test() {
763
distutils-r1_src_test() {
758
	debug-print-function ${FUNCNAME} "${@}"
764
	debug-print-function ${FUNCNAME} "${@}"
759
765
760
	if declare -f python_test >/dev/null; then
766
	if declare -f python_test >/dev/null; then
761
		_distutils-r1_run_foreach_impl python_test
767
		_distutils-r1_run_foreach_impl python_test
768
		_distutils-r1_run_foreach_impl _clean_egg_info
762
	fi
769
	fi
763
770
764
	if declare -f python_test_all >/dev/null; then
771
	if declare -f python_test_all >/dev/null; then

Return to bug 534058