diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-12-23 09:27:13 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-12-23 09:52:44 +0100 |
commit | 57e0649f8e1535ccd3e7d202bd39538ac4ba71b3 (patch) | |
tree | 6625fb0920bb9aae47250032798b1bade9c9b4b0 /dev-python | |
parent | dev-ruby/faraday-net_http: add 3.0.2 (diff) | |
download | gentoo-57e0649f8e1535ccd3e7d202bd39538ac4ba71b3.tar.gz gentoo-57e0649f8e1535ccd3e7d202bd39538ac4ba71b3.tar.bz2 gentoo-57e0649f8e1535ccd3e7d202bd39538ac4ba71b3.zip |
dev-python/json-rpc: Bump to 1.14.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/json-rpc/Manifest | 1 | ||||
-rw-r--r-- | dev-python/json-rpc/json-rpc-1.14.0.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/json-rpc/Manifest b/dev-python/json-rpc/Manifest index e2b869755c97..301ad9ead39e 100644 --- a/dev-python/json-rpc/Manifest +++ b/dev-python/json-rpc/Manifest @@ -1 +1,2 @@ DIST json-rpc-1.13.0.tar.gz 31089 BLAKE2B f2058bf78cf1924aff7bf7882aa693cbbb5419624bf3e3508a344754265985907cb16456de611b9be23afd701bd2f664ccb05f954622e543bd9db0ab8be52101 SHA512 76cd320b29c32a79fcafbd415cea8d4ca98a349b22b29c379aa06a89a76cd2b5bcba2e0883d8cad75ee43c4a979759a6af513d3cfb30076965de08e1ee801b9e +DIST json-rpc-1.14.0.tar.gz 28789 BLAKE2B 7d5c0677452481e39be2698a1d303eb0677dd31f0861aac5b0ddfe850aea6f612ce5cf07f85df8d3b02b29a3d31c5249f49138603d6842b1ca56e8dc0ddcf668 SHA512 01e6a27509eb694d26b64b634a17fd2d36124f1602469293541f4f48b9de8046dcd5dccdc2a6f3e413c47eac4ed245495ce3e4c41fab42074a13e11f52a5c79e diff --git a/dev-python/json-rpc/json-rpc-1.14.0.ebuild b/dev-python/json-rpc/json-rpc-1.14.0.ebuild new file mode 100644 index 000000000000..1c1b179239cc --- /dev/null +++ b/dev-python/json-rpc/json-rpc-1.14.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="JSON-RPC transport implementation for python" +HOMEPAGE=" + https://github.com/pavlov99/json-rpc/ + https://pypi.org/project/json-rpc/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +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 +} |