From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uO0JFGV+QWSKDwEASxT56A (envelope-from ) for ; Thu, 20 Apr 2023 20:03:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mPgPFGV+QWQq/gAA9RJhRA (envelope-from ) for ; Thu, 20 Apr 2023 20:03:17 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8800ADDE7 for ; Thu, 20 Apr 2023 20:03:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ppYca-0007nE-34; Thu, 20 Apr 2023 14:03:04 -0400 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 1ppYcY-0007n0-RV for guix-patches@gnu.org; Thu, 20 Apr 2023 14:03:02 -0400 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 1ppYcY-0002z1-IZ for guix-patches@gnu.org; Thu, 20 Apr 2023 14:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ppYcY-0007QM-Aa for guix-patches@gnu.org; Thu, 20 Apr 2023 14:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62973] [PATCH] gnu: Add python-gtts. Resent-From: Dominik Delgado Steuter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Apr 2023 18:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62973 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62973@debbugs.gnu.org Cc: Dominik Delgado Steuter X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168201372228461 (code B ref -1); Thu, 20 Apr 2023 18:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Apr 2023 18:02:02 +0000 Received: from localhost ([127.0.0.1]:38640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppYbZ-0007Oo-NB for submit@debbugs.gnu.org; Thu, 20 Apr 2023 14:02:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:48292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppYbV-0007OX-1z for submit@debbugs.gnu.org; Thu, 20 Apr 2023 14:01:59 -0400 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 1ppYbT-0007dL-CA for guix-patches@gnu.org; Thu, 20 Apr 2023 14:01:55 -0400 Received: from [2001:8d8:1800:695::1] (helo=delgado.nrw) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ppYbR-0002kA-0N for guix-patches@gnu.org; Thu, 20 Apr 2023 14:01:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=delgado.nrw; s=mail; t=1682013709; bh=1iDYi5qv2IzPnUenzF7O+1pfTDeTgIY1uoPWsNP+P4U=; h=From:To:Cc:Subject:Date:From; b=EtPIMMd2vZ6ESkjYTXjIbuePHdONN4lGd0vXIICNa/M7FNpVIIrGyVU9VpTvi1QhI Nn92i8Gi4DgH2NhlE3tmpbLq2yRw24Blvdjibx+nSatvVRFKkeP9+4+A2rEGJ4QbSP NGtNmucZUq3httKhaAMltb9u9R4XVm0Zj3aAyRloc18ruoqkG/xtuMI7uUbPgrLLC8 nsOmCrqjO51jG9ovkWOLIXoLtxblTaFFwEeMa0xYDTq+6QtFoBVj9RJLPB7cybLWtL DT/I0ISpH3BUyHs1IZjKSu0mkmJz7VyummSQjJPEoFaBDI/bXBfuowO2OCTlxCL/RH enq3VOImaL6Ow== Date: Thu, 20 Apr 2023 20:01:38 +0200 Message-Id: <20230420180138.16291-1-d@delgado.nrw> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2001:8d8:1800:695::1 (failed) Received-SPF: permerror client-ip=2001:8d8:1800:695::1; envelope-from=d@delgado.nrw; helo=delgado.nrw X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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: Dominik Delgado Steuter X-ACL-Warn: , Dominik Delgado Steuter via Guix-patches From: Dominik Delgado Steuter via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682013795; a=rsa-sha256; cv=none; b=s1QNt6dzjVr5NZBqFq2O9ft0+O05A9rlUqba3z7cf1JaAqSM1FrSEr4yM19/T+gYOmmA/M AHe7MugypOa8wBWXIPRZoBCJOc/YC8j5HEc7ScqsTP1mRva5mQfNIQi9za3XcvBzoLj3zy PM9q7Jl0CzukNXUNWH8WkRikqGK+7rnF/BTzXphnmkH7JrjLwD0fJqYY6WPUPUBj80AXW9 dpJIRimhiNEhgtd/lD9fik+ZOh7wXOrs7Vy864F3kp+BR+Wf+uhBgKLwJX07dmQbnAsEw8 HD3SchVQ1Tq7gKYSu1iAUPI/F0R251/uLcA+0CYQ7ECnVFn2L8ARoXwOLRNLUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=delgado.nrw header.s=mail header.b=EtPIMMd2; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682013795; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=NKrruj/kopqQ5tNeC/j9wrHC05ACZ9qK4SnSenX51os=; b=C/QljpKKDJ29TdafV5F+UK3RGnZNGZE8oGS+l7ZvR83aSY+dsOLFMZMsqDrI/FUTSGCMrE 3l/yVb+2SLyjRRPzooiuI5hbtQ+Pd5yRv+waLhUPuv+VomhVKlV+ZulujD8/aHQxAqR1MU E/6YD59Tlu597GHVtSwUO7TElPRbKzzJ2hPZrHXFQstYvDJRItlhTVNK3VIlHNT7fuidW4 dnpnS8sODYUptjof/ppjfqxD7bmEMLSu8uM+ajk7eHc4nPg0F4A75jPjeftuvh26eYvwGR gVutJbWJU0xblx4x/N/2cj9lariyC+XocBmOrynUu+QteXNIMM5M6BTs7On6yw== X-Migadu-Spam-Score: -4.72 X-Spam-Score: -4.72 X-Migadu-Queue-Id: 8800ADDE7 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=delgado.nrw header.s=mail header.b=EtPIMMd2; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: 5zKWyJDbu4eP * gnu/packages/python-xyz.scm (python-gtts): New variable. --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6ea91a2..921eebc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -135,6 +135,7 @@ ;;; Copyright © 2023 Gabriel Wicki ;;; Copyright © 2023 Amade Nemes ;;; Copyright © 2023 Bruno Victal +;;; Copyright © 2023 Dominik Delgado Steuter ;;; ;;; This file is part of GNU Guix. ;;; @@ -20840,6 +20841,27 @@ (define-public python-translate-toolkit several utilities, as well as an API for building localization tools.") (license license:gpl2+))) +(define-public python-gtts + (package + (name "python-gtts") + (version "2.3.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "gTTS" version)) + (sha256 + (base32 + "1jsg1prpzr7gj5sn385mkv2v1i8xfc83ycm87hvsi2j0y366plps")))) + (build-system pyproject-build-system) + (arguments + `(#:tests? #f)) ;tests require networking + (native-inputs (list python-click python-requests)) + (home-page "https://github.com/pndurette/gTTS") + (synopsis "Google Translate text-to-speech interface") + (description + "Google Text-to-Speech (gTTS), a Python library and CLI tool to interface with +the Google Translate text-to-speech API. Write spoken mp3 data to a file, a +file-like object (bytestring) for further audio manipulation, or stdout.") + (license license:expat))) (define-public python-packaging (package/inherit python-packaging-bootstrap base-commit: 61d15695752997427ed9c3491470dd76b11bd00a -- 2.39.2