Diff websockets-11.0.3-r1 with a websockets-11.0.3-r2
/usr/portage/dev-python/websockets/websockets-11.0.3-r2.ebuild 2023-10-09 14:52:30.400368373 +0300 | ||
---|---|---|
24 | 24 | |
25 | 25 |
LICENSE="BSD" |
26 | 26 |
SLOT="0" |
27 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" |
|
27 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
|
28 | 28 |
IUSE="+native-extensions" |
29 | 29 | |
30 | 30 |
distutils_enable_tests pytest |
... | ... | |
33 | 33 |
"${WORKDIR}"/${P}-python3.12.patch |
34 | 34 |
) |
35 | 35 | |
36 |
src_configure() { |
|
37 |
export BUILD_EXTENSION=$(usex native-extensions) |
|
36 |
python_compile() { |
|
37 |
if use native-extensions && [[ ${EPYTHON} != pypy3 ]] ; then |
|
38 |
local -x BUILD_EXTENSION=yes |
|
39 |
else |
|
40 |
local -x BUILD_EXTENSION=no |
|
41 |
fi |
|
42 | ||
43 |
distutils-r1_python_compile |
|
38 | 44 |
} |
39 | 45 | |
40 | 46 |
python_test() { |