From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AEXlDBC2FWF1bAAAgWs5BA (envelope-from ) for ; Fri, 13 Aug 2021 02:00:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2IyDCBC2FWH8NwAAbx9fmQ (envelope-from ) for ; Fri, 13 Aug 2021 00:00:16 +0000 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 8F23716F00 for ; Fri, 13 Aug 2021 02:00:15 +0200 (CEST) Received: from localhost ([::1]:37150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEKcQ-0004f0-JS for larch@yhetil.org; Thu, 12 Aug 2021 20:00:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEKcF-0004dw-4N for guix-patches@gnu.org; Thu, 12 Aug 2021 20:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56808) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mEKcE-0002LI-Th for guix-patches@gnu.org; Thu, 12 Aug 2021 20:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mEKcE-0005ep-Se for guix-patches@gnu.org; Thu, 12 Aug 2021 20:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50033] [PATCH 3/4] gnu: Add python-flask-caching. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 13 Aug 2021 00:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50033 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50033@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 50033-submit@debbugs.gnu.org id=B50033.162881279521690 (code B ref 50033); Fri, 13 Aug 2021 00:00:02 +0000 Received: (at 50033) by debbugs.gnu.org; 12 Aug 2021 23:59:55 +0000 Received: from localhost ([127.0.0.1]:40117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEKc7-0005dm-79 for submit@debbugs.gnu.org; Thu, 12 Aug 2021 19:59:55 -0400 Received: from mout01.posteo.de ([185.67.36.65]:47221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mEKc5-0005dO-7a for 50033@debbugs.gnu.org; Thu, 12 Aug 2021 19:59:53 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 93EC0240026 for <50033@debbugs.gnu.org>; Fri, 13 Aug 2021 01:59:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1628812787; bh=SZMGmQyaWOBpvHtl0yyghLDGp14p1ERV4XSA7kZGnXw=; h=From:To:Cc:Subject:Date:From; b=mINp8AlrSeM2d1l6Cn6mYGuHHcudTA80ph5rRUe/woozTzVmeCdEWR/jsPi5gqh6p GGahFAxGntKzu7VWJtwDyta3zL68GOMxRgpjiUnA0Cl4CwKhM3aOjcexZPfVMScBFD YFsEpcdkTP+sVUFMcdB0Ad+AMBSKra1qa4p2oz94GumC5wAvuAvFpMXcr5ZKDIPgkv K//oFyKBMUYK+0WQXX7OkJvueMm/RxSKbz5JUT8P4sZr707p302MMZaH8MmIlr1A2S 8U5zyYiVD/AOXxrXDwHISMXc+95DxtPVMwdzshBH+H908OI7Z9z3z+/0n57A3PobTM 0zBdANftq0Igw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Gm3Zp5wffz9rxD; Fri, 13 Aug 2021 01:59:46 +0200 (CEST) From: Vinicius Monego Date: Thu, 12 Aug 2021 23:58:06 +0000 Message-Id: <20210812235807.26857-3-monego@posteo.net> In-Reply-To: <20210812235807.26857-1-monego@posteo.net> References: <20210812235807.26857-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628812815; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=A4xwhvbRr+S4O+e3a9rWWnjlm59OWgtn7/uG6YbzvOA=; b=KdmoegTUSRvj3OQ7+jnFOly4xKRPYL3pm4htHoECZfTWhILyglESaKe7r9f1F4XWc9CIsv G5YAty1pw5KbHz95VojMFW03ITTHI8Afl2M964wYu5v4osil/spgs/MPLkT92yIE1ZjEeq VNJBCGrZyeGML+pDvSF08J2DKummYsC7xg/2ItQ3VOSfk8XW03SrAuaNIzjZHnns5I+Fw6 7/yoX/TfpJnEhbEuFv62WObgVYQhsQpe/qv+ndSz/wEC7pJCjl8hQtd8o4wdpe57e6alQK VZBibU3oXvpzRGURXYKgvdRmJPVX05vw7b7XFXAUmeAJvLHxI6FmbR779WB+RA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628812815; a=rsa-sha256; cv=none; b=VJNqgxkPqk+xBasEN/QKgv14K591nr/bTjkSQ5rTsxzX2L9sy5oloYTF/WrOKDtfbDHk5b gN8FQ0yISwEUeLu4HEhgmplNEYbV2bsCCvQFioedH2AfFcQiI9tAZLs4O7ifbXq30d6hXi 8V66DFVM+SApNqBQ+8kbIZaOLG4hme3Tw+6vkkVPJKxF2HTekWOTYJ3WmhfKce4yth7V+5 bjdevDPKWVkoN8C2A6Xc9JRmD0F+YbTOAB3k3aoY5IcRnz1GiTA1sJ7s8qvgQQo5J4xufa ZfOJC3Y+xbnh/zykxtyuqoh+6gNwwzW9apwH+nkBlg9wO46f9JRVMzQICROiMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=mINp8Alr; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=mINp8Alr; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 8F23716F00 X-Spam-Score: 3.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: pLd8Ir3IY8D3 * gnu/packages/python-web.scm (python-flask-caching): New variable. --- gnu/packages/python-web.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 5df134ddff..36e1bf7541 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1018,6 +1018,37 @@ support for Flask. This is based on the Python babel module as well as pytz - both of which are installed automatically if you install this library.") (license license:bsd-3))) +(define-public python-flask-caching + (package + (name "python-flask-caching") + (version "1.10.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Flask-Caching" version)) + (sha256 + (base32 "000wl24ig22yzvx3dkl3yv5z0lzd6asmaz5fwh1vmhpbzhibf6fg")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "-m" "pytest" "-k" + "not test_init_nullcache"))))))) + (native-inputs + `(("python-flask" ,python-flask) + ("python-memcached" ,python-memcached) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov))) + (home-page "https://github.com/sh4nks/flask-caching") + (synopsis "Caching extension for Flask") + (description "This package adds caching support to Flask. It is a fork of +the Flask-Cache extension.") + (license license:bsd-3))) + (define-public python-flask-cors (package (name "python-flask-cors") -- 2.30.2