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")