From unknown Sat Jun 21 10:35:30 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#62083] [PATCH 0/4] gnu: Add python-fluent-migrate. Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 09 Mar 2023 17:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62083 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62083@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167838152629567 (code B ref -1); Thu, 09 Mar 2023 17:06:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Mar 2023 17:05:26 +0000 Received: from localhost ([127.0.0.1]:52988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paJhm-0007gn-Bq for submit@debbugs.gnu.org; Thu, 09 Mar 2023 12:05:26 -0500 Received: from lists.gnu.org ([209.51.188.17]:37550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paJhk-0007gf-Lj for submit@debbugs.gnu.org; Thu, 09 Mar 2023 12:05:24 -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 1paJhh-0001fk-1s for guix-patches@gnu.org; Thu, 09 Mar 2023 12:05:22 -0500 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paJhf-0001sY-39 for guix-patches@gnu.org; Thu, 09 Mar 2023 12:05:20 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id CFA5644649 for ; Thu, 9 Mar 2023 18:05:16 +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 WWORJAwEuXGK for ; Thu, 9 Mar 2023 18:05:15 +0100 (CET) Message-ID: <3cc416e3-d5a7-1731-d57b-337d38f2cb5a@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1678381515; bh=TJ5DwO/VTx4J7O7l6lZTw9g0diKHq60SEPRxJOhfHB4=; h=Date:To:From:Subject; b=Im93QxQRrrjs16sYilxdtHqRni7ngXaeIrZZ5U5+0AwBBoIdBOk/hhq8PZmoPRhCb ZPaZCDsPJfuebv+scpQKwoK1AlAn35tc+Al5xpzX/NeTSA4xzT0nMn2AxJLpQpbS4R fZZn0VLsC3F2/Icw250FxnPLcmSrrDxnJjhjGUK0hppVTK4UyqeLJss11aLDoSC747 /rlTpY9V/M+ZmBB45/8UrQIeXipTQzq/4+/Q6/HCz7PfOAh4F840vmXcMM4ksVD+zE vrh9AQsF5bzEge1m+SQOx/rwJvgEMAFwLwRnO92fwokgnsw9W3S5xOvfXWaRRMR934 kJ4N8xdVI00Rw== Date: Fri, 10 Mar 2023 01:05:12 +0800 MIME-Version: 1.0 Content-Language: en-US From: Adam Faiz Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=adam.faiz@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) From 3804eb92b073eacce1043875483687fbfea91cf8 Mon Sep 17 00:00:00 2001 Message-Id: From: AwesomeAdam54321 Date: Fri, 10 Mar 2023 00:59:23 +0800 Subject: [PATCH 0/4] gnu: Add python-fluent-migrate. This patch series is a part of my effort in packaging IceCat's bundled dependencies, so that they can be unbundled in the future. Once IceCat's dependencies are all unbundled, it should make it be easier for people to modify GNU IceCat. AwesomeAdam54321 (4): gnu: Add python-fluent-syntax. gnu: Add python-hglib. gnu: Add python-compare-locales. gnu: Add python-fluent-migrate. gnu/packages/python-check.scm | 42 +++++++++++++++++++++++ gnu/packages/python-xyz.scm | 59 ++++++++++++++++++++++++++++++++ gnu/packages/version-control.scm | 18 ++++++++++ 3 files changed, 119 insertions(+) base-commit: 5befcff66edb4d72ab8e713c81836fb8519ce3e6 -- 2.39.2 From unknown Sat Jun 21 10:35:30 2025 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 From: Adam Faiz Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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") -- 2.39.2 From unknown Sat Jun 21 10:35:30 2025 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 From: Adam Faiz Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) 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") -- 2.39.2 From unknown Sat Jun 21 10:35:30 2025 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 From: Adam Faiz Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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") -- 2.39.2 From unknown Sat Jun 21 10:35:30 2025 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 From: Adam Faiz Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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") -- 2.39.2