From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:57606) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iK28h-0005ST-Qj for guix-patches@gnu.org; Mon, 14 Oct 2019 11:20:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iK28g-0007V2-K5 for guix-patches@gnu.org; Mon, 14 Oct 2019 11:20:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60897) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iK28g-0007Up-Gc for guix-patches@gnu.org; Mon, 14 Oct 2019 11:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iK28g-0006Ma-Bq for guix-patches@gnu.org; Mon, 14 Oct 2019 11:20:02 -0400 Subject: [bug#37704] [PATCH 7/9] gnu: Add python-cachy. References: <20191011163447.utqgomsalw7r6nul@rafflesia> In-Reply-To: <20191011163447.utqgomsalw7r6nul@rafflesia> Resent-Message-ID: Date: Mon, 14 Oct 2019 17:19:20 +0200 From: Tanguy Le Carrour Message-ID: <20191014151920.nhdewy3pkbuv5ch5@rafflesia> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="k7g6audnior4jqnz" Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37704@debbugs.gnu.org --k7g6audnior4jqnz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline --k7g6audnior4jqnz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline >From cd9d5a2894a964c0c3808ba301870e259436b43a Mon Sep 17 00:00:00 2001 From: Tanguy Le Carrour Date: Wed, 9 Oct 2019 10:03:31 +0200 Subject: [PATCH 7/9] gnu: Add python-cachy. * gnu/packages/python-xyz.scm (python-cachy): New public variable. --- gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c1f68042c7..4207f3dde4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10624,6 +10624,34 @@ command line interfaces.") (description "MessagePack (de)serializer.") (license license:asl2.0))) +(define-public python-cachy + (package + (name "python-cachy") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "cachy" version)) + (sha256 + (base32 + "0v6mjyhgx6j7ya20bk69cr3gdzdkdf6psay0h090rscclgji65dp")))) + (build-system python-build-system) + (native-inputs + `(("python-fakeredis" ,python-fakeredis) + ("python-flexmock" ,python-flexmock) + ("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-memcached" ,python-memcached) + ("python-msgpack-python" ,python-msgpack-python) + ("python-redis" ,python-redis))) + (home-page "https://github.com/sdispater/cachy") + (synopsis "Simple yet effective caching library") + (description + "Cachy provides a simple yet effective caching library. A simple but +powerful API: thread-safety; decorator syntax; support for memcached, redis, +database, file, dict stores. Cachy supports python versions 2.7+ and 3.2+.") + (license license:expat))) + (define-public python-lazy-object-proxy (package (name "python-lazy-object-proxy") -- 2.23.0 --k7g6audnior4jqnz--