From patchwork Tue Oct 23 19:10:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Geerinckx-Rice X-Patchwork-Id: 10 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 352ED1674F; Tue, 23 Oct 2018 20:12:35 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTPS id E876F1674C for ; Tue, 23 Oct 2018 20:12:34 +0100 (BST) Received: from localhost ([::1]:43862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gF26U-0004R1-6u for patchwork@mira.cbaines.net; Tue, 23 Oct 2018 15:12:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gF253-0003bf-30 for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gF24z-0003uA-Us for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34265) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gF24z-0003u2-Qm for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gF24z-0004YF-LP for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#33131] [PATCH 1/4] gnu: Add python-readlike. References: <87r2gga3dq.fsf@tobias.gr> In-Reply-To: <87r2gga3dq.fsf@tobias.gr> Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Oct 2018 19:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33131 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33131@debbugs.gnu.org Received: via spool by 33131-submit@debbugs.gnu.org id=B33131.154032182417410 (code B ref 33131); Tue, 23 Oct 2018 19:11:01 +0000 Received: (at 33131) by debbugs.gnu.org; 23 Oct 2018 19:10:24 +0000 Received: from localhost ([127.0.0.1]:38515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gF24O-0004Wj-0o for submit@debbugs.gnu.org; Tue, 23 Oct 2018 15:10:24 -0400 Received: from tobias.gr ([80.241.217.52]:49582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gF24L-0004WU-TH for 33131@debbugs.gnu.org; Tue, 23 Oct 2018 15:10:22 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 98670bf6 for <33131@debbugs.gnu.org>; Tue, 23 Oct 2018 19:10:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=2018; i=me@tobias.gr; bh=JC94MfIH0ElV8C2p0ZYSUrbk0o4V9pYsrS+f 6hsys+E=; b=LglWTbIUedKssujQoyGeBGkN28N8NzGUhqoapdbADpsLadTjtbMT NhapD2wnBOUBNuqaU16l+J8FOqPQN8wbpSt7+tCkKrnSBPasEfpanCW5WxZh5uWe 5tqnFOlU6fxt1If7X7tgLvKAM/UWJs27RUR+FKfFt51/3ff5/sq5c0Ri8hjamrSW lU+QUVp71oQEKvs75iQdu80FmbJWn2VlMNckqiu+zlaKvZwVMCI/e1z/H6Rsaeeh 8fFbXjU+CaZr7RopJNOKteFb1+TPFrotnJqLfYZ3ae+f38DjRoVqgRcFpLgXxVr2 TGXZr4ZGrdKLBg5Svm2SYlo5yn7h+koknA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 11165fff (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <33131@debbugs.gnu.org>; Tue, 23 Oct 2018 19:10:18 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Tue, 23 Oct 2018 21:10:13 +0200 Message-Id: <20181023191016.12096-1-me@tobias.gr> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python.scm (python-readlike, python2-readlike): New public variables. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index dee7d9a06..d9f3ebfc5 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -14524,3 +14524,30 @@ can be retrieved in constant time. Some of the terminology is inspired by LISP. It is possible to create an improper list by creating a @code{Pair} with a non-list @code{cdr}.") (license license:gpl3+))) + +(define-public python-readlike + (package + (name "python-readlike") + (version "0.1.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "readlike" version)) + (sha256 + (base32 "027w8fvi50ksl57q0a7kb5zvmq8jxaawnviib1jdqw0p3igvm1j4")))) + (build-system python-build-system) + (home-page "https://github.com/jangler/readlike") + (synopsis "GNU Readline-like line editing module") + (description + "This Python module provides line editing functions similar to the default +Emacs-style ones of GNU Readline. Unlike the Python standard library's +@code{readline} package, this one allows access to those capabilties in settings +outside of a standard command-line interface. It is especially well-suited to +interfacing with Urwid, due to a shared syntax for describing key inputs. + +Currently, all stateless Readline commands are implemented. Yanking and history +are not supported.") + (license license:expat))) + +(define-public python2-readlike + (package-with-python2 python-readlike)) From patchwork Tue Oct 23 19:10:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Geerinckx-Rice X-Patchwork-Id: 7 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5DF8C1674F; Tue, 23 Oct 2018 20:11:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTPS id 81F1D1674C for ; Tue, 23 Oct 2018 20:11:08 +0100 (BST) Received: from localhost ([::1]:43853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gF255-0003cj-QE for patchwork@mira.cbaines.net; Tue, 23 Oct 2018 15:11:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gF253-0003be-30 for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gF250-0003um-HM for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34266) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gF250-0003uL-8b for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gF250-0004YM-3O for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#33131] [PATCH 2/4] gnu: Add python-reparser. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Oct 2018 19:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33131 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33131@debbugs.gnu.org Received: via spool by 33131-submit@debbugs.gnu.org id=B33131.154032182517424 (code B ref 33131); Tue, 23 Oct 2018 19:11:02 +0000 Received: (at 33131) by debbugs.gnu.org; 23 Oct 2018 19:10:25 +0000 Received: from localhost ([127.0.0.1]:38518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gF24P-0004Wx-BE for submit@debbugs.gnu.org; Tue, 23 Oct 2018 15:10:25 -0400 Received: from tobias.gr ([80.241.217.52]:49582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gF24M-0004WU-M5 for 33131@debbugs.gnu.org; Tue, 23 Oct 2018 15:10:23 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 80d39a69 for <33131@debbugs.gnu.org>; Tue, 23 Oct 2018 19:10:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=2018; i=me@tobias.gr; bh=2cmOl5pXR /Fp2LUfTA8A6OYsbv4/OAzd4fYZz3onGyI=; b=DpXBrf5z+rWBb8Q3U0nB+HyQB aFZC47kud/tqc22qLW1HRhMdZOcXP4RRK1n8H0Ie6zOpNGVyu38bQ6r/988guD6x fTzgwBCRN1CUt4fXHcdgjTbPEwtrFkCtteUOiOq2tIkQKHwsnz0oMYhoZ/RkIkkI suZ5jDngyZA4Y0f2ue/SPKHeXwbo/a+7YnwUtlko2Q2YSN1JR4zORZj5jjudPAG+ 8K+11Ldsy1hY//J9cJgw14HZ2HWUA5ZtanEJdqdWVNkwMSHj4/s/qtZLfI2D56ZT Q5kxkQwd1Q0cwzK6rppFTsqKkWPUviQpsRntMz1n11WlyXCpcnHowEr9A6d5Q== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id efabb503 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <33131@debbugs.gnu.org>; Tue, 23 Oct 2018 19:10:18 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Tue, 23 Oct 2018 21:10:14 +0200 Message-Id: <20181023191016.12096-2-me@tobias.gr> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181023191016.12096-1-me@tobias.gr> References: <20181023191016.12096-1-me@tobias.gr> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python.scm (python-reparser, python2-reparser): New public variable. --- gnu/packages/python.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index d9f3ebfc5..fbb280224 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -14551,3 +14551,29 @@ are not supported.") (define-public python2-readlike (package-with-python2 python-readlike)) + +(define-public python-reparser + (package + (name "python-reparser") + (version "1.4.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ReParser" version)) + (sha256 + (base32 "0nniqb69xr0fv7ydlmrr877wyyjb61nlayka7xr08vlxl9caz776")))) + (build-system python-build-system) + (home-page "https://github.com/xmikos/reparser") + (synopsis "Simple lexer/parser for inline markup based on regular expressions") + (description + "This Python library provides a simple lexer/parser for inline markup based +on regular expressions.") + (license license:expat))) + +(define-public python2-reparser + (let ((reparser (package-with-python2 + (strip-python2-variant python-reparser)))) + (package (inherit reparser) + (propagated-inputs + `(("python2-enum34" ,python2-enum34) + ,@(package-propagated-inputs reparser)))))) From patchwork Tue Oct 23 19:10:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tobias Geerinckx-Rice X-Patchwork-Id: 8 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1B61D1674F; Tue, 23 Oct 2018 20:11:21 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTPS id C56DB1674C for ; Tue, 23 Oct 2018 20:11:20 +0100 (BST) Received: from localhost ([::1]:43857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gF25I-0003k0-1E for patchwork@mira.cbaines.net; Tue, 23 Oct 2018 15:11:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gF256-0003eR-Tn for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gF250-0003wE-WF for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34267) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gF250-0003w1-NM for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gF250-0004YU-Hp for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#33131] [PATCH 3/4] gnu: Add python-mechanicalsoup. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Oct 2018 19:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33131 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33131@debbugs.gnu.org Received: via spool by 33131-submit@debbugs.gnu.org id=B33131.154032182617435 (code B ref 33131); Tue, 23 Oct 2018 19:11:02 +0000 Received: (at 33131) by debbugs.gnu.org; 23 Oct 2018 19:10:26 +0000 Received: from localhost ([127.0.0.1]:38521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gF24P-0004Wz-MX for submit@debbugs.gnu.org; Tue, 23 Oct 2018 15:10:26 -0400 Received: from tobias.gr ([80.241.217.52]:49582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gF24O-0004WU-Ev for 33131@debbugs.gnu.org; Tue, 23 Oct 2018 15:10:24 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 6898ec2e for <33131@debbugs.gnu.org>; Tue, 23 Oct 2018 19:10:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=2018; i=me@tobias.gr; bh=7XHfnip86TCf26X7/cIy6Qyy+axDphI67+o+BcfMGFo=; b=hZ+aPeQJnpsv ejHuE78ZL99SoJDXrO8fAauPoHBbDWOAl1cteaOyrVGRUGyFdBDS/AGdYD9nXSvY 2ONXyBE+ZrQ2cX4Lk/KKi2wG2CJSvr5JoPcc+IcTkg3MkynFGfhNytMiyzIHEE9C 8snV+yIBtdW10TPVeMZ4fVQtoFbYvoPoiGAs7Rb0s6ZmbU4+s9NX34WN6fiU4Ztv XGw7bV8h2jk3qs4frEzP7B0vsdRdqDgnzbAUHpvbJ11W9Ob0is5EEGmRC2lJsa3d 23UzEG00i2MjVci93DSpiSKr5goG3RIPF0iUsgyqrfsyya2EYKBAv9wqISaPC5Pv riLIFU1rqQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 024a030d (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <33131@debbugs.gnu.org>; Tue, 23 Oct 2018 19:10:18 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Tue, 23 Oct 2018 21:10:15 +0200 Message-Id: <20181023191016.12096-3-me@tobias.gr> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181023191016.12096-1-me@tobias.gr> References: <20181023191016.12096-1-me@tobias.gr> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-web.scm (python-mechanicalsoup) (python2-mechanicalsoup): New public variable. --- gnu/packages/python-web.scm | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index f8052458a..eda796e01 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -60,6 +60,7 @@ #:use-module (gnu packages python-crypto) #:use-module (gnu packages tls) #:use-module (gnu packages time) + #:use-module (gnu packages web) #:use-module (gnu packages xml) #:use-module ((guix licenses) #:prefix license:) #:use-module (srfi srfi-1)) @@ -255,6 +256,43 @@ other HTTP libraries.") (define-public python2-httplib2 (package-with-python2 python-httplib2)) +(define-public python-mechanicalsoup + (package + (name "python-mechanicalsoup") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "MechanicalSoup" version)) + (sha256 + (base32 "0k59wwk75q7nz6i6gynvzhagy02ql0bv7py3qqcwgjw7607yq4i7")))) + (build-system python-build-system) + (arguments + ;; TODO: Enable tests when python-flake8@3.5 hits master. + `(#:tests? #f)) + (propagated-inputs + `(("python-beautifulsoup4" ,python-beautifulsoup4) + ("python-lxml" ,python-lxml) + ("python-requests" ,python-requests) + ("python-six" ,python-six))) + ;; (native-inputs + ;; ;; For tests. + ;; `(("python-pytest-flake8" ,python-pytest-flake8) + ;; ("python-pytest-httpbin" ,python-pytest-httpbin) + ;; ("python-pytest-mock" ,python-pytest-mock) + ;; ("python-pytest-runner" ,python-pytest-runner) + ;; ("python-requests-mock" ,python-requests-mock))) + (home-page "https://mechanicalsoup.readthedocs.io/") + (synopsis "Python library for automating website interaction") + (description + "MechanicalSoup is a Python library for automating interaction with +websites. It automatically stores and sends cookies, follows redirects, and can +follow links and submit forms. It doesn’t do JavaScript.") + (license license:expat))) + +(define-public python2-mechanicalsoup + (package-with-python2 python-mechanicalsoup)) + (define-public python-sockjs-tornado (package (name "python-sockjs-tornado") From patchwork Tue Oct 23 19:10:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tobias Geerinckx-Rice X-Patchwork-Id: 9 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 94E8E1674F; Tue, 23 Oct 2018 20:11:31 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTPS id 4B6E71674C for ; Tue, 23 Oct 2018 20:11:31 +0100 (BST) Received: from localhost ([::1]:43858 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gF25R-0003qB-02 for patchwork@mira.cbaines.net; Tue, 23 Oct 2018 15:11:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gF256-0003eT-Ui for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gF251-0003wQ-9M for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34268) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gF251-0003wI-4f for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gF250-0004Yb-VV for guix-patches@gnu.org; Tue, 23 Oct 2018 15:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#33131] [PATCH 4/4] gnu: Add hangups. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Oct 2018 19:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33131 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33131@debbugs.gnu.org Received: via spool by 33131-submit@debbugs.gnu.org id=B33131.154032183117448 (code B ref 33131); Tue, 23 Oct 2018 19:11:02 +0000 Received: (at 33131) by debbugs.gnu.org; 23 Oct 2018 19:10:31 +0000 Received: from localhost ([127.0.0.1]:38523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gF24U-0004XL-3N for submit@debbugs.gnu.org; Tue, 23 Oct 2018 15:10:31 -0400 Received: from tobias.gr ([80.241.217.52]:49582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gF24P-0004WU-9C for 33131@debbugs.gnu.org; Tue, 23 Oct 2018 15:10:25 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id c351e263 for <33131@debbugs.gnu.org>; Tue, 23 Oct 2018 19:10:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=2018; i=me@tobias.gr; bh=zMf9qnp7GbvIbnXp507CQDEf6py81vk2gm37zFqbX+8=; b=FTNE42F6+/li y4as/K/TWFO2coGXJKEdAf5hauFxvHkLJjMTgqgO/4QlM4INagM0IoSAq2NH668T 3j4lSttzW7teVUSL6XQGv7ImBoQDYtQe4dmjgCYyrPKUV8WF8moDBPlFrckns7Zk KhkIlREKwfJC0lresOsk1iS22x0qyk+XbMs88vJ6Xzin2uec0VENtGBabvAvb1Cb PGEjNJXUwB2P8y+96VXY3p2URBSxYfIvHK6smkwjsBUrP5m+CRZS5rKs82lwr/tS 0yY9plRC73ertW85wXbPtN6zIkHqyTGRLXl8HyxvbTna+41e8jWxRBo1abqp1zCo duVEYqB/Dw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 23f0c405 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <33131@debbugs.gnu.org>; Tue, 23 Oct 2018 19:10:18 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Tue, 23 Oct 2018 21:10:16 +0200 Message-Id: <20181023191016.12096-4-me@tobias.gr> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181023191016.12096-1-me@tobias.gr> References: <20181023191016.12096-1-me@tobias.gr> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/messaging.scm (hangups): New public variable. --- gnu/packages/messaging.scm | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index 3f050391b..711b7d0fa 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -71,8 +71,10 @@ #:use-module (gnu packages perl) #:use-module (gnu packages photo) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages protobuf) #:use-module (gnu packages python) #:use-module (gnu packages python-crypto) + #:use-module (gnu packages python-web) #:use-module (gnu packages qt) #:use-module (gnu packages readline) #:use-module (gnu packages tcl) @@ -1719,4 +1721,46 @@ QMatrixClient project.") (license (list license:gpl3+ ; all source code license:lgpl3+)))) ; icons/breeze +(define-public hangups + (package + (name "hangups") + (version "0.4.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "hangups" version)) + (sha256 + (base32 "0mvpfd5dc3zgcvwfidcd2qyn59xl5biv728mxifw0ls5rzkc9chs")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'build 'relax-dependencies + ;; Relax overly strict package version specifications. + (lambda _ + (substitute* "setup.py" + (("==") ">=")) + #t))))) + (propagated-inputs + `(("python-aiohttp" ,python-aiohttp) + ("python-appdirs" ,python-appdirs) + ("python-async-timeout" ,python-async-timeout) + ("python-configargparse" ,python-configargparse) + ("python-mechanicalsoup" ,python-mechanicalsoup) + ("python-protobuf" ,python-protobuf) + ("python-readlike" ,python-readlike) + ("python-reparser" ,python-reparser) + ("python-requests" ,python-requests) + ("python-urwid" ,python-urwid))) + (home-page "https://hangups.readthedocs.io/") + (synopsis "Instant messaging client for Google Hangouts") + (description + "Hangups is an instant messaging client for Google Hangouts. It includes +both a Python library and a reference client with a text-based user interface. + +Hangups is implements a reverse-engineered version of Hangouts' proprietary, +non-interoperable protocol, which allows it to support features like group + messaging that aren’t available to clients that connect over XMPP.") + (license license:expat))) + ;;; messaging.scm ends here