From patchwork Sat Sep 18 19:03:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 33195 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 4F44227BBE3; Sat, 18 Sep 2021 20:29:51 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1970E27BBE1 for ; Sat, 18 Sep 2021 20:29:51 +0100 (BST) Received: from localhost ([::1]:55636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRg22-0008Qi-83 for patchwork@mira.cbaines.net; Sat, 18 Sep 2021 15:29:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRfe2-0005pX-JH for guix-patches@gnu.org; Sat, 18 Sep 2021 15:05:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53607) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRfe2-0002lm-AF for guix-patches@gnu.org; Sat, 18 Sep 2021 15:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRfe2-0004lG-31 for guix-patches@gnu.org; Sat, 18 Sep 2021 15:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50663] [PATCH 12/19] gnu: Add python-lingua-franca. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Sep 2021 19:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50663 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "50663@debbugs.gnu.org" <50663@debbugs.gnu.org> Received: via spool by 50663-submit@debbugs.gnu.org id=B50663.163199185318218 (code B ref 50663); Sat, 18 Sep 2021 19:05:02 +0000 Received: (at 50663) by debbugs.gnu.org; 18 Sep 2021 19:04:13 +0000 Received: from localhost ([127.0.0.1]:36917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRfdF-0004jk-7p for submit@debbugs.gnu.org; Sat, 18 Sep 2021 15:04:13 -0400 Received: from mail-4323.protonmail.ch ([185.70.43.23]:37861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRfdC-0004jU-OK for 50663@debbugs.gnu.org; Sat, 18 Sep 2021 15:04:11 -0400 Date: Sat, 18 Sep 2021 19:03:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1631991842; bh=Q5hOsWd2g+n8HjP+NZXVWOF6pXT2hcip6WAHl3xA7gA=; h=Date:To:From:Reply-To:Subject:From; b=VcDPdPpfl8kRgYdTOaRF9qYSOWK0Nj7mEDQxbhFRxeo/obE7N9LwDJ6DEiPqHb4Vi 9DQ61ecFE6BMzWKkIC980GfHAZKMTOvgHuC47QdSbwpYVWT6oFax2uZiW5RgGYOyPJ 7tx6GlkZusntS88qF+W9SdPnwqxnTI7xHCbIOJDs= Message-ID: MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-lingua-franca): New variable. --- 2.32.0 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6f03518ea8..5c068ee17b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19348,6 +19348,35 @@ lines are read from a single file.") (define-public python2-linecache2 (package-with-python2 python-linecache2)) +(define-public python-lingua-franca + (package + (name "python-lingua-franca") + (version "v0.4.1") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/MycroftAI/lingua-franca") + (commit (string-append "release/" version)))) + (file-name (git-file-name name version)) + (modules '((guix build utils))) + (snippet '(begin + ;; Use newer version of pkg + (substitute* "requirements.txt" + (("python-dateutil==") "python-dateutil>=")) + #t)) + (sha256 + (base32 + "1qrd1jdi57lv9q3h1g18sg1whgxsmij7x3jw6p608cnhpssf92dr")))) + (build-system python-build-system) + (propagated-inputs + `(("python-dateutil" ,python-dateutil))) + (home-page "https://github.com/MycroftAI/lingua-franca") + (synopsis "Mycroft's multilingual text parsing and formatting library") + (description "Converts data into spoken equivalents.") + (license license:asl2.0))) + (define-public python-traceback2 (package (name "python-traceback2")