diff options
Diffstat (limited to 'dev-python/txtorcon/txtorcon-20.0.0.ebuild')
-rw-r--r-- | dev-python/txtorcon/txtorcon-20.0.0.ebuild | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/dev-python/txtorcon/txtorcon-20.0.0.ebuild b/dev-python/txtorcon/txtorcon-20.0.0.ebuild deleted file mode 100644 index d06852d8f77d..000000000000 --- a/dev-python/txtorcon/txtorcon-20.0.0.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) - -inherit distutils-r1 - -DESCRIPTION="Twisted-based Tor controller client, with state-tracking and config abstractions" -HOMEPAGE="https://github.com/meejah/txtorcon https://pypi.org/project/txtorcon/ https://txtorcon.readthedocs.org" -SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/automat[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/incremental[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - >=dev-python/twisted-16.0.0[${PYTHON_USEDEP},crypt] - >=dev-python/zope-interface-3.6.1[${PYTHON_USEDEP}] - doc? ( - dev-python/automat[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/repoze-sphinx-autointerface[${PYTHON_USEDEP}] - >=dev-python/zope-interface-3.6.1[${PYTHON_USEDEP}] - ) -" -DEPEND=" - ${RDEPEND} - test? ( dev-python/mock[${PYTHON_USEDEP}] ) -" - -PATCHES=( - "${FILESDIR}/txtorcon-0.19.3-setup.py-Dontinstallthetests.patch" - "${FILESDIR}/txtorcon-0.19.3-Movetestsunderthetxtorconnamespace.patch" - "${FILESDIR}/txtorcon-0.19.3-Removeunconditionalexamples.patch" -) - -python_prepare_all() { - sed -e "s/^ipaddress.*//" -i requirements.txt || die - - distutils-r1_python_prepare_all -} -python_test() { - pushd "${TEST_DIR}" > /dev/null || die - /usr/bin/trial txtorcon || die "Tests failed with ${EPYTHON}" - popd > /dev/null || die -} - -python_compile_all() { - use doc && emake -C "${S}/docs" html -} - -python_install_all() { - use doc && dodoc -r "${S}/docs/_build/html/"* - use examples && dodoc -r "${S}/examples/" - distutils-r1_python_install_all - - # delete the dropin.cache so we don't have collisions - rm "${D}"/usr/lib*/python*/site-packages/twisted/plugins//dropin.cache || die -} |