# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{7..10} ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 virtualx DESCRIPTION="An asynchronous networking framework written in Python" HOMEPAGE="https://www.twistedmatrix.com/trac/" SRC_URI=" https://github.com/twisted/twisted/archive/${P}.tar.gz https://dev.gentoo.org/~mgorny/dist/twisted-regen-cache.gz" S=${WORKDIR}/${PN}-${P} LICENSE="MIT" SLOT="0" KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" IUSE="conch crypt http2 serial test" RESTRICT="!test? ( test )" RDEPEND=" >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}] >=dev-python/automat-0.3.0[${PYTHON_USEDEP}] >=dev-python/constantly-15.1.0[${PYTHON_USEDEP}] >=dev-python/hyperlink-17.1.1[${PYTHON_USEDEP}] >=dev-python/incremental-16.10.1[${PYTHON_USEDEP}] >=dev-python/pyhamcrest-1.9.0[${PYTHON_USEDEP}] >=dev-python/zope-interface-4.4.2[${PYTHON_USEDEP}] conch? ( >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}] dev-python/bcrypt[${PYTHON_USEDEP}] >=dev-python/cryptography-1.5.0[${PYTHON_USEDEP}] dev-python/pyasn1[${PYTHON_USEDEP}] ) crypt? ( >=dev-python/pyopenssl-16.0.0[${PYTHON_USEDEP}] dev-python/service_identity[${PYTHON_USEDEP}] >=dev-python/idna-0.6[${PYTHON_USEDEP}] ) serial? ( >=dev-python/pyserial-3.0[${PYTHON_USEDEP}] ) http2? ( >=dev-python/hyper-h2-3.0.0[${PYTHON_USEDEP}] =dev-python/priority-1.1.0[${PYTHON_USEDEP}]