Сравнение twisted-22.10.0-r3 с twisted-23.8.0

/usr/portage/dev-python/twisted/twisted-23.8.0.ebuild 2023-10-09 14:52:30.392368373 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
DISTUTILS_USE_PEP517=setuptools
7
PYTHON_TESTED=( python3_{10..11} pypy3 )
8
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 )
6
DISTUTILS_USE_PEP517=hatchling
7
PYTHON_TESTED=( python3_{10..12} pypy3 )
8
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
9 9
PYTHON_REQ_USE="threads(+)"
10 10

  
11
inherit distutils-r1 virtualx
11
inherit distutils-r1 pypi virtualx
12 12

  
13 13
DESCRIPTION="An asynchronous networking framework written in Python"
14
HOMEPAGE="https://www.twistedmatrix.com/trac/"
15
SRC_URI="
16
	https://github.com/twisted/twisted/archive/${P}.tar.gz -> ${P}.gh.tar.gz
14
HOMEPAGE="
15
	https://twisted.org/
16
	https://github.com/twisted/twisted/
17
	https://pypi.org/project/Twisted/
18
"
19
SRC_URI+="
17 20
	https://dev.gentoo.org/~mgorny/dist/twisted-regen-cache.gz
18 21
"
19
S=${WORKDIR}/${PN}-${P}
20 22

  
21 23
LICENSE="MIT"
22 24
SLOT="0"
23
KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
25
KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~x64-macos"
24 26
IUSE="conch http2 serial ssl test"
25 27
RESTRICT="!test? ( test )"
26 28

  
......
29 31
	>=dev-python/automat-0.8.0[${PYTHON_USEDEP}]
30 32
	>=dev-python/constantly-15.1[${PYTHON_USEDEP}]
31 33
	>=dev-python/hyperlink-17.1.1[${PYTHON_USEDEP}]
32
	>=dev-python/incremental-21.3.0[${PYTHON_USEDEP}]
33
	>=dev-python/typing-extensions-3.6.5[${PYTHON_USEDEP}]
34
	>=dev-python/zope-interface-4.4.2[${PYTHON_USEDEP}]
34
	>=dev-python/incremental-22.10.0[${PYTHON_USEDEP}]
35
	>=dev-python/typing-extensions-3.10.0[${PYTHON_USEDEP}]
36
	>=dev-python/zope-interface-5[${PYTHON_USEDEP}]
35 37
	conch? (
36 38
		>=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
37 39
		>=dev-python/bcrypt-3.0.0[${PYTHON_USEDEP}]
38
		>=dev-python/cryptography-2.6[${PYTHON_USEDEP}]
40
		>=dev-python/cryptography-3.3[${PYTHON_USEDEP}]
39 41
		dev-python/pyasn1[${PYTHON_USEDEP}]
40 42
	)
41 43
	http2? (
42
		<dev-python/h2-5.0.0[${PYTHON_USEDEP}]
44
		<dev-python/h2-5.0[${PYTHON_USEDEP}]
43 45
		>=dev-python/h2-3.0.0[${PYTHON_USEDEP}]
44 46
		<dev-python/priority-2.0[${PYTHON_USEDEP}]
45 47
		>=dev-python/priority-1.1.0[${PYTHON_USEDEP}]
......
54 56
	)
55 57
"
56 58
BDEPEND="
57
	>=dev-python/incremental-21.3.0[${PYTHON_USEDEP}]
59
	>=dev-python/hatch-fancy-pypi-readme-22.5.0[${PYTHON_USEDEP}]
60
	>=dev-python/incremental-22.10.0[${PYTHON_USEDEP}]
58 61
	test? (
62
		${RDEPEND}
59 63
		$(python_gen_cond_dep '
60 64
			>=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
61 65
			>=dev-python/constantly-15.1.0[${PYTHON_USEDEP}]
66
			<dev-python/cython-test-exception-raiser-2[${PYTHON_USEDEP}]
62 67
			>=dev-python/cython-test-exception-raiser-1.0.2[${PYTHON_USEDEP}]
63 68
			>=dev-python/idna-2.4[${PYTHON_USEDEP}]
64
			dev-python/hypothesis[${PYTHON_USEDEP}]
69
			>=dev-python/hypothesis-6.56[${PYTHON_USEDEP}]
65 70
			dev-python/pyasn1[${PYTHON_USEDEP}]
66
			>=dev-python/pyhamcrest-1.9.0[${PYTHON_USEDEP}]
71
			>=dev-python/pyhamcrest-2[${PYTHON_USEDEP}]
67 72
			>=dev-python/pyserial-3.0[${PYTHON_USEDEP}]
68 73
			virtual/openssh
69
			conch? (
70
				>=dev-python/bcrypt-3.0.0[${PYTHON_USEDEP}]
71
				>=dev-python/cryptography-2.6[${PYTHON_USEDEP}]
72
			)
73 74
			ssl? (
74 75
				>=dev-python/pyopenssl-21.0.0[${PYTHON_USEDEP}]
75 76
				>=dev-python/service-identity-18.1.0[${PYTHON_USEDEP}]
76 77
			)
77 78
		' "${PYTHON_TESTED[@]}")
78
		$(python_gen_cond_dep '
79
			dev-python/gmpy[${PYTHON_USEDEP}]
80
		' python3_{8..10})
81 79
	)
82 80
"
83 81

  
84 82
PATCHES=(
85
	# https://twistedmatrix.com/trac/ticket/10200
86
	"${FILESDIR}/${PN}-22.1.0-force-gtk3.patch"
87

  
88
	"${FILESDIR}/${PN}-22.10.0-python3.11-tests.patch"
83
	# https://github.com/twisted/twisted/pull/11787
89 84
	"${FILESDIR}/${PN}-22.10.0-time.patch"
90
	"${FILESDIR}/${PN}-22.10.0-sendmail.patch"
91 85
)
92 86

  
93 87
python_prepare_all() {
......
95 89
	# sphinx (including on py2)
96 90
	rm src/twisted/python/test/test_release.py || die
97 91

  
98
	# puts system in EMFILE state, then the exception handler may fail
99
	# trying to open more files due to some gi magic
100
	sed -e '/SKIP_EMFILE/s:False:True:' \
101
		-i src/twisted/internet/test/test_tcp.py || die
102

  
103 92
	# multicast tests fail within network-sandbox
104 93
	sed -e 's:test_joinLeave:_&:' \
105 94
		-e 's:test_loopback:_&:' \
......
107 96
		-e 's:test_multicast:_&:' \
108 97
		-i src/twisted/test/test_udp.py || die
109 98

  
110
	# These tests rely on warnings which seems work unreliably between python versions
111
	sed -e 's:test_currentEUID:_&:' \
112
		-e 's:test_currentUID:_&:' -i src/twisted/python/test/test_util.py || die
113

  
114
	# broken by new expat
115
	sed -e 's:test_namespaceWithWhitespace:_&:' \
116
		-i src/twisted/words/test/test_domish.py || die
117

  
118 99
	distutils-r1_python_prepare_all
119 100
}
120 101

  
Спасибо!