[dev-python/aiohttp-json-rpc] bump for red 3.5
This commit is contained in:
37
dev-python/aiohttp-json-rpc/aiohttp-json-rpc-0.13.3.ebuild
Normal file
37
dev-python/aiohttp-json-rpc/aiohttp-json-rpc-0.13.3.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python3_9 )
|
||||
DISTUTILS_USE_SETUPTOOLS="rdepend"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="JSON-RPC 2.0 using aiohttp"
|
||||
HOMEPAGE="https://github.com/pengutronix/aiohttp-json-rpc"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/aiohttp-3.5.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
>=dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
DOCS=( README.rst )
|
||||
|
||||
python_test() {
|
||||
py.test -v tests || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
Reference in New Issue
Block a user