Сравнение aiocache-0.12.0 с aiocache-0.12.2

/usr/portage/dev-python/aiocache/aiocache-0.12.2.ebuild 2023-10-09 14:52:30.248368369 +0300
4 4
EAPI=8
5 5

  
6 6
DISTUTILS_USE_PEP517=setuptools
7
PYTHON_COMPAT=( python3_{9..11} )
7
PYTHON_COMPAT=( python3_{10..12} )
8 8

  
9 9
inherit distutils-r1 pypi
10 10

  
11 11
DESCRIPTION="Asyncio cache manager"
12
HOMEPAGE="https://github.com/aio-libs/aiocache/"
12
HOMEPAGE="
13
	https://github.com/aio-libs/aiocache/
14
	https://pypi.org/project/aiocache/
15
"
13 16

  
14 17
LICENSE="Apache-2.0"
15 18
SLOT="0"
16 19
KEYWORDS="~amd64 ~x86"
17
IUSE="test"
18

  
19
# TODO add optional cache systems deps (and new package aiomcache)
20
# Tests require all backends
21
RESTRICT="test"
22 20

  
23 21
BDEPEND="
24 22
	test? (
23
		dev-db/redis
24
		dev-python/marshmallow[${PYTHON_USEDEP}]
25
		>=dev-python/msgpack-0.5.5[${PYTHON_USEDEP}]
25 26
		dev-python/pytest-asyncio[${PYTHON_USEDEP}]
26
	)"
27

  
28
PATCHES=( "${FILESDIR}/${PN}-0.12.0-fix-test-installation.patch" )
27
		dev-python/pytest-mock[${PYTHON_USEDEP}]
28
		>=dev-python/redis-4.2.0[${PYTHON_USEDEP}]
29
	)
30
"
29 31

  
30 32
distutils_enable_tests pytest
31 33

  
32 34
python_test() {
33
	epytest -o addopts=
35
	local EPYTEST_IGNORE=(
36
		# benchmarks
37
		tests/performance
38
		# requires aiomcache
39
		tests/ut/backends/test_memcached.py
40
	)
41

  
42
	epytest -o addopts= -m "not memcached"
43
}
44

  
45
src_test() {
46
	local redis_pid="${T}"/redis.pid
47
	local redis_port=6379
48

  
49
	# Spawn Redis for testing purposes
50
	einfo "Spawning Redis"
51
	einfo "NOTE: Port ${redis_port} must be free"
52
	"${EPREFIX}"/usr/sbin/redis-server - <<- EOF || die "Unable to start redis server"
53
		daemonize yes
54
		pidfile ${redis_pid}
55
		port ${redis_port}
56
		bind 127.0.0.1 ::1
57
	EOF
58

  
59
	# Run the tests
60
	distutils-r1_src_test
61

  
62
	# Clean up afterwards
63
	kill "$(<"${redis_pid}")" || die
34 64
}
Спасибо!