From patchwork Sat Sep 12 14:28:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marius Bakke X-Patchwork-Id: 24056 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 4098227BBE8; Sat, 12 Sep 2020 15:30:51 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0A7D727BBE7 for ; Sat, 12 Sep 2020 15:30:51 +0100 (BST) Received: from localhost ([::1]:49190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kH6YE-00044u-6t for patchwork@mira.cbaines.net; Sat, 12 Sep 2020 10:30:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kH6XZ-0002yx-2q for guix-patches@gnu.org; Sat, 12 Sep 2020 10:30:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37092) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kH6XY-00056f-LV for guix-patches@gnu.org; Sat, 12 Sep 2020 10:30:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kH6XY-0003un-FY for guix-patches@gnu.org; Sat, 12 Sep 2020 10:30:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43354] [PATCH 13/55] gnu: Add python-css-html-js-minify. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 12 Sep 2020 14:30:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43354 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43354@debbugs.gnu.org Received: via spool by 43354-submit@debbugs.gnu.org id=B43354.159992099814870 (code B ref 43354); Sat, 12 Sep 2020 14:30:08 +0000 Received: (at 43354) by debbugs.gnu.org; 12 Sep 2020 14:29:58 +0000 Received: from localhost ([127.0.0.1]:48616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kH6XO-0003rm-94 for submit@debbugs.gnu.org; Sat, 12 Sep 2020 10:29:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kH6XN-0003rJ-3i for 43354@debbugs.gnu.org; Sat, 12 Sep 2020 10:29:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36257) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kH6XH-00051u-Sf for 43354@debbugs.gnu.org; Sat, 12 Sep 2020 10:29:51 -0400 Received: from ti0006q161-3115.bb.online.no ([88.95.106.80]:52018 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kH6XE-0003JR-Nj for 43354@debbugs.gnu.org; Sat, 12 Sep 2020 10:29:51 -0400 From: Marius Bakke Date: Sat, 12 Sep 2020 16:28:29 +0200 Message-Id: <20200912142911.6231-13-marius@gnu.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200912142911.6231-1-marius@gnu.org> References: <20200912142911.6231-1-marius@gnu.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-css-html-js-minify): New public variable. --- gnu/packages/python-web.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 87c362e007..b6fac0bf65 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -252,6 +252,30 @@ communicate with each other, and positioned as an asynchronous successor to WSGI. This package includes libraries for implementing ASGI servers.") (license license:bsd-3))) +(define-public python-css-html-js-minify + (package + (name "python-css-html-js-minify") + (version "2.5.5") + (source (origin + (method url-fetch) + (uri (pypi-uri "css-html-js-minify" version ".zip")) + (sha256 + (base32 + "0v3l2dqdk2y4r6ax259gs4ij1zzm9yxg6491s6254vs9w3vi37sa")))) + (build-system python-build-system) + ;; XXX: The git repository has no tags, and the PyPI releases do not + ;; contain tests. + (arguments '(#:tests? #f)) + (native-inputs `(("unzip" ,unzip))) + (home-page "https://github.com/juancarlospaco/css-html-js-minify") + (synopsis "CSS/HTML/JS minifier") + (description + "This package provides a single-file minifier for CSS, HTML, and JavaScript.") + ;; XXX: The README just says "GNU GPL and GNU LGPL and MIT". From + ;; it + ;; looks like the user can choose a license. + (license (list license:gpl3+ license:lgpl3+ license:expat)))) + (define-public python-falcon (package (name "python-falcon")