diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/json-rpc | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
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.11.0.ebuild | 41 | ||||
| -rw-r--r-- | dev-python/json-rpc/json-rpc-1.13.0.ebuild | 26 | ||||
| -rw-r--r-- | dev-python/json-rpc/metadata.xml | 24 |
4 files changed, 93 insertions, 0 deletions
diff --git a/dev-python/json-rpc/Manifest b/dev-python/json-rpc/Manifest new file mode 100644 index 000000000000..1fd7bca957ae --- /dev/null +++ b/dev-python/json-rpc/Manifest @@ -0,0 +1,2 @@ +DIST json-rpc-1.11.0.tar.gz 29442 BLAKE2B b2a77bdcc2f5efe64527feb29b28c0add90b9fdbd5aa73dce18c33e9a10342c1e6b04ed5d53c110e3f1b6287cf1fdca9db77e38a04651e0a522b76c0351ec993 SHA512 aa5a467ef0e6e556612f77855d38f0dfb76b22556490fac5f0989d27b7608aed8389042ded1a0d8fcbee1f20294c78a6af3c030f41c4e30ec1effae8e51530fb +DIST json-rpc-1.13.0.tar.gz 31089 BLAKE2B f2058bf78cf1924aff7bf7882aa693cbbb5419624bf3e3508a344754265985907cb16456de611b9be23afd701bd2f664ccb05f954622e543bd9db0ab8be52101 SHA512 76cd320b29c32a79fcafbd415cea8d4ca98a349b22b29c379aa06a89a76cd2b5bcba2e0883d8cad75ee43c4a979759a6af513d3cfb30076965de08e1ee801b9e diff --git a/dev-python/json-rpc/json-rpc-1.11.0.ebuild b/dev-python/json-rpc/json-rpc-1.11.0.ebuild new file mode 100644 index 000000000000..4c5cc11feda4 --- /dev/null +++ b/dev-python/json-rpc/json-rpc-1.11.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_6 ) + +inherit distutils-r1 + +DESCRIPTION="JSON-RPC transport implementation for python" +HOMEPAGE="https://github.com/pavlov99/json-rpc" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" + +DEPEND=" + ${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + )" + +python_prepare_all() { + cat > jsonrpc/six.py <<- EOF || die + from __future__ import absolute_import + from six import * + EOF + distutils-r1_python_prepare_all +} + +python_test() { + esetup.py test || die +} diff --git a/dev-python/json-rpc/json-rpc-1.13.0.ebuild b/dev-python/json-rpc/json-rpc-1.13.0.ebuild new file mode 100644 index 000000000000..d36454c2f52b --- /dev/null +++ b/dev-python/json-rpc/json-rpc-1.13.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_6 python3_7 python3_8 ) + +inherit distutils-r1 + +DESCRIPTION="JSON-RPC transport implementation for python" +HOMEPAGE="https://github.com/pavlov99/json-rpc" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" + +BDEPEND="${RDEPEND} + test? ( dev-python/flask[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests pytest diff --git a/dev-python/json-rpc/metadata.xml b/dev-python/json-rpc/metadata.xml new file mode 100644 index 000000000000..83591d05e0f0 --- /dev/null +++ b/dev-python/json-rpc/metadata.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chutzpah@gentoo.org</email> + <name>Patrick McLean</name> + </maintainer> + <maintainer type="person"> + <email>gyakovlev@gentoo.org</email> + <name>Georgy Yakovlev</name> + </maintainer> + <longdescription lang="en"> + JSON-RPC is a stateless, light-weight remote procedure call (RPC) protocol. + Primarily this specification defines several data structures and the rules + around their processing. It is transport agnostic in that the concepts can + be used within the same process, over sockets, over http, or in many various + message passing environments. It uses JSON (RFC 4627) as data format. +</longdescription> + <upstream> + <remote-id type="pypi">json-rpc</remote-id> + <remote-id type="github">pavlov99/json-rpc</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> |
