From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QB7lB9KQimJohQAAbAwnHQ (envelope-from ) for ; Sun, 22 May 2022 21:36:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AKDlBtKQimJR0gAAG6o9tA (envelope-from ) for ; Sun, 22 May 2022 21:36:50 +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 92B082933C for ; Sun, 22 May 2022 21:36:49 +0200 (CEST) Received: from localhost ([::1]:55572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nsrNg-0004gr-Px for larch@yhetil.org; Sun, 22 May 2022 15:36:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsqjH-0008DS-25 for guix-patches@gnu.org; Sun, 22 May 2022 14:55:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52485) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nsqjG-0008Vq-PC for guix-patches@gnu.org; Sun, 22 May 2022 14:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nsqjG-00051t-Nu for guix-patches@gnu.org; Sun, 22 May 2022 14:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55580] [PATCH] gnu: Add python-langcodes Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 22 May 2022 18:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55580 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55580@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165324566719257 (code B ref -1); Sun, 22 May 2022 18:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 May 2022 18:54:27 +0000 Received: from localhost ([127.0.0.1]:46376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsqif-00050V-9h for submit@debbugs.gnu.org; Sun, 22 May 2022 14:54:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:37066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsqiZ-00050J-Bq for submit@debbugs.gnu.org; Sun, 22 May 2022 14:54:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsqiX-0007yh-Ib for guix-patches@gnu.org; Sun, 22 May 2022 14:54:19 -0400 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]:44989) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nsqiU-0008Q6-5C for guix-patches@gnu.org; Sun, 22 May 2022 14:54:15 -0400 Received: by mail-lf1-x12b.google.com with SMTP id l13so15518597lfp.11 for ; Sun, 22 May 2022 11:54:13 -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=VbcPrfi6S66I2JIAicOCAqNdB+v4qTm8ZsJJVEQ2pM8=; b=hUmfz7CaiMTFFuy4jkxL9fkCs+E1ME2eX+bvw6g9/4VAYTO+p3KnYhFDfy+xDvSRLt RvgymQewbGK04QAK8Mz0chqK3oO4mYCOtu7xDHurmWFwEhZPv0ZhT3u9NJib0dS33Q3Q TDIyKd4Pq3+IVD9Kmd8ElIP9UH20pfIvUzbXbZDnjtZlhpVjdYKZM8UvLkkiblRNFDun Yol8TUlWHpx6J4tU/P8Dy0t5SM6u+rnUFsgsRKuLlNhRY23FaMHX8VXmoF8D5UqPl2uO Cpz7DVrRbFAgrrZ7UGAQxBQf/6qLRt7CeWqzAaY/OxPLE/wn3KNWidpgfYrq+6GUUkwi AW9w== 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=VbcPrfi6S66I2JIAicOCAqNdB+v4qTm8ZsJJVEQ2pM8=; b=a8007Oe0YZnP7SVe7DQs3L8oqKFrSZVPaF7xjoJ43awawVKQPLVOza0ULW0/odsUe1 GLo6ZVW6QjiXIXXD3ziOQyDvI/Hg4aUyITeV/ZgnmPydVETrp1nH6CyVLjZrb3mk8LiS 0a6epKfv27K0U5RSsUG0EbAAMilWuNIqHK8EcT5k2LgfBf6tgBXbz5q2YgJtkSuMGh1m 2RWCvpqsBzSJ6xsfgmGLF8lCHcjmVAHRYlD6/QkdKWeNGezpdYWS/K7ISMEhZ2zh3+za ZXpq6+YI4240Togu3evDLMktWK2Md5ssFjJXkqCQ6JiH+PbiQ1Oj5kui7ZUu4yLX7CmA IRPg== X-Gm-Message-State: AOAM531ETy7ODdJMKG0zJoCDtCtU0SJ0Xu/A6pm0KIFZDuKuRkEwtHrs GRaSlBV7b7S/wnWApzFaK8z2YqYXTsA= X-Google-Smtp-Source: ABdhPJwfQ/uTXW2g0a9ryC0nI1kVs0W//N0roHbtP05avy982cB0E18n8mIZ8Ta+jJbDkYDM7P1GlQ== X-Received: by 2002:ac2:545a:0:b0:477:cad9:3e73 with SMTP id d26-20020ac2545a000000b00477cad93e73mr12168215lfn.418.1653245651963; Sun, 22 May 2022 11:54:11 -0700 (PDT) Received: from elephant ([5.164.192.222]) by smtp.gmail.com with ESMTPSA id f2-20020a056512228200b0047866f9b642sm563399lfu.224.2022.05.22.11.54.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 May 2022 11:54:11 -0700 (PDT) From: "Artyom V. Poptsov" Date: Sun, 22 May 2022 21:54:02 +0300 Message-ID: <87leutflf9.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::12b; envelope-from=poptsov.artyom@gmail.com; helo=mail-lf1-x12b.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=1653248209; 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=VbcPrfi6S66I2JIAicOCAqNdB+v4qTm8ZsJJVEQ2pM8=; b=COx7sYcHqc9RzwwOBP2SkdaU3lChluY+0ICb/MwtBuZFBkGuqR/xsrkIGA0OrOSwVKxm29 HaLAv+fmyxOSoLmSdb5m5ifxZGp+HH7ZaubmfFSQVTk13n7RF/guWoRZzh9VffEiMPhQNa NpKb54n4UKCYLpAtSBEIQd9NeUNRhtjtPOFpPltbfFC/sFWz4UJDaDhohLMOFzfQwRakdR T1lZo244n7nUSFiqtUBv3qBxDufNKsNCsw3D9IToxB/UzJpb+tEgYoqMNbqxzB0N37ONqa yl/Rsh+Uwsu5V1DxLbpO8pgcw06JAayZkLxIYXHIDWlwLoLctSWVmFkmnmr8JA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653248209; a=rsa-sha256; cv=none; b=Leo/ZEjgoL+kkvtWKLrJ1sJnP/Hm2Y4UGZNpzTl8W2krtb6B+qzBjXCevJWjC3PDVZKXWU U/0M1AkHHlgJfmrfK24vN9qGw2pMz5Lh/3It0xBV0i8O15yDdnjCVh9Ns01k89pa7WI0QT LKgiCCQkR7GNX+MlhYnifoBBPMFd8ec6GDbzesTasjPJ3ZgU3oejuCbz7PJxeqttcMoD2S IatFDl96sg3ne5A4Wo6TUxQ4ns7VoAOBIsPwMB/Tf5P4tmhpuYiaYoPFmswgc65gYGljbZ 1KJPSDKPDeqiY1vuHj+IByfRZq6cF4WvOs2ouZ+s+jR7rYT28p/yEa4gxyciUg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=hUmfz7Ca; 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.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=hUmfz7Ca; 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: 92B082933C X-Spam-Score: 3.65 X-Migadu-Scanner: scn1.migadu.com X-TUID: koxLG6hFOzXd --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello, this patch adds "langcodes" Python module[1] under the name "python-langcodes". References: 1. "A Python library for working with and comparing language codes." https://github.com/rspeer/langcodes --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-Add-python-langcodes.patch Content-Transfer-Encoding: quoted-printable From=204a55bea39a617c64f354170777db4ba420045459 Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sun, 22 May 2022 21:50:37 +0300 Subject: [PATCH] gnu: Add python-langcodes * gnu/packages/python-xyz.scm (python-langcodes): New variable. =2D-- gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3c4fa16d16..95099feb04 100644 =2D-- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -31449,3 +31449,34 @@ written in C.") (synopsis "Cython bindings for MurmurHash2") (description "This package provides Cython bindings for MurmurHash2.") (license license:expat))) + +(define-public python-langcodes + (package + (name "python-langcodes") + (version "3.3.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "langcodes" version)) + (sha256 + (base32 + "1xkyh3qdcigb18qiimbwl2669y22hhdmd89mqcd270c7lbahfkbr")))) + (build-system python-build-system) + (native-inputs (list python-pytest)) + (inputs (list python)) + (home-page "https://github.com/explosion/catalogue") + (synopsis "Python library for working with language codes") + (description + "A Python library for working with and comparing language +codes. + +\"langcodes\" implements @url{http://tools.ietf.org/html/bcp47, BCP 47}, t= he +IETF Best Current Practices on Tags for Identifying Languages. BCP 47 is = also +known as RFC 5646. It subsumes ISO 639 and is backward compatible with it= , and +it also implements recommendations from the @url{http://cldr.unicode.org/, +Unicode CLDR}. + +langcodes can also refer to a database of language properties and names, b= uilt +from Unicode CLDR and the IANA subtag registry, if you install +@code{language_data}.") + (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----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmKKhsoACgkQ6cWi2QiY oC+hxAgAq/vzQi0F2vcPjLy88nIuvAGTEGsnebPjADdTTAwyB2WM/Uw9W7uvPjaF axi4gGE0kwbNPObG0ePMj/ILmaPzmfW5CnorUuZ4+AMkpvo0XnKKcJ39VY6UOd6A G84dVztNZ+/CMq41Rd1lv9Os11LiKSb4w0/JTlYRk7NFqcyAviYTb4XZ8PtR+aLg 88dCzpsbky/cUgl5KqtPplfseLHyEl+N27YnRNvGuJVxj5SCOQXa5Fv9/LYPj8pg GENMD9hgp9EiT/kXKNQZPP29CGNzPQYjaxJAC7IulKdzs4/3Egt/O0BIE2iNnh/y nZC24Bkov4CGM1/C2SuqJLdkv44eBg== =C8pZ -----END PGP SIGNATURE----- --==-=-=--