2022-07-07 15:05:43 -04:00
|
|
|
# Copyright 1999-2022 Gentoo Authors
|
2021-08-08 17:45:41 -04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2022-07-07 15:05:43 -04:00
|
|
|
EAPI=8
|
2021-08-08 17:45:41 -04:00
|
|
|
|
2022-07-07 15:05:43 -04:00
|
|
|
PYTHON_COMPAT=( python3_{8..10} )
|
2021-08-08 17:45:41 -04:00
|
|
|
DISTUTILS_USE_SETUPTOOLS=bdepend
|
|
|
|
|
|
|
|
inherit distutils-r1
|
|
|
|
|
2022-07-07 15:05:43 -04:00
|
|
|
if [[ ${PV} == 9999 ]]; then
|
2021-08-08 17:45:41 -04:00
|
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="https://github.com/magic-wormhole/magic-wormhole.git"
|
2022-07-07 15:05:43 -04:00
|
|
|
else
|
|
|
|
SRC_URI="https://github.com/magic-wormhole/magic-wormhole/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
KEYWORDS="~amd64"
|
2021-08-08 17:45:41 -04:00
|
|
|
fi
|
|
|
|
|
|
|
|
DESCRIPTION="Safe, simple file sharing"
|
|
|
|
HOMEPAGE="https://github.com/magic-wormhole/magic-wormhole"
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
2022-07-07 15:05:43 -04:00
|
|
|
RESTRICT="test" # Requires magic-wormhole-mailbox-server
|
2021-08-08 17:45:41 -04:00
|
|
|
|
2022-07-07 15:05:43 -04:00
|
|
|
DEPEND=""
|
2021-08-08 17:45:41 -04:00
|
|
|
RDEPEND="
|
|
|
|
>=dev-python/spake2-0.8[${PYTHON_USEDEP}]
|
|
|
|
dev-python/pynacl[${PYTHON_USEDEP}]
|
|
|
|
dev-python/six[${PYTHON_USEDEP}]
|
|
|
|
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
|
2022-07-07 15:05:43 -04:00
|
|
|
|| (
|
|
|
|
>=dev-python/twisted-22.4.0-r2[${PYTHON_USEDEP},ssl]
|
|
|
|
>=dev-python/twisted-17.5.0[${PYTHON_USEDEP},crypt]
|
|
|
|
)
|
2021-08-08 17:45:41 -04:00
|
|
|
>=dev-python/autobahn-0.14.1[${PYTHON_USEDEP}]
|
|
|
|
dev-python/automat[${PYTHON_USEDEP}]
|
|
|
|
dev-python/hkdf[${PYTHON_USEDEP}]
|
|
|
|
dev-python/tqdm[${PYTHON_USEDEP}]
|
|
|
|
dev-python/click[${PYTHON_USEDEP}]
|
|
|
|
dev-python/humanize[${PYTHON_USEDEP}]
|
|
|
|
>=dev-python/txtorcon-18.0.2[${PYTHON_USEDEP}]
|
|
|
|
"
|
|
|
|
BDEPEND=""
|