When submitting patches that require other patches I've submitted,
should I put them together in a single patch, or keep them separate
like this?
Dylan
From 05af66570794e80b4e8ce2447152eba251d67759 Mon Sep 17 00:00:00 2001
From: Dylan Jeffers <sapient...@openmailbox.org>
Date: Fri, 12 Aug 2016 18:26:18 -0700
Subject: [PATCH] gnu: Add python-pypump
* gnu/packages/python.scm (python-pypump, python2-pypump): New
* variables.
---
gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 6ff1c5c..2f67ab7 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -24,6 +24,7 @@
;;; Copyright © 2016 Sou Bunnbu <iyzs...@gmail.com>
;;; Copyright © 2016 Troy Sankey <sankey...@gmail.com>
;;; Copyright © 2016 ng0 <n...@we.make.ritual.n0.is>
+;;; Copyright © 2016 Dylan Jeffers <sapientech@sapient...@openmailbox.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -9852,3 +9853,34 @@ etc.")
(package
(inherit base)
(name "ptpython2"))))
+
+(define-public python-pypump
+ (package
+ (name "python-pypump")
+ (version "0.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/xray7224/PyPump")
+ (commit "6b612a7ed3c5a9b0a0190f3999fcddb851d1900f")))
+ (file-name (string-append name "-" version))
+ (sha256
+ (base32
+ "0xy9kw54a2dasc5jig1rmllwv6y3pngbw8pvi0yx2qfpswgr5qbg"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("python-requests" ,python-requests)
+ ("python-oauthlib" ,python-oauthlib)
+ ("python-requests-oauthlib" ,python-requests-oauthlib)
+ ("python-dateutil-2" ,python-dateutil-2)))
+ (home-page "https://github.com/xray7224/PyPump")
+ (synopsis "Python Pump.io library")
+ (description "PyPump is a simple but powerful and pythonic
+way of interfacing with the pump.io API.")
+ (license gpl3+)))
+
+(define-public python2-pypump
+ (package-with-python2 python-pypump))
--
2.7.3