From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gBa4GmRMiWJ6AQAAbAwnHQ (envelope-from ) for ; Sat, 21 May 2022 22:32:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eBmVGmRMiWLqNgEA9RJhRA (envelope-from ) for ; Sat, 21 May 2022 22:32:36 +0200 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 B9BD58121 for ; Sat, 21 May 2022 22:32:35 +0200 (CEST) Received: from localhost ([::1]:39498 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nsVm6-0004Pj-Ve for larch@yhetil.org; Sat, 21 May 2022 16:32:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsVla-0004P5-JA for guix-patches@gnu.org; Sat, 21 May 2022 16:32:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49145) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nsVla-0006SA-23 for guix-patches@gnu.org; Sat, 21 May 2022 16:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nsVlZ-0004o9-Vc for guix-patches@gnu.org; Sat, 21 May 2022 16:32:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55563] [PATCH] gnu: Add python-catalogue Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 21 May 2022 20:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55563 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55563@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165316511618466 (code B ref -1); Sat, 21 May 2022 20:32:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 May 2022 20:31:56 +0000 Received: from localhost ([127.0.0.1]:43042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsVlQ-0004ni-3f for submit@debbugs.gnu.org; Sat, 21 May 2022 16:31:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:39120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsVlK-0004nV-4I for submit@debbugs.gnu.org; Sat, 21 May 2022 16:31:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsVlJ-00043W-UG for guix-patches@gnu.org; Sat, 21 May 2022 16:31:45 -0400 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:47018) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nsVlH-0006QK-Vw for guix-patches@gnu.org; Sat, 21 May 2022 16:31:45 -0400 Received: by mail-lf1-x12d.google.com with SMTP id w14so19502996lfl.13 for ; Sat, 21 May 2022 13:31:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version; bh=Jeq355BCDMBai45vPQVl3NzQL1IKbPSfJ8YWHa49p1w=; b=ItTTCuizbberwtctM3VCr7OLvcFr5oTbT2mV638s2d3YoFQGfrFSJn6ITWPpLHinsf VDYqsVcxtHRj1Im+/L8AoSvkcQEp7zfr+KNgTgPXFciL+MIXTFpauZefe6cQ3YG7HHtk OzyISNfWL5YBh/H8KgUBydW5InX17Ci5m+uqrga9N0cRKLl070DyWzxRocv17nhgYSv1 b2waeUcfToeQNP17Z1ebwtVLBqYIi8tNnkEf/LypVZswX6G+hWExgForVVpnhuuGRnuf jUXyp5CWR3eZu7q6uSrCSymT1D1msuXdFCJi9JFJ94+jEHJkEdeLm/qKxjdJ+dTHAti/ dvuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=Jeq355BCDMBai45vPQVl3NzQL1IKbPSfJ8YWHa49p1w=; b=DvVtGZWt+/2CMzPmsUhsC1E0p7joY0vCcvtVOeJOJbOfghIEHNGtKbb/gdqk/RaeK+ 33vQdP+lByFhq7Zrkg+EY0sKvZFNSfn2vwYe5kGHOE6YHwd10tYLxCZ1rPZrm0dTc997 FzpBeqggx0f9vti6yfqFdeFzRt0VzRxEztgaUbTTey82zSy7CoF3wdkW5bsor0fFWEZ3 cQS3R2tADRRg1YurSR/w9VO23YSeorac+i4Mt8jMy8DiRClfAkwciQj6RufdFUuCOrpE iLGjfkQJvHYA07PDeiE8yApCBQC1OoL1e/Bb51GHl24H/sKtL+JHK2ox3qM15CMUVR0Q oIDQ== X-Gm-Message-State: AOAM532Sg+PIV5Td9PEdEIIxfvBaeUJ0Uj4LfyRJzOm8+EI6vPx2C3mu AGtk7fpv1peQQ022mjVkcbczJXXjv0E= X-Google-Smtp-Source: ABdhPJwRQ1+X0jEWOWuBMa1c7yMshV0Jm2//pgSWzkH+ZVu8DQ7+4yPAfA9qA5XWL8hoUcKu62OUFw== X-Received: by 2002:a05:6512:1516:b0:448:39b8:d603 with SMTP id bq22-20020a056512151600b0044839b8d603mr11035006lfb.599.1653165102107; Sat, 21 May 2022 13:31:42 -0700 (PDT) Received: from elephant ([5.164.192.222]) by smtp.gmail.com with ESMTPSA id z9-20020ac25de9000000b0047255d211b3sm1176752lfq.226.2022.05.21.13.31.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 May 2022 13:31:41 -0700 (PDT) From: "Artyom V. Poptsov" Date: Sat, 21 May 2022 23:31:37 +0300 Message-ID: <87y1yufx06.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=poptsov.artyom@gmail.com; helo=mail-lf1-x12d.google.com X-Spam_score_int: -5 X-Spam_score: -0.6 X-Spam_bar: / X-Spam_report: (-0.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653165155; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=Jeq355BCDMBai45vPQVl3NzQL1IKbPSfJ8YWHa49p1w=; b=m+45RTT73PORH/HTLjQdSRM6JID8hSM167JC6db1Vr0ftA2nqifRiIphr77VCuexS5MmSf sY6CSDdYiKLNbyNuvOoLXbcQsfXsIeqTE9x/MzAjqalNi6nLsR8vMWT1n8TYyHgrsilzT4 SnKyVve3sqHPQXrC89kyHA/RWKfSb6w01LwDuEFRbmTQiScBlUZdi3ux4hY7u+uFnoyxsP ch/Zu1jP5Lb9sZfjJq7FsvSsW5ZVCIrFhMTzJzYQWnAVr0ZKiWRTnqUH9tEhE8BtVvbl/H j8fhA5CcaVHD2tyn+ZhIbSRvTC6b4cB1wkA2HpbKrjDD9U8kY4HTwSihQetf0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653165155; a=rsa-sha256; cv=none; b=CZPig19DjBdXaA8cSVKGqxTYZNr/cUDMLkSAgdtW8/CG0iy9VHvNzG4tkwDV2zmYEqwtQR xY7v7CbEqrfR33f1lOYQdS3mc0bVd+S6UZG/iWYpQZ0wE0gYk8x3fAG4gzT+zUfvkWO8S1 fsyXPbDmyTNSJr6DNixRA3LAcgcKtj3tMXGhMnlnO6JB0zn60eJGS7qlBUgS4tVuQLjwxk O/dzx/II95+zICvIGfZVGiKLH8d+S5Rd2AWI9L6sORGWjslCPeJiw9ColRkp0wVXI7HuGw nUUhFBmpkjUbdqQawQmoBEdYuK1DfIixK1boY92CLKo3wHUGhDi20qK1sEHavw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ItTTCuiz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.64 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ItTTCuiz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B9BD58121 X-Spam-Score: 3.64 X-Migadu-Scanner: scn1.migadu.com X-TUID: XN+n4AMfH5Ms --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello, this patch adds a Python module "catalogue"[1] under the name "python-catalogue". - Artyom References: 1. "Super lightweight function registries for your library" https://pypi.org/project/catalogue/ --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-Add-python-catalogue.patch Content-Transfer-Encoding: quoted-printable From=20b45d368c1644497eca3f65daaec219421d48c9eb Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sat, 21 May 2022 23:27:59 +0300 Subject: [PATCH] gnu: Add python-catalogue * gnu/packages/python-xyz.scm (python-catalogue): New variable. =2D-- gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3c4fa16d16..a56b5ef255 100644 =2D-- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31449,3 +31449,29 @@ written in C.") (synopsis "Cython bindings for MurmurHash2") (description "This package provides Cython bindings for MurmurHash2.") (license license:expat))) + +(define-public python-catalogue + (package + (name "python-catalogue") + (version "2.0.7") + (source (origin + (method url-fetch) + (uri (pypi-uri "catalogue" version)) + (sha256 + (base32 + "0srdxiil2xys8q1gpc1nvzhvis3a33d8a7amk2i1rlpbg6p36pak")))) + (build-system python-build-system) + (native-inputs (list python-pytest)) + (inputs (list python python-zipp python-typing-extensions python-mypy)) + (home-page "https://github.com/explosion/catalogue") + (synopsis "Lightweight function registries for your library") + (description + "\"catalogue\" is a tiny, zero-dependencies library that +makes it easy to add function (or object) registries to your code. Functi= on +registries are helpful when you have objects that need to be both easily +serializable and fully customizable. Instead of passing a function into y= our +object, you pass in an identifier name, which the object can use to lookup= the +function from the registry. This makes the object easy to serialize, beca= use the +name is a simple string. If you instead saved the function, you'd have to= use +Pickle for serialization, which has many drawbacks.") + (license license:expat))) =2D-=20 2.25.1 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Artyom "avp" Poptsov Home page: https://memory-heap.org/~avp/ CADR Hackerspace co-founder: https://cadrspace.ru/ GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmKJTCkACgkQ6cWi2QiY oC91vAf/TTc1DakeW8vt/+pH58maQJC59YO7NsdAYq08PCTTTbvSCh22Qax9pZae 1dkNmIS6vpCj6Ws3P6MIHtz9T8eeIuXSX2S4z1CuHhDlaslLFeacu9HOkWXJ4myT +q4rFmpTMl7gFmyKkX0/UiXHG1ofjAwNCTh5sbuN47wUUEp7+hc9alaKI2AxJmFF 68MI67SuR5Wa08lYjKbPZ38x27E7Cv4dfLS1Lh8NGQgvN+2fEb/mGbGU1QhPPFqC +nsjj99aZrdTrTo6wm42JSA1B23fgKE602iibVHENejN76/a5C39G639t3ksSTiw 9MmL62ng2bs9ZZqJeynIpmmahd3biw== =1ePV -----END PGP SIGNATURE----- --==-=-=--