2022-04-01 15:40:55 -04:00
|
|
|
# Copyright 1999-2022 Gentoo Authors
|
2021-08-08 17:15:15 -04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2022-04-01 15:40:55 -04:00
|
|
|
EAPI=8
|
2021-08-08 17:15:15 -04:00
|
|
|
|
2022-04-01 15:40:55 -04:00
|
|
|
PYTHON_COMPAT=( python3_{8..10} )
|
2021-08-08 17:15:15 -04:00
|
|
|
DISTUTILS_USE_SETUPTOOLS=bdepend
|
|
|
|
|
|
|
|
inherit distutils-r1
|
|
|
|
|
2022-04-01 15:40:55 -04:00
|
|
|
if [[ ${PV} == 9999 ]]; then
|
2021-08-08 17:15:15 -04:00
|
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="https://github.com/meejah/txtorcon.git"
|
2022-04-01 15:40:55 -04:00
|
|
|
else
|
|
|
|
SRC_URI="https://github.com/meejah/txtorcon/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
KEYWORDS="~amd64"
|
2021-08-08 17:15:15 -04:00
|
|
|
fi
|
|
|
|
|
|
|
|
DESCRIPTION="Tor control protocol implementation for Python"
|
|
|
|
HOMEPAGE="https://github.com/meejah/txtorcon"
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
>=dev-python/twisted-15.5.0[${PYTHON_USEDEP},crypt]
|
|
|
|
>=dev-python/zope-interface-3.6.1[${PYTHON_USEDEP}]
|
|
|
|
dev-python/incremental[${PYTHON_USEDEP}]
|
|
|
|
dev-python/automat[${PYTHON_USEDEP}]
|
|
|
|
dev-python/cryptography[${PYTHON_USEDEP}]
|
|
|
|
"
|
|
|
|
BDEPEND=""
|