Diff frozenlist-1.3.3 with a frozenlist-1.4.0

/usr/portage/dev-python/frozenlist/frozenlist-1.4.0.ebuild 2023-10-09 14:52:30.284368370 +0300
22 22
LICENSE="Apache-2.0"
23 23
SLOT="0"
24 24
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
25
IUSE="+native-extensions"
25 26

  
26 27
BDEPEND="
27
	$(python_gen_cond_dep '
28
		dev-python/cython[${PYTHON_USEDEP}]
29
	' 'python*')
28
	native-extensions? (
29
		$(python_gen_cond_dep '
30
			dev-python/cython[${PYTHON_USEDEP}]
31
		' 'python*')
32
	)
30 33
"
31 34

  
32 35
distutils_enable_tests pytest
......
36 39
	distutils-r1_src_prepare
37 40
}
38 41

  
39
python_configure() {
42
python_compile() {
40 43
	# pypy is not using the C extension
41
	if [[ ${EPYTHON} == python* ]]; then
44
	if use native-extensions && [[ ${EPYTHON} == python* ]]; then
42 45
		> .install-cython || die
43 46
		emake cythonize
47
	else
48
		local -x FROZENLIST_NO_EXTENSIONS=1
44 49
	fi
50

  
51
	distutils-r1_python_compile
52
}
53

  
54
python_test() {
55
	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
56
	rm -rf frozenlist || die
57
	epytest
45 58
}
Thank you!