From patchwork Thu Mar 9 17:18:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 47825 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 9CA2716E46; Thu, 9 Mar 2023 17:19:24 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D1D3F16E3C for ; Thu, 9 Mar 2023 17:19:22 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paJuy-0000X7-J0; Thu, 09 Mar 2023 12:19:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paJux-0000UA-EU for guix-patches@gnu.org; Thu, 09 Mar 2023 12:19:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1paJux-0004cp-1n for guix-patches@gnu.org; Thu, 09 Mar 2023 12:19:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1paJuw-00084K-D1 for guix-patches@gnu.org; Thu, 09 Mar 2023 12:19:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#62083] [PATCH 3/4] gnu: Add python-compare-locales. References: <3cc416e3-d5a7-1731-d57b-337d38f2cb5a@disroot.org> In-Reply-To: <3cc416e3-d5a7-1731-d57b-337d38f2cb5a@disroot.org> Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 Mar 2023 17:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62083 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62083@debbugs.gnu.org Received: via spool by 62083-submit@debbugs.gnu.org id=B62083.167838233631005 (code B ref 62083); Thu, 09 Mar 2023 17:19:02 +0000 Received: (at 62083) by debbugs.gnu.org; 9 Mar 2023 17:18:56 +0000 Received: from localhost ([127.0.0.1]:53011 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paJuq-000840-4N for submit@debbugs.gnu.org; Thu, 09 Mar 2023 12:18:56 -0500 Received: from knopi.disroot.org ([178.21.23.139]:37640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paJuo-00083r-4w for 62083@debbugs.gnu.org; Thu, 09 Mar 2023 12:18:54 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 4A676445DB for <62083@debbugs.gnu.org>; Thu, 9 Mar 2023 18:18:53 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xi-t1DAb0eVK for <62083@debbugs.gnu.org>; Thu, 9 Mar 2023 18:18:52 +0100 (CET) Message-ID: <6d159a1a-d9ab-c218-be39-33c5e0c188ce@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1678382332; bh=JiI9nBprgCvIJ6HAWLRb4fCFFVDahf2Mg6yPl6uHARE=; h=Date:To:From:Subject; b=JpWZGKFBgUupJbkNC5M/Xut3TdomvBZ8Jvc2Y1tAumEK1dyNRrUmaU8pvBQCE8O4b KYpLxLt59IKFL0/A5qGOasW8iXV6KVoOHwlLJWRjh6lkmuQVQGWD3FU3O/2dD54E08 E3EOZI9wE4KJpeBMiaZ5PuQlK5sD5ZiEdjXg3SawSANDy4h3F9Dh0EFpWsg4JrE5Hx ulZ8bcyR3AGCfzARWcAXuRM8lfGP0SqWREq6FLAKz2GfVkf3ytUSNQltfgX2qWY+7V Srs4iBwyOHRfznij6kB8kDE/R6/1ysqNkhnOjvNQO+P4CnHzrYopSnFJDS4cv+yiqc wOALp47PDnYuw== Date: Fri, 10 Mar 2023 01:18:49 +0800 MIME-Version: 1.0 Content-Language: en-US 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: , Reply-to: Adam Faiz X-ACL-Warn: , Adam Faiz via Guix-patches X-Patchwork-Original-From: Adam Faiz via Guix-patches via From: Adam Faiz Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From 4a3c42b3b8756a561a084d1f4265c71a6751dae5 Mon Sep 17 00:00:00 2001 Message-Id: <4a3c42b3b8756a561a084d1f4265c71a6751dae5.1678382249.git.adam.faiz@disroot.org> In-Reply-To: References: From: AwesomeAdam54321 Date: Fri, 10 Mar 2023 00:11:38 +0800 Subject: [PATCH 3/4] gnu: Add python-compare-locales. * gnu/packages/python-check.scm (python-compare-locales): New variable. --- gnu/packages/python-check.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 41a6997190..dca5d07a54 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -1715,6 +1715,29 @@ (define-public python-codacy-coverage analysing code quality.") (license license:expat))) +(define-public python-compare-locales + (package + (name "python-compare-locales") + (version "8.2.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "compare-locales" version)) + (sha256 + (base32 + "0m6qhf06qrhggsh5y325xbpssl5plwlhzmx3v93y3y38dkcm03a7")))) + (build-system python-build-system) + (native-inputs + (list python-mock)) + (propagated-inputs + (list python-fluent-syntax python-pytoml python-six)) + (home-page "https://pypi.org/project/compare-locales/") + (synopsis "Lint Mozilla localizations") + (description + "Compare-locales finds missing strings, obsolete strings, +errors on runtime errors without false positives, and warns +on possible runtime errors. It also includes l10n-merge functionality.") + (license license:mpl2.0))) + (define-public python-httmock (package (name "python-httmock")