From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8G0AKYe+QGKeagEAgWs5BA (envelope-from ) for ; Sun, 27 Mar 2022 21:44:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id ANW0JYe+QGKyWQAAauVa8A (envelope-from ) for ; Sun, 27 Mar 2022 21:44:07 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 169D136761 for ; Sun, 27 Mar 2022 21:44:07 +0200 (CEST) Received: from localhost ([::1]:51550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nYYo2-0005Pp-9h for larch@yhetil.org; Sun, 27 Mar 2022 15:44:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYYny-0005PN-Cd for guix-patches@gnu.org; Sun, 27 Mar 2022 15:44:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34474) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nYYny-0005Ja-3w for guix-patches@gnu.org; Sun, 27 Mar 2022 15:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nYYnx-0001c4-UP for guix-patches@gnu.org; Sun, 27 Mar 2022 15:44:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54601] Add python-flask-compress and python-flask-seasurf Resent-From: kiasoc5@tutanota.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Mar 2022 19:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54601 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 54601@debbugs.gnu.org X-Debbugs-Original-To: Guix Patches Received: via spool by submit@debbugs.gnu.org id=B.16484101946136 (code B ref -1); Sun, 27 Mar 2022 19:44:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Mar 2022 19:43:14 +0000 Received: from localhost ([127.0.0.1]:56604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYYnB-0001au-N8 for submit@debbugs.gnu.org; Sun, 27 Mar 2022 15:43:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:49422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYYnA-0001an-2l for submit@debbugs.gnu.org; Sun, 27 Mar 2022 15:43:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60020) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYYn9-0005Ms-Se for guix-patches@gnu.org; Sun, 27 Mar 2022 15:43:11 -0400 Received: from w1.tutanota.de ([81.3.6.162]:33618) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYYn8-0005HC-5l for guix-patches@gnu.org; Sun, 27 Mar 2022 15:43:11 -0400 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id E972BFA00BA for ; Sun, 27 Mar 2022 19:43:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1648410188; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=S3pHrnx6b/5bghSA4k3Led8as70cBS0NYKmAl7GsC/c=; b=H4FiKjHYs08NAmq6NcwryFoubFKdbFk+eBy3PTB5M70LXVSpoY1Q6ccmJOmgrDvz ajb4GRhV+iAFxQ4qSZEHz2zx4xvLwYTP0UbnqCKDP32n1StQtGcPXwsebLZ+8BHYKqr xfTivzKbvAvGyarcSNaWPgSpIR64w/Lo+0TImCawWZ9hXR0KfL3iivBvRSUdH3f+sLt MnRjyMOn0PAum6d9pt4iwNrSuOxXSGXVJgDA2AVArJjcAvTr4Bbv4cvk3bifG43Krhr /U9EnBtFwh7RqY0A4LFF91DdpM9aZwNGE7gJ25ew7S6X9mO29fCAPFEMaouP+5UUyPn gwr5+qCfEQ== Date: Sun, 27 Mar 2022 21:43:08 +0200 (CEST) Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_340991_346091381.1648410188945" Received-SPF: pass client-ip=81.3.6.162; envelope-from=kiasoc5@tutanota.com; helo=w1.tutanota.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: kiasoc5@tutanota.com X-ACL-Warn: , kiasoc5--- via Guix-patches From: kiasoc5--- via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648410247; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=S3pHrnx6b/5bghSA4k3Led8as70cBS0NYKmAl7GsC/c=; b=FhMha6YvBH2h3hSV2ZBBp445WbAmccrOyse3J6KRpOgIHtaZAE/g/NafoxuLUCfUm+5BX0 r53gkUZNaSWuHrCQU87wLohj17bm0fmz1/qVGDazOwv7lJo7rZGPjvthNjck+PZS5DOE1n S/IJwIp5YlS9mLg/EkGIi0EQZbwtxSpquhJBlm8wATCIZxBEyOhCq8Qy+Ktt/wnOZNUCJt UIwYKkOQ5etO/LhoFEqK5/tEIoBmlf8wKJArwd08V0PJkV0G+9nGpNl2xu4wxq2AUEmbSL 552j5cARANZaV2EMbjDyx7G7Y4s75pjEc6T8RRM3knAn45q6fgC+OBOKrwJ08Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648410247; a=rsa-sha256; cv=none; b=TFfx8eYM6cX8ryHs6IseceaM2fmdWxUPLlUKTFvZsRpJcgAUiw9xMVmEH0eHaLojv3yChK fLW8to5EkSGkyRXV/CWhs0cWo0N/lo+RcESWKa4PJwIoK3olEbr+oAyx3IIWKM+aEL7qCv v2VkPnfVZUOqFo+OIcXvXVmko+5Rz3bH2b9cDS4Jq78AgVa+mo6fEFEVbq+u0Fwq7ILaex xrEP1alci57BkNeGqvnxLRK8jdrUT7djMwqlX1ghOJo/jqwpqqcJrbwn9fAGBL1S2HWO9Z pTa6gsoMyHDoEr8pSFrBz4OpcrPkEVXPQiizFVPTR3YsvZQD800d+5d7a3+fAw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tutanota.com header.s=s1 header.b=H4FiKjHY; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.76 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tutanota.com header.s=s1 header.b=H4FiKjHY; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 169D136761 X-Spam-Score: -3.76 X-Migadu-Scanner: scn1.migadu.com X-TUID: +YmwURdw7LsU ------=_Part_340991_346091381.1648410188945 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit ------=_Part_340991_346091381.1648410188945 Content-Type: text/x-patch; charset=us-ascii; name=0001-gnu-Add-python-flask-compress.patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-gnu-Add-python-flask-compress.patch >From 0d09e7fb5d68f30995663d9ff9621a234678c546 Mon Sep 17 00:00:00 2001 From: kiasoc5 Date: Sun, 27 Mar 2022 15:27:43 -0400 Subject: [PATCH 1/2] gnu: Add python-flask-compress. * gnu/packages/python-web.scm (python-flask-compress): New variable. --- gnu/packages/python-web.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 9c2a48166a..3de2629b29 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6388,3 +6388,23 @@ (define-public python-tweepy (description "This package provides @code{Tweepy}, an easy-to-use Python library for accessing the Twitter API.") (license license:expat))) + +(define-public python-flask-compress + (package + (name "python-flask-compress") + (version "1.11") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Flask-Compress" version)) + (sha256 + (base32 "0762n6g1rz1n01dh0y16fgpi262kl01m0z9liv52asvd8hng6sgm")))) + (build-system python-build-system) + (propagated-inputs (list python-brotli python-flask)) + (native-inputs (list python-setuptools-scm)) + (home-page "https://github.com/colour-science/flask-compress") + (synopsis + "Compress responses in your Flask app with gzip, deflate or brotli.") + (description + "Compress responses in your Flask app with gzip, deflate or brotli.") + (license license:expat))) base-commit: 2344fb10972a4cefead8e7aa3e0b807da4cf4570 prerequisite-patch-id: 7bac83669fb48a2cf3bf087016093da017ba7ec5 -- 2.35.1 ------=_Part_340991_346091381.1648410188945 Content-Type: text/x-patch; charset=us-ascii; name=0002-gnu-Add-python-flask-seasurf.patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0002-gnu-Add-python-flask-seasurf.patch >From 7664077a8444286755cf82168d7dc2ad7efb06c1 Mon Sep 17 00:00:00 2001 From: kiasoc5 Date: Sun, 27 Mar 2022 15:27:59 -0400 Subject: [PATCH 2/2] gnu: Add python-flask-seasurf. * gnu/packages/python-web.scm (python-flask-seasurf): New variable. --- gnu/packages/python-web.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 3de2629b29..931d1500b7 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6408,3 +6408,28 @@ (define-public python-flask-compress (description "Compress responses in your Flask app with gzip, deflate or brotli.") (license license:expat))) + +(define-public python-flask-seasurf + (package + (name "python-flask-seasurf") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Flask-SeaSurf" version)) + (sha256 + (base32 "04yfwln40iji7vn517mmkflnzxy7wa11yfhs124rch4s7pqhvygz")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "unittest"))))))) + (propagated-inputs (list python-flask)) + (native-inputs (list python-tox)) + (home-page "https://github.com/maxcountryman/flask-seasurf/") + (synopsis "An updated CSRF extension for Flask.") + (description "An updated CSRF extension for Flask.") + (license license:bsd-3))) -- 2.35.1 ------=_Part_340991_346091381.1648410188945--