Diff indexed-gzip-1.8.3 with a indexed-gzip-1.8.5-r1

/usr/portage/dev-python/indexed-gzip/indexed-gzip-1.8.5-r1.ebuild 2023-10-09 14:52:30.292368370 +0300
44 44
}
45 45

  
46 46
src_compile() {
47
	if use test; then
47
	# This actually enables line tracing, so it fits USE=debug more.
48
	if use debug; then
48 49
		export INDEXED_GZIP_TESTING=1
49 50
	fi
51
	# Fix implicit dependency on numpy that is used to build test
52
	# extensions.
53
	if ! use test; then
54
		local -x PYTHONPATH="${T}:${PYTHONPATH}"
55
		cat >> "${T}"/numpy.py <<-EOF || die
56
			raise ImportError("I am not here!")
57
		EOF
58
	fi
50 59
	distutils-r1_src_compile
51 60
}
52 61

  
53 62
python_test() {
54 63
	cd "${BUILD_DIR}/install$(python_get_sitedir)/indexed_gzip/tests" || die
55 64
	epytest -n "$(makeopts_jobs)" --dist=worksteal
65
	# temporary files and test extensions
66
	# (to achieve equivalence with USE=-test)
67
	rm ctest*.{c,gz,so,tmp} || die
56 68
}
Thank you!