From patchwork Sat Jan 26 00:28:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Lirzin X-Patchwork-Id: 824 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 324E316A92; Sat, 26 Jan 2019 00:30:10 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id CE59B16A8E for ; Sat, 26 Jan 2019 00:30:09 +0000 (GMT) Received: from localhost ([127.0.0.1]:52991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnBrN-0004Hp-CA for patchwork@mira.cbaines.net; Fri, 25 Jan 2019 19:30:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnBrH-0004C9-OW for guix-patches@gnu.org; Fri, 25 Jan 2019 19:30:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnBrG-0005uV-TU for guix-patches@gnu.org; Fri, 25 Jan 2019 19:30:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46455) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnBrG-0005tq-J8 for guix-patches@gnu.org; Fri, 25 Jan 2019 19:30:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnBrG-0006y2-C5 for guix-patches@gnu.org; Fri, 25 Jan 2019 19:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#34204] [PATCH 2/3] gnu: Add Python LiveReload. Resent-From: Mathieu Lirzin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Jan 2019 00:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34204 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34204@debbugs.gnu.org Received: via spool by 34204-submit@debbugs.gnu.org id=B34204.154846254726668 (code B ref 34204); Sat, 26 Jan 2019 00:30:02 +0000 Received: (at 34204) by debbugs.gnu.org; 26 Jan 2019 00:29:07 +0000 Received: from localhost ([127.0.0.1]:45732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnBqN-0006w3-Cq for submit@debbugs.gnu.org; Fri, 25 Jan 2019 19:29:07 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:34907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnBqL-0006vp-IL for 34204@debbugs.gnu.org; Fri, 25 Jan 2019 19:29:05 -0500 X-Originating-IP: 77.136.43.248 Received: from localhost.localdomain (248.43.136.77.rev.sfr.net [77.136.43.248]) (Authenticated sender: mthl@reuz.fr) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 787321C0003; Sat, 26 Jan 2019 00:29:04 +0000 (UTC) From: Mathieu Lirzin Date: Sat, 26 Jan 2019 01:28:48 +0100 Message-Id: <20190126002849.7707-2-mthl@gnu.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190126002849.7707-1-mthl@gnu.org> References: <20190126002849.7707-1-mthl@gnu.org> 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: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mathieu Lirzin 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-livereload): New variable. --- gnu/packages/python-web.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 19ff7d2dc4..24fa4ec60a 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2923,3 +2923,25 @@ underlies Mozilla Persona.") "This is a Python library for interacting with the Firefox Accounts ecosystem.") (license license:mpl2.0))) + +(define-public python-livereload + (package + (name "python-livereload") + (version "2.6.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "livereload" version)) + (sha256 + (base32 + "19s9lrzq33ds3d580q99y0zg8f1vhyz6afpisz0mb49l3p6sccp6")))) + (build-system python-build-system) + (propagated-inputs + `(("python-six" ,python-six) + ("python-tornado" ,python-tornado))) + (home-page "https://github.com/lepture/python-livereload") + (synopsis "Live reload server in Python") + (description + "This provides the @code{livereload} command line utility for starting a +server in a directory. By default, it listens to port 35729 which is the +common port for LiveReload browser extensions.") + (license license:bsd-3)))