Diff reedsolo-2.1.1_beta1 with a reedsolo-2.1.1_beta1-r1
/usr/portage/dev-python/reedsolo/reedsolo-2.1.1_beta1-r1.ebuild 2023-10-09 14:52:30.368368372 +0300 | ||
---|---|---|
17 | 17 | |
18 | 18 |
LICENSE="|| ( Unlicense MIT-0 )" |
19 | 19 |
SLOT="0" |
20 |
KEYWORDS="amd64 ~arm ~arm64 x86" |
|
20 |
KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
|
21 | 21 |
IUSE="+native-extensions" |
22 | 22 | |
23 | 23 |
distutils_enable_tests pytest |
... | ... | |
27 | 27 |
distutils-r1_src_prepare |
28 | 28 |
} |
29 | 29 | |
30 |
src_configure() { |
|
31 |
if use native-extensions; then |
|
32 |
DISTUTILS_ARGS=( |
|
30 |
python_compile() { |
|
31 |
local DISTUTILS_ARGS=() |
|
32 |
if use native-extensions && [[ ${EPYTHON} != pypy3 ]] ; then |
|
33 |
DISTUTILS_ARGS+=( |
|
33 | 34 |
# TODO: switch to --cythonize once we're on cython-3 |
34 | 35 |
--native-compile |
35 | 36 |
) |
36 | 37 |
fi |
38 |
distutils-r1_python_compile |
|
37 | 39 |
} |