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 UOW8Okajn2KVsgAAbAwnHQ (envelope-from ) for ; Tue, 07 Jun 2022 21:13:11 +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 UHS6Okajn2IfdgAA9RJhRA (envelope-from ) for ; Tue, 07 Jun 2022 21:13:10 +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 E4FDB43E65 for ; Tue, 7 Jun 2022 21:13:09 +0200 (CEST) Received: from localhost ([::1]:51998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyedZ-0003tf-4F for larch@yhetil.org; Tue, 07 Jun 2022 15:13:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyedS-0003rv-Q1 for guix-patches@gnu.org; Tue, 07 Jun 2022 15:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyedS-0002pN-Ht for guix-patches@gnu.org; Tue, 07 Jun 2022 15:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nyedS-0002bL-DZ for guix-patches@gnu.org; Tue, 07 Jun 2022 15:13: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:13: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.16546291309931 (code B ref 55580); Tue, 07 Jun 2022 19:13:02 +0000 Received: (at 55580) by debbugs.gnu.org; 7 Jun 2022 19:12:10 +0000 Received: from localhost ([127.0.0.1]:41557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyecR-0002Zf-Ao for submit@debbugs.gnu.org; Tue, 07 Jun 2022 15:12:09 -0400 Received: from mail-lj1-f182.google.com ([209.85.208.182]:41846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nyecO-0002ZR-IA for 55580@debbugs.gnu.org; Tue, 07 Jun 2022 15:11:58 -0400 Received: by mail-lj1-f182.google.com with SMTP id 1so20291863ljp.8 for <55580@debbugs.gnu.org>; Tue, 07 Jun 2022 12:11:56 -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=hMoQoNFXzuMliRdQLldX57TQ/3B52tsh8y2vqz8Xjzg=; b=QLjbTd1RPpRLLbUNMQQhSL4iQxFedIHEFZKXdHfkvOPhd0REHxVC9Vqto6tCNKQ9LU Q5j+xENOII5g6vh+rFyJXmYHfxgXIC5UlJTKDCQKpH1r6dBbTmeAzvug5VF+1ra2wZQt S6P7dcPbZ7fZ1gpDmgY6L7uhrMuNYfW/OfN07u/lB0Ai1tW6FNwqJWg6IA8wx8Kw/+4m gW6HQPB3aNGUbK5Y4JqCgCBL+GwfbbRlFTu0JenujE8sejaAIbtndcVnmpuNyHRV8tdi PVe5dFMuprr4P94Xl2+Pw5E++XJw4vkUWT3t4PnwLalHHE39AsuCaaZMBz735H6AmBcO s7vg== 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=hMoQoNFXzuMliRdQLldX57TQ/3B52tsh8y2vqz8Xjzg=; b=cL2a7CBSHofkq80qREtQKMbAm42B/DnpIvI6FdQd8yndW2gSkaRh0hBz5iQSyzIUs7 a8nvaRgUFp9MW5M4/jwhxF8jYMTShmos//YvADy9jAgIjsApPq+Y9H3Bmj3YKba3owkC mkoRVlecDbt7g2SY7vXFvt44bdJ6sS30caA2zmSDeQ5+iMFtRnVUdECGdyrqOhOQjcpK ZWEQc9xuL/iBOKiTCS+m7BNuxZFVb1BoCU/MAhSKiu7gxWdahIP9l9khE4YYRzUPzbPD T0SpCXvD2ez61wOxAWSMc8b9DExLjG5eB6+e7ySQQLqElUb5/YyHLRHy4LDhlr49pb3m A9CA== X-Gm-Message-State: AOAM533wHJfXtx2jPaM2UgKCBM51vy8beQZzuk4g7fiwMmExVwNfNbYd BXUBxjZXlMA7evwMSRqX8xyYjnnoGFc= X-Google-Smtp-Source: ABdhPJwGamRoO9TJBFB/sPNYDurhWHFC6DgwtlkEhv0M0umBvPdZSxCc1WJPwS+msSy6ZP75r0KoEg== X-Received: by 2002:a2e:a374:0:b0:255:67e7:24a5 with SMTP id i20-20020a2ea374000000b0025567e724a5mr19789333ljn.58.1654629108994; Tue, 07 Jun 2022 12:11:48 -0700 (PDT) Received: from elephant ([5.164.222.47]) by smtp.gmail.com with ESMTPSA id d15-20020ac25ecf000000b0047255d21161sm3382481lfq.144.2022.06.07.12.11.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 12:11:48 -0700 (PDT) From: "Artyom V. Poptsov" References: <87leutflf9.fsf@gmail.com> <877d5vndev.fsf@gnu.org> Date: Tue, 07 Jun 2022 22:11:43 +0300 In-Reply-To: <877d5vndev.fsf@gnu.org> (Mathieu Othacehe's message of "Sun, 05 Jun 2022 21:00:40 +0200") Message-ID: <877d5sz3tc.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=1654629190; 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=hMoQoNFXzuMliRdQLldX57TQ/3B52tsh8y2vqz8Xjzg=; b=cLUTWidMQGJHAiyaNApovfebx/Hoqjj6k1FVMDr2M/bFy9nTQ2lUsgf/O6hUTjiAxn+1d+ 2KMZSy0BC6CG59BnsWu+4OsdHPfJURXn49Bbw756XqRTiRd6KtlISWoyTnXBa4qlBS8T5z sNTW5tvpDcPchgo2NcXLU6lOER/Ckzs6cxcNMlmHWeEEF04w6GPxq3oNd4MQGY5QZoAWvd tLFIJyvk7nnzon4vL5Ny/gLxBMS9eKKSyn81QhzESCxv1ZU3Tr3lyn2E+pKi2oXC3kAKuV j2tJUQ6ayZ6gD4EPAGaht/iKhdkJNGdkge+ASMuf/IKQIBQ55twrx/kqHQFNzA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654629190; a=rsa-sha256; cv=none; b=YxJfcJQosVHCWMLYkbMRabHCMe2qbs+LHG02iSPLDAmaEOvtwzOdgluifJCxOszCwE5VID lhk2ak1rsfsKqSps5s3qlOg+Wqt1yWG/PF6yY2+qvll5r3BW573/cVDJtF37I535yUiO7B reoedTnisUPL4EAHSnwNp+40D12aadf/cj3sbKyrrcz/hoK6cNoAINsWQPG//7FMXoPyJp Wme9dNy8cJF9Kn9Fx0rZyd3Z3G0LcVVXyjuGtbnAoODYW8kgHqiRMY8S+hyyS92fQkIT9C 6xrk+rWmbQRJ8Vywu1TDOse4IVC2rhHIUnQiTs+4gztN3KaLGhvxW3N9HMdOLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=QLjbTd1R; 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.89 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=QLjbTd1R; 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: E4FDB43E65 X-Spam-Score: 3.89 X-Migadu-Scanner: scn1.migadu.com X-TUID: +3MQuum5qBw3 --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello Mathieu, thank you for the patch review. Here's the updated patch. - Artyom --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-gnu-Add-python-langcodes.patch Content-Transfer-Encoding: quoted-printable From=20fade3d87c1b64e4279787d2bb28b0e61d2b7ee61 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 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f3d7fab973..82c2c87e4c 100644 =2D-- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29403,3 +29403,32 @@ 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)) + (inputs (list python)) + (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----- iQEzBAEBCgAdFiEE0MLqwTMQgi2Y3rV86cWi2QiYoC8FAmKfou8ACgkQ6cWi2QiY oC+u5Qf/XhAvfRjBXaTmw+bAl9D0s9IPrrtMY0CVPTIiHn9JARe18f2S1ISO822m +DZ5FOpx4M/Nc+fr8L0ZDxJNYM8ozmY5XfQF2TY6hbDIZWiBqMIyP11wM+wkvmZG HDwHFSKvC2OlBisa7No1JrHSReT8CZm+h1/1HsfBXPr+JJfD2hBJfC1hU9JJaf+A IaS8tLLphrKyozNucb3IPJeKimiqdWeuoZf0VcvHOPyGxgDtFmtPQt6EFgrBaNkj aIhrtOy01RpqbUg3/Bbkvzjj4l9U/2WnVDmpWgurt7ek8vfJt+S4XrHSdIyp0Jdq ilcwgzRq0B6P56+R4O5eMrFx+Ne+NQ== =tcBJ -----END PGP SIGNATURE----- --==-=-=--