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

Collapse All | Expand All

(-)twisted-10.0.0.ebuild (-2 / +2 lines)
Lines 46-52 Link Here
46
		local return_status="0"
46
		local return_status="0"
47
		"$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${T}/tests" --no-compile || die "Installation of tests failed with Python ${PYTHON_ABI}"
47
		"$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${T}/tests" --no-compile || die "Installation of tests failed with Python ${PYTHON_ABI}"
48
48
49
		pushd "${T}/tests$(python_get_sitedir)" > /dev/null || die
49
		pushd "${T}/tests${EPREFIX}$(python_get_sitedir)" > /dev/null || die
50
50
51
		# Skip broken tests.
51
		# Skip broken tests.
52
		rm -f twisted/python/test/test_release.py
52
		rm -f twisted/python/test/test_release.py
Lines 58-64 Link Here
58
		# docstrings in all packages
58
		# docstrings in all packages
59
		echo "'''plugins stub'''" > twisted/plugins/__init__.py || die
59
		echo "'''plugins stub'''" > twisted/plugins/__init__.py || die
60
60
61
		if ! PYTHONPATH="." "${T}/tests/usr/bin/trial" twisted; then
61
		if ! PYTHONPATH="." "${T}/tests${EPREFIX}/usr/bin/trial" twisted; then
62
			if [[ -n "${TWISTED_DEBUG_TESTS}" ]]; then
62
			if [[ -n "${TWISTED_DEBUG_TESTS}" ]]; then
63
				die "Tests failed with Python ${PYTHON_ABI}"
63
				die "Tests failed with Python ${PYTHON_ABI}"
64
			else
64
			else

Return to bug 316739