From: Daniel Pimentel <d4n1@d4n1.org>
To: guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Update python2-jsonrpclib (refactor)
Date: Thu, 16 Jun 2016 09:10:09 -0300 [thread overview]
Message-ID: <e65b5961caadfe449b33dd1d65a556c2@d4n1.org> (raw)
In-Reply-To: <542d6b081afeaf6902b236cb66163958@d4n1.org>
[-- Attachment #1: Type: text/plain, Size: 55 bytes --]
Add python2-jsonrpclib.
--
Daniel Pimentel (aka d4n1)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-python2-jsonrpclib.patch --]
[-- Type: text/x-diff; name=0001-gnu-Add-python2-jsonrpclib.patch, Size: 2038 bytes --]
From 9e8a67f7ad8c25ba8c45b52cf800d28a5322c362 Mon Sep 17 00:00:00 2001
From: Daniel Pimentel <d4n1@d4n1.org>
Date: Thu, 16 Jun 2016 09:08:24 -0300
Subject: [PATCH] gnu: Add python2-jsonrpclib
---
gnu/packages/python.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4f18680..6dece06 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -20,6 +20,7 @@
;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2016 Daniel Pimentel <d4n1@d4n1.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -9216,3 +9217,30 @@ specified in POSIX.1-2001 and POSIX.1-2008.")
(inherit (package-with-python2
(strip-python2-variant python-wcwidth)))
(native-inputs `(("python2-setuptools" ,python2-setuptools)))))
+
+(define-public python2-jsonrpclib
+ (package
+ (name "python2-jsonrpclib")
+ (version "0.1.7")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://pypi.python.org/packages/source/j/jsonrpclib/jsonrpclib-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "02vgirw2bcgvpcxhv5hf3yvvb4h5wzd1lpjx8na5psdmaffj6l3z"))))
+ (build-system python-build-system)
+ (inputs
+ `(("python2-setuptools" ,python2-setuptools)))
+ (arguments
+ `(#:tests? #f
+ #:python ,python-2))
+ (home-page "https://github.com/joshmarshall/jsonrpclib/")
+ (synopsis "Implementation of JSON-RPC specification for Python")
+ (description
+ "This library is an implementation of the JSON-RPC specification.
+It supports both the original 1.0 specification, as well as the
+new (proposed) 2.0 spec, which includes batch submission, keyword arguments,
+ etc.")
+ (license license:expat)))
--
2.7.4
next prev parent reply other threads:[~2016-06-16 12:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-10 0:14 [PATCH] gnu: Add python2-jsonrpclib Daniel Pimentel
2016-06-10 5:50 ` Ben Woodcroft
2016-06-11 23:28 ` d4n1
2016-06-14 19:52 ` [PATCH] gnu: Update python2-jsonrpclib Daniel Pimentel
2016-06-16 12:10 ` Daniel Pimentel [this message]
2016-06-18 0:22 ` [PATCH] gnu: Update python2-jsonrpclib (refactor) Leo Famulari
2016-06-18 0:39 ` [PATCH 1/1] gnu: Update python2-jsonrpclib Daniel Pimentel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e65b5961caadfe449b33dd1d65a556c2@d4n1.org \
--to=d4n1@d4n1.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).