From: Vinicius Monego <monego@posteo.net>
To: 50033@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#50033] [PATCH 3/4] gnu: Add python-flask-caching.
Date: Thu, 12 Aug 2021 23:58:06 +0000 [thread overview]
Message-ID: <20210812235807.26857-3-monego@posteo.net> (raw)
In-Reply-To: <20210812235807.26857-1-monego@posteo.net>
* 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
next prev parent reply other threads:[~2021-08-13 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-12 23:55 [bug#50033] [PATCH 0/4] Add Isso Vinicius Monego
2021-08-12 23:58 ` [bug#50033] [PATCH 1/4] gnu: python-bleach: Add dependency on python-packaging Vinicius Monego
2021-08-12 23:58 ` [bug#50033] [PATCH 2/4] gnu: python-bleach: Enable tests Vinicius Monego
2021-08-12 23:58 ` Vinicius Monego [this message]
2021-08-12 23:58 ` [bug#50033] [PATCH 4/4] gnu: Add isso Vinicius Monego
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210812235807.26857-3-monego@posteo.net \
--to=monego@posteo.net \
--cc=50033@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.