3 |
3 |
|
4 |
4 |
EAPI=8
|
5 |
5 |
|
6 |
|
PYTHON_COMPAT=( python3_{10..11} )
|
7 |
6 |
DISTUTILS_USE_PEP517=setuptools
|
|
7 |
PYPI_NO_NORMALIZE=1
|
|
8 |
PYTHON_COMPAT=( python3_{10..11} )
|
8 |
9 |
|
9 |
|
# Version 0.12.0 with additional upstream fixes for python 3.11 support and
|
10 |
|
# miscellanous improvements
|
11 |
|
COMMIT_SHA1="8af8888d171791943b9fab036f0e0067b87c9b59"
|
12 |
|
|
13 |
|
inherit distutils-r1
|
|
10 |
inherit distutils-r1 pypi
|
14 |
11 |
|
15 |
12 |
DESCRIPTION="Get Things From One Computer To Another, Safely"
|
16 |
|
HOMEPAGE="https://magic-wormhole.readthedocs.io/en/latest/ https://pypi.org/project/magic-wormhole/"
|
17 |
|
SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT_SHA1}.tar.gz -> ${P}.gh.tar.gz"
|
|
13 |
HOMEPAGE="
|
|
14 |
https://magic-wormhole.readthedocs.io/en/latest/
|
|
15 |
https://github.com/magic-wormhole/magic-wormhole/
|
|
16 |
https://pypi.org/project/magic-wormhole/
|
|
17 |
"
|
18 |
18 |
|
19 |
19 |
LICENSE="MIT"
|
20 |
20 |
SLOT="0"
|
21 |
21 |
KEYWORDS="~amd64 ~x86"
|
22 |
|
S="${WORKDIR}/magic-wormhole-${COMMIT_SHA1}"
|
23 |
22 |
|
24 |
23 |
RDEPEND="
|
25 |
24 |
dev-python/attrs[${PYTHON_USEDEP}]
|
... | ... | |
34 |
33 |
dev-python/spake2[${PYTHON_USEDEP}]
|
35 |
34 |
dev-python/tqdm[${PYTHON_USEDEP}]
|
36 |
35 |
dev-python/twisted[ssl,${PYTHON_USEDEP}]
|
37 |
|
dev-python/txtorcon[${PYTHON_USEDEP}]"
|
|
36 |
dev-python/txtorcon[${PYTHON_USEDEP}]
|
|
37 |
"
|
38 |
38 |
|
39 |
|
#
|
40 |
|
# magic-wormhole-0.12.0_p20230525 requires the released
|
41 |
|
# magic-wormhole-transit-relay-0.21 for setting up its unit tests. This
|
42 |
|
# hopefully will be resolved soon with the upcoming releases (of wormhole,
|
43 |
|
# mailbox-server, and transit-relay).
|
44 |
|
#
|
45 |
39 |
BDEPEND="
|
46 |
40 |
test? (
|
47 |
41 |
dev-python/magic-wormhole-mailbox-server[${PYTHON_USEDEP}]
|
48 |
42 |
~dev-python/magic-wormhole-transit-relay-0.2.1[${PYTHON_USEDEP}]
|
49 |
|
)"
|
|
43 |
)
|
|
44 |
"
|
50 |
45 |
|
51 |
46 |
distutils_enable_tests pytest
|
|
47 |
|
|
48 |
python_test() {
|
|
49 |
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
|
50 |
epytest
|
|
51 |
}
|