Diff magic-wormhole-transit-relay-0.2.1 with a magic-wormhole-transit-relay-0.2.1_p20230525

/usr/portage/dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.2.1_p20230525.ebuild 2023-10-09 14:52:30.304368371 +0300
6 6
PYTHON_COMPAT=( python3_{10..11} )
7 7
DISTUTILS_USE_PEP517=setuptools
8 8

  
9
# Version 0.2.1 with additional upstream fixes for python 3.11 support and
10
# miscelleanous bufixes
11
COMMIT_SHA1="db48e915311d1d10c748bb5299e2345c74e90a1b"
12

  
9 13
inherit distutils-r1
10 14

  
11 15
DESCRIPTION="Transit relay server for magic-wormhole"
12 16
HOMEPAGE="https://magic-wormhole.readthedocs.io/en/latest/ https://pypi.org/project/magic-wormhole-transit-relay/"
13
SRC_URI="https://github.com/magic-wormhole/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
17
SRC_URI="https://github.com/magic-wormhole/${PN}/archive/${COMMIT_SHA1}.tar.gz -> ${P}.gh.tar.gz"
14 18

  
15 19
LICENSE="MIT"
16 20
SLOT="0"
17 21
KEYWORDS="~amd64 ~x86"
22
S="${WORKDIR}/magic-wormhole-transit-relay-${COMMIT_SHA1}"
18 23

  
19 24
RDEPEND="
20 25
	dev-python/autobahn[${PYTHON_USEDEP}]
21 26
	dev-python/twisted[ssl,${PYTHON_USEDEP}]"
22 27

  
28
BDEPEND="test? (
29
	dev-python/mock[${PYTHON_USEDEP}]
30
	)"
31

  
23 32
distutils_enable_tests pytest
33

  
34
python_test() {
35
	# deselect test_buff_fill test because it exhibits intermittent hangs,
36
	# bug #907200
37
	local EPYTEST_DESELECT=(
38
		src/wormhole_transit_relay/test/test_backpressure.py::TransitWebSockets::test_buffer_fill
39
	)
40
	epytest
41
}
Thank you!