| # Copyright 1999-2015 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| EAPI=5 |
| |
| PYTHON_COMPAT=( python3_3 ) |
| |
| inherit distutils-r1 |
| |
| DESCRIPTION="reference implementation of PEP 3156" |
| HOMEPAGE="https://pypi.python.org/pypi/asyncio https://github.com/python/asyncio" |
| SRC_URI="mirror://pypi/a/${PN}/${P}.tar.gz" |
| |
| LICENSE="Apache-2.0" |
| SLOT="0" |
| KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
| IUSE="" |
| |
| RDEPEND="" |
| DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
| |
| python_test() { |
| ${PYTHON} runtests.py || die |
| PYTHONASYNCIODEBUG=1 ${PYTHON} runtests.py || die |
| } |