[dev-python/aiohttp-json-rpc] add version pinned by red discord bot

This commit is contained in:
Robert Förster 2020-09-16 01:03:21 +02:00
parent b0c188cea5
commit c5b11e91ad
3 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST aiohttp-json-rpc-0.13.1.tar.gz 28520 BLAKE2B 1373330eadb6282817a045e5a3ee421625eafd051c0b6d261f7c9de74a40885cba42ee4b424293dfe8aae90ab98898b0252d172eb139dd62c1e5363fb133378b SHA512 bb4f7a394dc5978e88a2e4dffd23ee3bcaa1d515418a8a8d087d887c65a167c1092fc4b5a2ae9d9e63922a77a6431253c7b228ae3a71a2e8e722fee7baf50d7f

View File

@ -0,0 +1,37 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_8 )
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 -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/aiohttp-3.5.0[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
>=dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
DOCS=( CHANGES.txt README.rst )
python_test() {
py.test -v tests || die "Tests failed under ${EPYTHON}"
}

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>zmedico@gentoo.org</email>
<name>Zac Medico</name>
</maintainer>
<upstream>
<remote-id type="pypi">aiohttp-json-rpc</remote-id>
<remote-id type="github">pengutronix/aiohttp-json-rpc</remote-id>
</upstream>
</pkgmetadata>