From patchwork Thu Mar 9 17:07:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 47823 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 8273516E4D; Thu, 9 Mar 2023 17:08:22 +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=ham 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 C16F916E43 for ; Thu, 9 Mar 2023 17:08:21 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paJkJ-0002wn-Qn; Thu, 09 Mar 2023 12:08:03 -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 1paJkI-0002wY-Ts for guix-patches@gnu.org; Thu, 09 Mar 2023 12:08:02 -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 1paJkI-0002Gw-BG for guix-patches@gnu.org; Thu, 09 Mar 2023 12:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1paJkI-0007lh-78 for guix-patches@gnu.org; Thu, 09 Mar 2023 12:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#62083] [PATCH 1/4] gnu: Add python-fluent-syntax. 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:08: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.167838164029808 (code B ref 62083); Thu, 09 Mar 2023 17:08:02 +0000 Received: (at 62083) by debbugs.gnu.org; 9 Mar 2023 17:07:20 +0000 Received: from localhost ([127.0.0.1]:52998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paJjc-0007ki-4r for submit@debbugs.gnu.org; Thu, 09 Mar 2023 12:07:20 -0500 Received: from knopi.disroot.org ([178.21.23.139]:39946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paJja-0007ka-A6 for 62083@debbugs.gnu.org; Thu, 09 Mar 2023 12:07:18 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id BE56B44649 for <62083@debbugs.gnu.org>; Thu, 9 Mar 2023 18:07:17 +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 sRiqel2wSeHo for <62083@debbugs.gnu.org>; Thu, 9 Mar 2023 18:07:16 +0100 (CET) Message-ID: <0f5b29fa-20f5-5885-fc29-c2fb0dcd9929@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1678381636; bh=4lUpZGsf4wXEg8A9OwuRi1Et4LwejWmenRN2AaGuVKs=; h=Date:To:From:Subject; b=GRY6JjOXaegGjkdgkHyluR8fd2duwL4Fgua2zbGEOxIILczY88b2Ep7cxoQOMn2uR cs4T8TfhxtJrvJSOxZvcYiOt+UREfH5IEWioNt4MJgqxD95jmzq9IiouSPZQCBLLnB Sp/Ewt1f2ZQrufzfAVCtV1c71QMTIYAH68xDpppgKN+/Swd9/fey3CXNUCyxA+mw0d ev+6/yf8cd/tj615Y2z4xDS/ETCEfkGoN9qPeu/+ulyeZK2RtQy3x1HXpVbtivE2Qm eTKnGcMtpOCwFEARYvi+TuXqU1wbY2j7KkYCE1aH8CqTHpj+YWpjuQScNIX1cXlkBV 1ivyYZzlOTnVw== Date: Fri, 10 Mar 2023 01:07:13 +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 ca7555bdf0939dff37ea698fb918601cc6d59a49 Mon Sep 17 00:00:00 2001 Message-Id: In-Reply-To: References: From: AwesomeAdam54321 Date: Thu, 9 Mar 2023 23:38:43 +0800 Subject: [PATCH 1/4] gnu: Add python-fluent-syntax. * gnu/packages/python-xyz.scm (python-fluent-syntax): New variable. --- 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 92ea561737..625c703aaf 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27650,6 +27650,35 @@ (define-public python-lazr-config validation.") (license license:lgpl3))) +(define-public python-fluent-syntax + (package + (name "python-fluent-syntax") + (version "0.18.1") + (source + (origin + ;; Tests not included in release. + (method git-fetch) + (uri (git-reference + (url "https://github.com/projectfluent/python-fluent") + (commit (string-append "fluent.syntax@" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "06a88fyhqvmhpp1wf7ghcmpzg92s8wgpb1bbi4y09ixva5r9dgwg")))) + (build-system python-build-system) + (propagated-inputs + (list python-six)) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-before 'build 'chdir + (lambda _ + (chdir "fluent.syntax")))))) + (home-page "https://github.com/projectfluent/python-fluent") + (synopsis "Localization library for expressive translations") + (description "fluent.syntax provides the parser, serializer, +and traversal utilities for the Fluent localization system.") + (license license:asl2.0))) + (define-public python-flufl-bounce (package (name "python-flufl-bounce") From patchwork Thu Mar 9 17:09:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 47824 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 A3D1E16E47; Thu, 9 Mar 2023 17:10:20 +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.7 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED, URIBL_SBL_A 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 1F23D16E43 for ; Thu, 9 Mar 2023 17:10:19 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paJmF-0003MF-CU; Thu, 09 Mar 2023 12:10:03 -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 1paJmE-0003Lx-Fa for guix-patches@gnu.org; Thu, 09 Mar 2023 12:10:02 -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 1paJmE-0002fq-6u for guix-patches@gnu.org; Thu, 09 Mar 2023 12:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1paJmE-0007pU-1b for guix-patches@gnu.org; Thu, 09 Mar 2023 12:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#62083] [PATCH 2/4] gnu: Add python-hglib. 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:10: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.167838179130070 (code B ref 62083); Thu, 09 Mar 2023 17:10:02 +0000 Received: (at 62083) by debbugs.gnu.org; 9 Mar 2023 17:09:51 +0000 Received: from localhost ([127.0.0.1]:53006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paJm3-0007ov-2J for submit@debbugs.gnu.org; Thu, 09 Mar 2023 12:09:51 -0500 Received: from knopi.disroot.org ([178.21.23.139]:58620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paJm0-0007om-Mt for 62083@debbugs.gnu.org; Thu, 09 Mar 2023 12:09:49 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 2B19244538 for <62083@debbugs.gnu.org>; Thu, 9 Mar 2023 18:09:48 +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 kVrv47zun6jV for <62083@debbugs.gnu.org>; Thu, 9 Mar 2023 18:09:46 +0100 (CET) Message-ID: <2ea5f895-0513-2e2f-a2e7-35872c957554@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1678381786; bh=lftniOSB2LyT9tnbQAyNIJu/55uHghFrdnI2jCRG+ZQ=; h=Date:To:From:Subject; b=LEX9uzAkgZMpjL8W/LrzoV34ZRseO0KafldXAGIp94oGlpBXXOusZvxnEwJbAFGzM Z+q48QM+kWYxdjPLv1AOqjRyBXyUXycYKWZekFLyivxkTRSsf/KZXkJGKENnY3rGNf jwGjixtVPVNa3eYbB9/sioxIvYRCNcSca4+iC+FEW1OF2mHXbsKihieDgax34Flm90 K7YJFFws67Nd/Mojm9PhxL4S5T+mhcvmhEN83U2hQez7E9g+MyR90KyNhUabT3S2uy 3Q+p3s0dh7VGLrHJc8o6VnUVQyyAW7xZz8wSztCeNYhclU9dMumUD5/p6TfrM0/Vci X67UzMI3TryZA== Date: Fri, 10 Mar 2023 01:09:44 +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 bf2f8969a089e8039519c9d1fe895bb87d858085 Mon Sep 17 00:00:00 2001 Message-Id: In-Reply-To: References: From: AwesomeAdam54321 Date: Thu, 9 Mar 2023 23:57:41 +0800 Subject: [PATCH 2/4] gnu: Add python-hglib. * gnu/packages/version-control.scm (python-hglib): New variable. --- gnu/packages/version-control.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index aa89c8752b..3dd042e683 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -1925,6 +1925,24 @@ (define-public python-hg-evolve history. It implements the changeset evolution concept for Mercurial.") (license license:gpl2))) +(define-public python-hglib + (package + (name "python-hglib") + (version "2.6.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "hglib" version)) + (sha256 + (base32 + "17jky5dvfa1w4jqm5c5dn23i92hcdgfh6051xn7fwjik3a53lziz")))) + (build-system python-build-system) + (home-page "https://bitbucket.org/515k4/hglib/") + (synopsis "Mercurial Python library") + (description + "python-hglib is a Python library for interfacing with +Mercurial's CommandServer.") + (license license:expat))) + (define-public hg-commitsigs ;; Latest tag is 11 years old. (let ((changeset "b53eb6862bff") 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") From patchwork Thu Mar 9 17:20:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Faiz X-Patchwork-Id: 47826 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 B42BF16E46; Thu, 9 Mar 2023 17:21:12 +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 005E716E3C for ; Thu, 9 Mar 2023 17:21:10 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1paJwt-0001Yv-3x; Thu, 09 Mar 2023 12:21:03 -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 1paJws-0001YZ-45 for guix-patches@gnu.org; Thu, 09 Mar 2023 12:21:02 -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 1paJwr-0005CH-Qw for guix-patches@gnu.org; Thu, 09 Mar 2023 12:21:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1paJwr-00087s-Lg for guix-patches@gnu.org; Thu, 09 Mar 2023 12:21:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#62083] [PATCH 4/4] gnu: Add python-fluent-migrate. 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:21:01 +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.167838246031222 (code B ref 62083); Thu, 09 Mar 2023 17:21:01 +0000 Received: (at 62083) by debbugs.gnu.org; 9 Mar 2023 17:21:00 +0000 Received: from localhost ([127.0.0.1]:53015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paJwp-00087V-MU for submit@debbugs.gnu.org; Thu, 09 Mar 2023 12:21:00 -0500 Received: from knopi.disroot.org ([178.21.23.139]:51840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paJwn-00087N-AK for 62083@debbugs.gnu.org; Thu, 09 Mar 2023 12:20:58 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id AC54E44625 for <62083@debbugs.gnu.org>; Thu, 9 Mar 2023 18:20:56 +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 x48VkdifaBh1 for <62083@debbugs.gnu.org>; Thu, 9 Mar 2023 18:20:55 +0100 (CET) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1678382455; bh=1VVDzukE5SqDE5Xu7zTYXgym6cydliB3tbuPkqExrdI=; h=Date:To:From:Subject; b=lv7lOzqdhfjftjBgK5zW62uZR6K9Ubttyfp06IeOxYm+Je9a3K6w72VfzvGBa4ERK QT+fqODnNb16Lr0C2h43QWjQ7ahvHxIdWf+khNQy1plKuin7KQBfQN772QLc0ZVqtg tYPYEOT8kwnf9Ro3ANACIsBdlEQkOPWB8b76Q4twxdBB3EOTgoD3jqx+lXvOJOXPv9 9X65J8hlYJjFPW6IJ9d5ktsNqVH2CkyQJHNSaF8X73XkBlajHE05YM7AwBdCmjtCKI VY2lh5fJlvWsBop8w1avkorkiM/1v/XKAoLFvXaznz/gpQcrWD9nALwXn+TzMxyuAg 8sA2Fe9JbJM1Q== Date: Fri, 10 Mar 2023 01:20:52 +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 7be6e59c5231bb825c69c9ce48976bc49d2810ed Mon Sep 17 00:00:00 2001 Message-Id: <7be6e59c5231bb825c69c9ce48976bc49d2810ed.1678382249.git.adam.faiz@disroot.org> In-Reply-To: References: From: AwesomeAdam54321 Date: Fri, 10 Mar 2023 00:19:27 +0800 Subject: [PATCH 4/4] gnu: Add python-fluent-migrate. * gnu/packages/python-xyz.scm (python-fluent-migrate): New variable. --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 625c703aaf..5f695da802 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27650,6 +27650,36 @@ (define-public python-lazr-config validation.") (license license:lgpl3))) +(define-public python-fluent-migrate + (package + (name "python-fluent-migrate") + (version "0.11") + (source + (origin + (method hg-fetch) + (uri (hg-reference + (url "https://hg.mozilla.org/l10n/fluent-migration/") + (changeset "fabfe61d6b73a7a0a7333a80f9eb066fee39588c"))) + (file-name (hg-file-name name version)) + (sha256 + (base32 + "18pxa40afgpmpf9r919scqdyf6xvnapxm7qzlhcls2ah3xx4y451")))) + (build-system python-build-system) + (native-inputs + (list mercurial + python-hglib + python-mock)) + (propagated-inputs + (list python-compare-locales + python-fluent-syntax + python-six)) + (home-page "https://hg.mozilla.org/l10n/fluent-migration/") + (synopsis "Toolchain to migrate legacy translation to Fluent") + (description "@code{fluent.migrate} is a toolchain to migrate legacy translation +to Fluent. It can programmatically create Fluent files from existing content +in both legacy and Fluent formats.") + (license license:asl2.0))) + (define-public python-fluent-syntax (package (name "python-fluent-syntax")