summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2014-06-26 00:27:10 +0000
committerPatrick McLean <chutzpah@gentoo.org>2014-06-26 00:27:10 +0000
commit15603d3f19fb04042c508c42552cd1316bc6f860 (patch)
treee6b29fefcca3ce6654e59ea0094fe0a2bf5a1ddb /dev-python/json-rpc
parentAutomated update. (diff)
downloadgentoo-2-15603d3f19fb04042c508c42552cd1316bc6f860.tar.gz
gentoo-2-15603d3f19fb04042c508c42552cd1316bc6f860.tar.bz2
gentoo-2-15603d3f19fb04042c508c42552cd1316bc6f860.zip
New package, json-rpc implementation for python
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xE3F69979BB4B8928DA78E3D17CBF44EF)
Diffstat (limited to 'dev-python/json-rpc')
-rw-r--r--dev-python/json-rpc/ChangeLog10
-rw-r--r--dev-python/json-rpc/json-rpc-1.6.0.ebuild26
-rw-r--r--dev-python/json-rpc/metadata.xml13
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/json-rpc/ChangeLog b/dev-python/json-rpc/ChangeLog
new file mode 100644
index 000000000000..9c563d9bb758
--- /dev/null
+++ b/dev-python/json-rpc/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/json-rpc
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/json-rpc/ChangeLog,v 1.1 2014/06/26 00:27:10 chutzpah Exp $
+
+*json-rpc-1.6.0 (26 Jun 2014)
+
+ 26 Jun 2014; Patrick McLean <chutzpah@gentoo.org> +json-rpc-1.6.0.ebuild,
+ +metadata.xml:
+ New package, json-rpc implementation for python
+
diff --git a/dev-python/json-rpc/json-rpc-1.6.0.ebuild b/dev-python/json-rpc/json-rpc-1.6.0.ebuild
new file mode 100644
index 000000000000..8eb54e2630bf
--- /dev/null
+++ b/dev-python/json-rpc/json-rpc-1.6.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/json-rpc/json-rpc-1.6.0.ebuild,v 1.1 2014/06/26 00:27:10 chutzpah Exp $
+
+EAPI=5
+PYTHON_COMPAT=(python{2_7,3_{3,4}})
+
+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"
+
+DEPEND="test? (
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/mock[${PYTHON_USEDEP}]
+ )"
+
+python_test() {
+ esetup.py test || die
+}
diff --git a/dev-python/json-rpc/metadata.xml b/dev-python/json-rpc/metadata.xml
new file mode 100644
index 000000000000..7689ba1208a6
--- /dev/null
+++ b/dev-python/json-rpc/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+<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>
+</pkgmetadata>
+