[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#56701] [PATCH 03/19] gnu: Add python-dogpile.cache.
From: |
Hartmut Goebel |
Subject: |
[bug#56701] [PATCH 03/19] gnu: Add python-dogpile.cache. |
Date: |
Fri, 22 Jul 2022 16:02:23 +0200 |
* gnu/packages/databases.scm (python-dogpile.cache): New variable.
---
gnu/packages/databases.scm | 31 ++++++++++++++++++++++++++++++-
1 file changed, 30 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 32c36fe337..0bdcee5f7c 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -8,7 +8,7 @@
;;; Copyright © 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2015 Leo Famulari <leo@famulari.name>
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
-;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2016, 2022 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2016 Christine Lemmer-Webber <cwebber@dustycloud.org>
;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner
<efraim@flashner.co.il>
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
@@ -122,6 +122,7 @@
#:use-module (gnu packages ncurses)
#:use-module (gnu packages networking)
#:use-module (gnu packages onc-rpc)
+ #:use-module (gnu packages openstack)
#:use-module (gnu packages pantheon)
#:use-module (gnu packages parallel)
#:use-module (gnu packages pcre)
@@ -4823,3 +4824,31 @@ create design, and edit database file compatible with
SQLite.")
(description
"This package implements the @acronym{LSP, Language Server Protocol} for
SQL.")
(license license:expat)))
+
+(define-public python-dogpile.cache
+ (package
+ (name "python-dogpile.cache")
+ (version "1.1.8")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "dogpile.cache" version))
+ (sha256
+ (base32
+ "0kpx42vxzss4sz5ic6mp01a97zinzm6q76n8li2gbi4ccfxyhi6q"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" )))))))
+ (native-inputs (list python-mako python-pytest))
+ (propagated-inputs (list python-decorator python-stevedore))
+ (home-page "https://github.com/sqlalchemy/dogpile.cache")
+ (synopsis "Caching front-end based on the Dogpile lock")
+ (description "@code{dogpile.cache} is a caching API which provides a
+generic interface to caching backends of any variety, and additionally
+provides API hooks which integrate these cache backends with the locking
+mechanism of @code{dogpile}.")
+ (license license:expat)))
--
2.30.4
- [bug#56701] [PATCH 00/19] Update python-pyjwt and its dependent packages, Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 02/19] gnu: Add python-requests-kerberos., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 01/19] gnu: python-args: Make it build with Python 3., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 03/19] gnu: Add python-dogpile.cache.,
Hartmut Goebel <=
- [bug#56701] [PATCH 04/19] gnu: Add python-statsd., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 05/19] gnu: Add python-os-service-types., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 18/19] gnu: python-pygithub: Update to 1.55., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 08/19] gnu: Add python-requestsexceptions., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 14/19] gnu: python-oslo.log: Update to 5.0.0., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 17/19] gnu: python-swiftclient: Update to 4.0.1., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 09/19] gnu: Add python-openstacksdk., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 19/19] gnu: conan: Update to 1.50.0., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 06/19] gnu: Add python-oslo.concurrency., Hartmut Goebel, 2022/07/22
- [bug#56701] [PATCH 07/19] gnu: Add python-keystoneauth1., Hartmut Goebel, 2022/07/22