diff options
Diffstat (limited to 'dev-python/json-rpc')
-rw-r--r-- | dev-python/json-rpc/Manifest | 2 | ||||
-rw-r--r-- | dev-python/json-rpc/json-rpc-1.14.0.ebuild | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/json-rpc/Manifest b/dev-python/json-rpc/Manifest index 85dfe749b924..d31e88d11d13 100644 --- a/dev-python/json-rpc/Manifest +++ b/dev-python/json-rpc/Manifest @@ -1,3 +1,5 @@ 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 EBUILD json-rpc-1.13.0-r1.ebuild 536 BLAKE2B db4ff80c6bb662e737c32ba2b9e0591e5a8f5c589fa237c0dbb6675195a77522028993fd6da7f5080eff933ce309c823a5f337c1619b38a0f5354e078d0118af SHA512 9c26f10452ff6fb404865ac18a63ddc895a9a9398e1c4e2bcd3cbdb71aad89f196494289db13676d08370ca471fdecfc6bb2fc458901e930d35b3e2f311dcfaf +EBUILD json-rpc-1.14.0.ebuild 737 BLAKE2B e48d88e471363c51e5cfb670d2a916aefc063ad91948776876431ac92202f438f6fe592ef826bdf3dff0dc0635392a967ef676b22124d19b1a1fb03a67de2f1d SHA512 ba6bced112b549f3217c0108a7ff6cb8d6e3bb56511b45843aa3410905837fedb90a793c6bd75a4842494037996cbb6ac4c59926b8556b50ad9e2fa27c8db4e4 MISC metadata.xml 917 BLAKE2B a46565463486cf7f97e1f92cafcad95939e195bcccdeadec5e8f27d3ec2d1534b65741719878f4f05d880b8207279c3fc42a8c0cf3968cf1482967f7637024d1 SHA512 997d5d434e156e7802b018579f01680fe876d59ce9926bbffec531d2b183fad31da3c39608d12a88aa956cb2ab279b9bbef461dde6e3b31c65909f17a155a503 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 +} |