|
|
|
@ -4,6 +4,7 @@
|
|
|
|
|
EAPI="7"
|
|
|
|
|
|
|
|
|
|
PYTHON_COMPAT=( python3_8 )
|
|
|
|
|
DISTUTILS_USE_SETUPTOOLS="rdepend"
|
|
|
|
|
|
|
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
|
@ -14,7 +15,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz -> ${P}.tar.gz"
|
|
|
|
|
LICENSE="Apache-2.0"
|
|
|
|
|
SLOT="0"
|
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
|
IUSE="doc test"
|
|
|
|
|
IUSE="test"
|
|
|
|
|
RESTRICT="!test? ( test )"
|
|
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
@ -22,7 +23,6 @@ RDEPEND="
|
|
|
|
|
"
|
|
|
|
|
DEPEND="
|
|
|
|
|
${RDEPEND}
|
|
|
|
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
|
|
|
test? (
|
|
|
|
|
>=dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
|
|
|
|
|
)
|
|
|
|
@ -30,7 +30,7 @@ DEPEND="
|
|
|
|
|
|
|
|
|
|
distutils_enable_tests pytest
|
|
|
|
|
|
|
|
|
|
DOCS=( CHANGES.txt README.rst )
|
|
|
|
|
DOCS=( README.rst )
|
|
|
|
|
|
|
|
|
|
python_test() {
|
|
|
|
|
py.test -v tests || die "Tests failed under ${EPYTHON}"
|
|
|
|
|