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