Сравнение websockets-11.0.3 с websockets-11.0.3-r1
/usr/portage/dev-python/websockets/websockets-11.0.3-r1.ebuild 2023-10-09 14:52:30.400368373 +0300 | ||
---|---|---|
5 | 5 | |
6 | 6 |
DISTUTILS_EXT=1 |
7 | 7 |
DISTUTILS_USE_PEP517=setuptools |
8 |
PYTHON_COMPAT=( pypy3 python3_{9..11} ) |
|
8 |
PYTHON_COMPAT=( pypy3 python3_{10..12} ) |
|
9 | 9 | |
10 | 10 |
inherit distutils-r1 |
11 | 11 | |
... | ... | |
19 | 19 |
SRC_URI=" |
20 | 20 |
https://github.com/python-websockets/websockets/archive/${PV}.tar.gz |
21 | 21 |
-> ${P}.gh.tar.gz |
22 |
https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-11.0.3-python3.12.patch.xz |
|
22 | 23 |
" |
23 | 24 | |
24 | 25 |
LICENSE="BSD" |
25 | 26 |
SLOT="0" |
26 |
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" |
|
27 | 28 |
IUSE="+native-extensions" |
28 | 29 | |
29 | 30 |
distutils_enable_tests pytest |
30 | 31 | |
32 |
PATCHES=( |
|
33 |
"${WORKDIR}"/${P}-python3.12.patch |
|
34 |
) |
|
35 | ||
31 | 36 |
src_configure() { |
32 | 37 |
export BUILD_EXTENSION=$(usex native-extensions) |
33 | 38 |
} |
... | ... | |
36 | 41 |
local EPYTEST_DESELECT=( |
37 | 42 |
# very fragile to speed |
38 | 43 |
tests/legacy/test_protocol.py::ServerTests::test_local_close_receive_close_frame_timeout |
44 |
# requires DNS access |
|
45 |
# https://bugs.gentoo.org/909567 |
|
46 |
tests/legacy/test_client_server.py::ClientServerTests::test_explicit_host_port |
|
47 |
tests/legacy/test_client_server.py::SecureClientServerTests::test_explicit_host_port |
|
39 | 48 |
) |
40 | 49 | |
41 | 50 |
epytest tests |