Сравнение twisted-22.10.0-r1 с twisted-22.10.0-r3
/usr/portage/dev-python/twisted/twisted-22.10.0-r3.ebuild 2023-10-09 14:52:30.392368373 +0300 | ||
---|---|---|
4 | 4 |
EAPI=8 |
5 | 5 | |
6 | 6 |
DISTUTILS_USE_PEP517=setuptools |
7 |
PYTHON_COMPAT=( python3_{9..11} pypy3 ) |
|
7 |
PYTHON_TESTED=( python3_{10..11} pypy3 ) |
|
8 |
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 ) |
|
8 | 9 |
PYTHON_REQ_USE="threads(+)" |
9 | 10 | |
10 | 11 |
inherit distutils-r1 virtualx |
... | ... | |
19 | 20 | |
20 | 21 |
LICENSE="MIT" |
21 | 22 |
SLOT="0" |
22 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86" |
|
23 |
KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos" |
|
23 | 24 |
IUSE="conch http2 serial ssl test" |
24 | 25 |
RESTRICT="!test? ( test )" |
25 | 26 | |
... | ... | |
73 | 74 |
>=dev-python/pyopenssl-21.0.0[${PYTHON_USEDEP}] |
74 | 75 |
>=dev-python/service-identity-18.1.0[${PYTHON_USEDEP}] |
75 | 76 |
) |
76 |
' python3_{8..10} pypy3) |
|
77 |
' "${PYTHON_TESTED[@]}") |
|
77 | 78 |
$(python_gen_cond_dep ' |
78 | 79 |
dev-python/gmpy[${PYTHON_USEDEP}] |
79 | 80 |
' python3_{8..10}) |
... | ... | |
83 | 84 |
PATCHES=( |
84 | 85 |
# https://twistedmatrix.com/trac/ticket/10200 |
85 | 86 |
"${FILESDIR}/${PN}-22.1.0-force-gtk3.patch" |
87 | ||
88 |
"${FILESDIR}/${PN}-22.10.0-python3.11-tests.patch" |
|
89 |
"${FILESDIR}/${PN}-22.10.0-time.patch" |
|
90 |
"${FILESDIR}/${PN}-22.10.0-sendmail.patch" |
|
86 | 91 |
) |
87 | 92 | |
88 | 93 |
python_prepare_all() { |
... | ... | |
121 | 126 |
} |
122 | 127 | |
123 | 128 |
python_test() { |
124 |
# please keep in sync with python_gen_cond_dep! |
|
125 |
if ! has "${EPYTHON}" python3_{8..10} pypy3; then |
|
129 |
if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then |
|
126 | 130 |
einfo "Skipping tests on ${EPYTHON} (xfail)" |
127 | 131 |
return |
128 | 132 |
fi |