commit:     05281ee2708831ad1951b07c730ff048952d1b24
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 12 11:11:59 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jun 12 11:37:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05281ee2

dev-python/json-rpc: Bump to 1.15.0

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

 dev-python/json-rpc/Manifest               |  1 +
 dev-python/json-rpc/json-rpc-1.15.0.ebuild | 39 ++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-python/json-rpc/Manifest b/dev-python/json-rpc/Manifest
index 5beb3f624fdf..45c84798506f 100644
--- a/dev-python/json-rpc/Manifest
+++ b/dev-python/json-rpc/Manifest
@@ -1 +1,2 @@
 DIST json-rpc-1.14.0.tar.gz 28789 BLAKE2B 
7d5c0677452481e39be2698a1d303eb0677dd31f0861aac5b0ddfe850aea6f612ce5cf07f85df8d3b02b29a3d31c5249f49138603d6842b1ca56e8dc0ddcf668
 SHA512 
01e6a27509eb694d26b64b634a17fd2d36124f1602469293541f4f48b9de8046dcd5dccdc2a6f3e413c47eac4ed245495ce3e4c41fab42074a13e11f52a5c79e
+DIST json-rpc-1.15.0.tar.gz 28854 BLAKE2B 
e9883171f7d63b9d198d5f3f0155609397a84a5f97f5c2b0b20535615067e8d5941357e6293f1917aeec5193c4e4d30a9d930807d2de8f02c87ea45967a507e1
 SHA512 
5d6d0dbbbbcfa6a63fe20d78726c42449f60eb6fc1c08939ecf8e9a9ee487850f975df06f71b17b0545e7f2f8f6a971642a01f85bbd01c46b66df6f1b2c2f327

diff --git a/dev-python/json-rpc/json-rpc-1.15.0.ebuild 
b/dev-python/json-rpc/json-rpc-1.15.0.ebuild
new file mode 100644
index 000000000000..d19894d20a19
--- /dev/null
+++ b/dev-python/json-rpc/json-rpc-1.15.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="JSON-RPC transport implementation for python"
+HOMEPAGE="
+       https://github.com/pavlov99/json-rpc/
+       https://pypi.org/project/json-rpc/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       dev-python/six[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+       test? (
+               dev-python/flask[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       distutils-r1_src_prepare
+       # bundled, sigh.
+       rm jsonrpc/six.py || die
+       sed -i -e 's:from . import six:import six:' jsonrpc/*.py || die
+}

Reply via email to