From patchwork Mon Oct 28 14:41:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tanguy LE CARROUR X-Patchwork-Id: 15864 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DFD9317671; Mon, 28 Oct 2019 14:43:38 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 9DBEC1766D for ; Mon, 28 Oct 2019 14:43:38 +0000 (GMT) Received: from localhost ([::1]:54492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iP6F8-000066-7p for patchwork@mira.cbaines.net; Mon, 28 Oct 2019 10:43:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42323) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iP6Ed-0007uJ-Bs for guix-patches@gnu.org; Mon, 28 Oct 2019 10:43:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iP6Eb-0004PB-Um for guix-patches@gnu.org; Mon, 28 Oct 2019 10:43:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37299) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iP6Eb-0004P0-Pc for guix-patches@gnu.org; Mon, 28 Oct 2019 10:43:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iP6Eb-0001JU-MJ for guix-patches@gnu.org; Mon, 28 Oct 2019 10:43:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37704] [PATCH v4 7/9] gnu: Add python-cachy. Resent-From: Tanguy Le Carrour Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Oct 2019 14:43:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37704 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37704@debbugs.gnu.org Cc: Tanguy Le Carrour Received: via spool by 37704-submit@debbugs.gnu.org id=B37704.15722737714959 (code B ref 37704); Mon, 28 Oct 2019 14:43:05 +0000 Received: (at 37704) by debbugs.gnu.org; 28 Oct 2019 14:42:51 +0000 Received: from localhost ([127.0.0.1]:46108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iP6EM-0001Hv-Ra for submit@debbugs.gnu.org; Mon, 28 Oct 2019 10:42:51 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:58617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iP6EL-0001Hn-0Y for 37704@debbugs.gnu.org; Mon, 28 Oct 2019 10:42:49 -0400 Received: from rafflesia.easter-eggs.fr (176-159-32-89.abo.bbox.fr [176.159.32.89]) (Authenticated sender: tanguy@bioneland.org) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 56B48240018; Mon, 28 Oct 2019 14:42:41 +0000 (UTC) From: Tanguy Le Carrour Date: Mon, 28 Oct 2019 15:41:35 +0100 Message-Id: <20191028144137.19982-7-tanguy@bioneland.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191028144137.19982-1-tanguy@bioneland.org> References: <20191028144137.19982-1-tanguy@bioneland.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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 1a0a948f52..8568c22784 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10724,6 +10724,34 @@ smaller. Small integers are encoded into a single byte, and typical short strings require only one extra byte in addition to the strings themselves.") (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")