commit:     72dc0003d0061dd0a2e2cce28bfc471b00ce49cb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 11:39:40 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 11:41:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72dc0003

dev-python/aiorpcX: Bump to 0.18.4, add tests

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/aiorpcX/Manifest              |  1 +
 dev-python/aiorpcX/aiorpcX-0.18.4.ebuild | 33 ++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/dev-python/aiorpcX/Manifest b/dev-python/aiorpcX/Manifest
index bb51639bf5b..6e01e58b930 100644
--- a/dev-python/aiorpcX/Manifest
+++ b/dev-python/aiorpcX/Manifest
@@ -1,3 +1,4 @@
 DIST aiorpcX-0.10.2.tar.gz 23312 BLAKE2B 
62d04099ae272369f29dea3a34a13b4b5cd6052764f2efee1f4a461b8ab52616e0cf69dde47a6f48c60827b3580d35bc39c87371d581a4a95147f5a5691e5111
 SHA512 
ebdc312c1c8d27382ca02ba6de5a316332b09bfba19399f9a4c3ef603a5d96becdfbed5c360d73aa64b41ecc5b0c3638822b0a5e49fd54c339b601c20add44ea
 DIST aiorpcX-0.17.0.tar.gz 26346 BLAKE2B 
0e60b66dec1ebcabca62e95688761b022a0f2a1062a3bb63c69def67687eb5bfb95d8c671b18ac4990248d7de17b049a7135398e80d23dc9154aaa4c7b17c2d1
 SHA512 
80731b683e16ad65da71981f81a606647cf3159429db2c37b27b6dc21c2f659fc92d0d0352109e377c2f381a373b9b20eeb0dda0bafe6be482dcf5c10d3bfcb6
 DIST aiorpcX-0.18.3.tar.gz 27464 BLAKE2B 
38a59a6352a4c9bc561f75ecdfb0adc87fe82ad8e05622e67903d6e6e3c225647e75cb7a516005840d008f193288a5dea09042e2091a576be108b735fbbe1446
 SHA512 
982258fb35c1a4b09def64e2729ac5bab528185963ca0f73571d4a36be2aebadd69e607161462b9c5e07ff3b09fa071949432405a32832d438e07103fa1a8636
+DIST aiorpcX-0.18.4.gh.tar.gz 65500 BLAKE2B 
8c84ace1e2bc974e68702e25efe126f7f69dd7451f438ccd924ee8be3c0cccc5c9b3d116bf2d0a755b013bdfe61a398d856031970e5ae82b571af09551231bed
 SHA512 
d4df1343f575af72dff31f1794485c0cbb5b6c31d6d933b07cc8375a1418ad4fb81b2649b3c60adaaeab75b7a5d959838accc38269373310eb07895acf4c9496

diff --git a/dev-python/aiorpcX/aiorpcX-0.18.4.ebuild 
b/dev-python/aiorpcX/aiorpcX-0.18.4.ebuild
new file mode 100644
index 00000000000..1dd31c31a60
--- /dev/null
+++ b/dev-python/aiorpcX/aiorpcX-0.18.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="Generic async RPC implementation, including JSON-RPC"
+HOMEPAGE="https://pypi.org/project/aiorpcX/
+       https://github.com/kyuupichan/aiorpcX/";
+SRC_URI="https://github.com/kyuupichan/aiorpcX/archive/${PV}.tar.gz
+       -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+BDEPEND="
+       test? (
+               dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+               dev-python/uvloop[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       # websockets are optional and not packaged in Gentoo
+       rm tests/test_websocket.py || die
+
+       distutils-r1_src_prepare
+}

Reply via email to