Subject: [bug#27637] [PATCH 2/5] gnu: Add python-clyent

From: Muriithi Frederick Muriuki <[email-masked]>
Date: Tue, 18 Jul 2017 11:37:06 +0300

* gnu/packages/package-management.scm (python-clyent, python2-clyent):
* New variables.
* Add bsd-3 license.
---
 gnu/packages/package-management.scm | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index e8a401f1c..0c0b780ad 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -25,7 +25,7 @@
   #:use-module (guix utils)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
-  #:use-module ((guix licenses) #:select (gpl2+ gpl3+ lgpl2.1+ asl2.0 expat))
+  #:use-module ((guix licenses) #:select (gpl2+ gpl3+ lgpl2.1+ asl2.0 expat bsd-3))
   #:use-module (gnu packages)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages file)
@@ -541,3 +541,26 @@ saving time.  Almost all of the Olson timezones are supported.")
 
 (define-public python2-pytz
   (package-with-python2 python-pytz))
+
+(define-public python-clyent
+  (package
+    (name "python-clyent")
+    (version "1.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "clyent" version))
+       (sha256
+        (base32
+         "1r9987qmy1pz3hq54160bapqsywpq14waw4w9x3ly8hmq7kpgfbj"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-mock" ,python-mock)))
+    (home-page "https://github.com/binstar/clyent")
+    (synopsis "Command line client Library for windows and posix")
+    (description "Clyent is a python command line utiliy library for
+@code{binstar}, @code{binstar-build} and @code{chalmers}.")
+    (license bsd-3)))
+
+(define-public python2-clyent
+  (package-with-python2 python-clyent))
-- 
2.13.2