From mboxrd@z Thu Jan 1 00:00:00 1970 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 Subject: [bug#34204] [PATCH 2/3] gnu: Add Python LiveReload. Resent-Message-ID: From: Mathieu Lirzin Date: Sat, 26 Jan 2019 01:28:48 +0100 Message-Id: <20190126002849.7707-2-mthl@gnu.org> In-Reply-To: <20190126002849.7707-1-mthl@gnu.org> References: <20190126002849.7707-1-mthl@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34204@debbugs.gnu.org Cc: Mathieu Lirzin * 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))) -- 2.20.1