From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dylan Jeffers Subject: [PATCH] gnu: Add python-pypump Date: Fri, 12 Aug 2016 18:31:29 -0700 Message-ID: <20160812183129.0f76b28a@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/i=QpRbb6xzckD.4ImtBp/tk" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYNnv-0004Ce-6L for guix-devel@gnu.org; Fri, 12 Aug 2016 21:32:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYNnq-0003z7-UT for guix-devel@gnu.org; Fri, 12 Aug 2016 21:32:02 -0400 Received: from mail.openmailbox.org ([62.4.1.34]:59259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYNnq-0003ys-Md for guix-devel@gnu.org; Fri, 12 Aug 2016 21:31:58 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --MP_/i=QpRbb6xzckD.4ImtBp/tk Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 --MP_/i=QpRbb6xzckD.4ImtBp/tk Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=python-pypump.patch =46rom 05af66570794e80b4e8ce2447152eba251d67759 Mon Sep 17 00:00:00 2001 From: Dylan Jeffers 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 =C2=A9 2016 Sou Bunnbu ;;; Copyright =C2=A9 2016 Troy Sankey ;;; Copyright =C2=A9 2016 ng0 +;;; Copyright =C2=A9 2016 Dylan Jeffers ;;; ;;; 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)) --=20 2.7.3 --MP_/i=QpRbb6xzckD.4ImtBp/tk--