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 gLRuG2Gmn2Kb1gAAbAwnHQ (envelope-from ) for ; Tue, 07 Jun 2022 21:26:25 +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 MIBrG2Gmn2J7HgEA9RJhRA (envelope-from ) for ; Tue, 07 Jun 2022 21:26:25 +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 EEE7944266 for ; Tue, 7 Jun 2022 21:26:24 +0200 (CEST) Received: from localhost ([::1]:55748 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyeqN-0007yJ-CX for larch@yhetil.org; Tue, 07 Jun 2022 15:26:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyeq3-0007y7-7z for guix-patches@gnu.org; Tue, 07 Jun 2022 15:26:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47675) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyeq2-0004f6-GP for guix-patches@gnu.org; Tue, 07 Jun 2022 15:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nyeq2-0002u8-9Y for guix-patches@gnu.org; Tue, 07 Jun 2022 15:26: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: Tue, 07 Jun 2022 19:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55580 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 55580@debbugs.gnu.org Received: via spool by 55580-submit@debbugs.gnu.org id=B55580.165462990511097 (code B ref 55580); Tue, 07 Jun 2022 19:26:02 +0000 Received: (at 55580) by debbugs.gnu.org; 7 Jun 2022 19:25:05 +0000 Received: from localhost ([127.0.0.1]:41572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyep1-0002sS-Nc for submit@debbugs.gnu.org; Tue, 07 Jun 2022 15:25:05 -0400 Received: from mail-lf1-f41.google.com ([209.85.167.41]:44900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyeox-0002sD-RE for 55580@debbugs.gnu.org; Tue, 07 Jun 2022 15:24:58 -0400 Received: by mail-lf1-f41.google.com with SMTP id w20so8178964lfa.11 for <55580@debbugs.gnu.org>; Tue, 07 Jun 2022 12:24:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=NhksfOw7OY6WbH57LCkEtp9Pe+4HnKIynT7QVPkOcrY=; b=jyoqoD5oEjAhPGZYN/TltwzwlK6IsKrI7NcekvR4wNGQ3wVsgMkN9tPe1mH9/laUJc b1hXcvANLynRZZruoxQlfyqZsY6F56xExZOJ1r8cLZMOBTpofMWrDfmGBb81vu29ra3t 6+61aQ1MNPBYlZOQzFDkmX4Ws7moMacwSk/hnUGIRX1CF/eEaMTfM5v58CEbFNYoO6XI OBcWfyLI5u4/KCBL9Fuu6nCEGDiGaOGsZSfZXSXbkb3Z0V5m6oKOak/z51zudy8zt/Nl rZqcZzmHK/hZwmwHlu7cB38J+eYf2dT/wjz0VE9szvd9EOgF2WZ6ACXNNW8Rw+FeV94c uvug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=NhksfOw7OY6WbH57LCkEtp9Pe+4HnKIynT7QVPkOcrY=; b=o9eLlduBYnX4bPrpgND6lfsrTaALcQX/WTs8a+9e9pYenxSV8ofKAZ6erGqA8qsFM5 XewvTjKRXbD5oCICx5uYk1kipDrjTsV/sRcngtaeh82fM+zRLCUCxG/mSPG+tnZb8kyP Ce73rltPrUl6+tCCH83/C5wG5X49OEFhIUX9V5CtWfUv8jFG4Zu835VleKgFKMIidIMG P8w3cTsE8Fr4wnpqHTukouwuwpPQDSkVUB2Go1Lk/Qtt7mzGS6ZAwkYzB5w5xz1aW61F NL3XHAB4tPjqHtyXw/4ZkuK8QC3Vm+IZ2Q39pYiMSdFQ1tPWOdWzyYCpsGhqEvXpnf7j bgKg== X-Gm-Message-State: AOAM531Fdx1OqulJwvzTpsuVc6c3Lmf/F4Cv4vt+Tt5Px+06WVxV/JOe ZFkbrhuGMDwu2QVZpK5N/etMor+Hy9E= X-Google-Smtp-Source: ABdhPJzVIVB2h1w2gcQra9QfCHjmc+rx4x4jalM5gDE2fOaZZVGM05DJgQZdKoB85Gp3syBCRPgKAw== X-Received: by 2002:a05:6512:2387:b0:479:5f73:8d60 with SMTP id c7-20020a056512238700b004795f738d60mr4201233lfv.50.1654629889454; Tue, 07 Jun 2022 12:24:49 -0700 (PDT) Received: from elephant ([5.164.222.47]) by smtp.gmail.com with ESMTPSA id j21-20020a2e6e15000000b0025592b682a7sm1206225ljc.90.2022.06.07.12.24.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 12:24:48 -0700 (PDT) From: "Artyom V. Poptsov" References: <87leutflf9.fsf@gmail.com> <877d5vndev.fsf@gnu.org> <877d5sz3tc.fsf@gmail.com> Date: Tue, 07 Jun 2022 22:24:47 +0300 In-Reply-To: <877d5sz3tc.fsf@gmail.com> (Artyom V. Poptsov's message of "Tue, 07 Jun 2022 22:11:43 +0300") Message-ID: <8735ggz37k.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" 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=1654629985; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=NhksfOw7OY6WbH57LCkEtp9Pe+4HnKIynT7QVPkOcrY=; b=L9ILTF6PcWovdu71QW6pWsJUOjgSjOT7VZj0OtEEdsWK8oqlOvtSXYRIJNR/p5Ght+9Oft bVH7w3RAXSH6vrL08od0n3NfiHh8wBvLdGP5RNy3vktrl6Ey/g2kdcWJ8MuzUO7eMl8Vxn 1dgD14ZP750oIEDtiHy1ebA07w6E7IQAGaafSIQsDRzJGAbye9pj1PYh2TLGzP5DIbcY/X NkfOO2I+OpXdjJPLBPD5Lp404eG+LBN08RgYVNdz/XrBzk8AYSiFjcOXAYs3LiBOz098LH iGC4/Ujr40airQCVq1Z993lBIQsDV2sPUPda163S/XomTZbe5jo7plnX4w58iw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654629985; a=rsa-sha256; cv=none; b=POZPqoYwW333Xkh+WJ75PI4wkE2RlDNgAHPoUD9XqCYiQE/jLhqgqt/BETM/aDaIoxGXZU iBq/AK5oHjQLpUX2eQj5mWgEO0uSsameLZEXAU5r1PbstdeOmSOP6Xks1pMwDInB8r0f88 IAxJ+UofwoNxErINac6NRb4eHjnFGO/yz0c/w8S+343na9REujiGOz+y3V6OIvD9MkMXYR cnAiaGFAzkzGqTzP1k3wYnp3ALO3hMX7CeEfEW6ThQYJGNLprbCIunBaUK8cUskhZ90Ifl BHysZAKrcYWP64iuD49kDlaemeCACqSvXMsPBB3ZifBe5LDpUyAC6IGjTZ99KQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=jyoqoD5o; 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.39 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=jyoqoD5o; 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: EEE7944266 X-Spam-Score: 3.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: lmZ2gh+Y5qn6 --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Oh, I forgot to remote 'python' from inputs. Please find double-fixed patch attached. - Artyom --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-Add-python-langcodes.patch Content-Transfer-Encoding: quoted-printable From=201e6e6361d3c4cb007f8cd160797b8c4a1f7aacdc 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 | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f3d7fab973..628bce5d8f 100644 =2D-- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29403,3 +29403,31 @@ Information about these scales can be @url{https://en.wikipedia.org/wiki/List_of_musical_scales_and_modes, found= on Wikipedia}.") (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)) + (home-page "https://github.com/rspeer/langcodes") + (synopsis "Python library for working with language codes") + (description + "A Python library for working with and comparing language codes. + +@code{python-langcodes} implements @url{http://tools.ietf.org/html/bcp47, = BCP +47}, the IETF Best Current Practices on Tags for Identifying Languages. B= CP +47 is also known as RFC 5646. It subsumes ISO 639 and is backward compati= ble +with it, and it also implements recommendations from the +@url{http://cldr.unicode.org/, Unicode CLDR}. + +@code{python-langcodes} can also refer to a database of language properties +and names, built from Unicode CLDR and the IANA subtag registry, if you +install @code{python-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----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmKfpf8ACgkQ6cWi2QiY oC+pvgf+LQrZkQhCylssBelL24zcK350Gp2/HeXKYmOzbao4eZX4PWTas3iPhYMu mOwIC1nR+2xshtHCyYWUMWcf1iLWHDO2J+ti8ojGRIOL8iGXUKrSDHRUvc0PUjtk i66KRHSLMvolwEX0DxeHDjJqTy0zDE0mjhjJhqq1F7YkZsCOvLEzg+ICfOzH4QV/ P7ZTEslkWeI4dNmB7GWV/fj60oD5MGefOle4XMdMvPFMV1b4CIucY+B9cVylbRvf VCkCQI6t+4Hze7D6qWD+siXE3rDyIHbopiuy8xMN1KQRAyKfwFOA0PWGYJDFL2TE wPqu2wzSuunapDlXXn6MgYIeON3zDA== =r4ai -----END PGP SIGNATURE----- --==-=-=--