From patchwork Sun Oct 28 09:26:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 38 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 A5DE116753; Sun, 28 Oct 2018 09:28:27 +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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY,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 616A71672F for ; Sun, 28 Oct 2018 09:28:27 +0000 (GMT) Received: from localhost ([::1]:39410 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGhMw-0005tH-Ki for patchwork@mira.cbaines.net; Sun, 28 Oct 2018 05:28:26 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gGhMh-0005jw-GT for guix-patches@gnu.org; Sun, 28 Oct 2018 05:28:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gGhMd-0004gh-Ku for guix-patches@gnu.org; Sun, 28 Oct 2018 05:28:11 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42444) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gGhMY-0004dt-SL for guix-patches@gnu.org; Sun, 28 Oct 2018 05:28:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gGhMY-0000au-Iv for guix-patches@gnu.org; Sun, 28 Oct 2018 05:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#33185] [PATCH 1/7] gnu: Add python-jsmin. References: <87y3aie8a1.fsf@cbaines.net> In-Reply-To: <87y3aie8a1.fsf@cbaines.net> Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Oct 2018 09:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33185 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33185@debbugs.gnu.org Received: via spool by 33185-submit@debbugs.gnu.org id=B33185.15407188252170 (code B ref 33185); Sun, 28 Oct 2018 09:28:02 +0000 Received: (at 33185) by debbugs.gnu.org; 28 Oct 2018 09:27:05 +0000 Received: from localhost ([127.0.0.1]:46690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGhLd-0000Yq-9F for submit@debbugs.gnu.org; Sun, 28 Oct 2018 05:27:05 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:44440 helo=mira.cbaines.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gGhLb-0000YG-Jn for 33185@debbugs.gnu.org; Sun, 28 Oct 2018 05:27:04 -0400 Received: by mira.cbaines.net (Postfix, from userid 113) id E673A1672F; Sun, 28 Oct 2018 09:27:02 +0000 (GMT) Received: from localhost (127.103.9.51.dyn.plus.net [51.9.103.127]) by mira.cbaines.net (Postfix) with ESMTPSA id 9AA2E1672F for <33185@debbugs.gnu.org>; Sun, 28 Oct 2018 09:27:02 +0000 (GMT) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id fe756f41 for <33185@debbugs.gnu.org>; Sun, 28 Oct 2018 09:27:02 +0000 (UTC) From: Christopher Baines Date: Sun, 28 Oct 2018 09:26:56 +0000 Message-Id: <20181028092702.22549-1-mail@cbaines.net> X-Mailer: git-send-email 2.18.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-jsmin, python2-jsmin): New variables. --- 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 f8052458a..c00992c71 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2130,6 +2130,28 @@ It comes with safe defaults and easily configurable options.") (define-public python2-flask-htmlmin (package-with-python2 python-flask-htmlmin)) +(define-public python-jsmin + (package + (name "python-jsmin") + (version "2.2.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "jsmin" version)) + (sha256 + (base32 + "0fsmqbjvpxvff0984x7c0y8xmf49ax9mncz48b9xjx8wrnr9kpxn")))) + (build-system python-build-system) + (home-page "https://github.com/tikitu/jsmin/") + (synopsis "Python JavaScript minifier") + (description + "@code{jsmin} is a JavaScript minifier, usable from both Python code and +on the command line.") + (license license:expat))) + +(define-public python2-jsmin + (package-with-python2 python-jsmin)) + (define-public python-flask-login (package (name "python-flask-login")