From unknown Sun Jun 15 07:56:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#62973 <62973@debbugs.gnu.org> To: bug#62973 <62973@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add python-gtts. Reply-To: bug#62973 <62973@debbugs.gnu.org> Date: Sun, 15 Jun 2025 14:56:33 +0000 retitle 62973 [PATCH] gnu: Add python-gtts. reassign 62973 guix-patches submitter 62973 Dominik Delgado Steuter severity 62973 normal tag 62973 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 20 14:02:02 2023 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 From: Dominik Delgado Steuter 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== To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-gtts. 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-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Dominik Delgado Steuter 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 (--) * 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 20 18:50:23 2023 Received: (at 62973) by debbugs.gnu.org; 20 Apr 2023 22:50:23 +0000 Received: from localhost ([127.0.0.1]:38829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppd6d-0007Cn-1f for submit@debbugs.gnu.org; Thu, 20 Apr 2023 18:50:23 -0400 Received: from mx2.dismail.de ([159.69.191.136]:36649) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ppd6a-0007CV-Vi for 62973@debbugs.gnu.org; Thu, 20 Apr 2023 18:50:21 -0400 Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 79659dcc; Fri, 21 Apr 2023 00:50:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=20190914; bh=6XuZ6b3kyYppjI5bDm+l2 OCXn/v2YFB9eF44ib0TyIQ=; b=Rb1fu2XPxxzq5bdwIl60yhMmiERR2Oq5uw4Si tfVq5VLVl8j477EAzRJ03mfRaC0TwQq7sjtkjzddIfvxd3WSUPILPkqKNG3ovY8P VWlpc6ULT1IoyKCSXyydNXqSaLwJrJA3sEfJ3Oe5VXQxsC3zuv5DZkKq2IRiseO3 XEviL2N80y6WmnOU5Tq6rm+hfvjgaKth5Oy4UyQAd9PikOAOso5IyVE7dwllQEHn AvA2hsjF4PRjIyhYZxiLLOkcb3vRKCkp/U2v1OFtWX3eVxBBNLfA65HWQZJ0bMq9 Jznchqk7cx1AepyrE42q38Ba10vt1HmkrDC5EaGWKRK+K+82w== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 02f5ab2d; Fri, 21 Apr 2023 00:50:14 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 5db37ade; Fri, 21 Apr 2023 00:50:13 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id d615a0ac (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 21 Apr 2023 00:50:08 +0200 (CEST) From: jgart To: 62973@debbugs.gnu.org Subject: [PATCH] gnu: Add python-gtts. Date: Thu, 20 Apr 2023 17:46:39 -0500 Message-Id: <20230420224638.8092-1-jgart@dismail.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62973 Cc: Dominik Delgado Steuter , jgart 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: -3.3 (---) From: Dominik Delgado Steuter * gnu/packages/python-xyz.scm (python-gtts): New variable. Co-authored-by: jgart --- Hi Dominik, Thanks for the contribution! I disabled the tests marked with the `@pytest.mark.net` which allowed the other tests to run and added myself as co-author. The patch LGTM now, jgart gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cb00c2bb32..05171de7ed 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. ;;; @@ -20870,6 +20871,29 @@ (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 + ;; Disable tests that require internet. + (list #:test-flags '(list "-k" "not net"))) + (native-inputs + (list python-pytest python-testfixtures 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 -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 24 19:24:34 2023 Received: (at submit) by debbugs.gnu.org; 24 Apr 2023 23:24:34 +0000 Received: from localhost ([127.0.0.1]:50662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pr5Xu-0005DU-28 for submit@debbugs.gnu.org; Mon, 24 Apr 2023 19:24:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:52326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pr5Xs-0005DI-QI for submit@debbugs.gnu.org; Mon, 24 Apr 2023 19:24:33 -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 1pr5Xs-0005b5-HH for guix-patches@gnu.org; Mon, 24 Apr 2023 19:24:32 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pr5Xq-0005PK-Vj for guix-patches@gnu.org; Mon, 24 Apr 2023 19:24:32 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id EA07E60004; Mon, 24 Apr 2023 23:24:26 +0000 (UTC) From: Nicolas Goaziou To: jgart via Guix-patches via Subject: Re: [bug#62973] [PATCH] gnu: Add python-gtts. In-Reply-To: <20230420224638.8092-1-jgart@dismail.de> (jgart via Guix-patches via's message of "Thu, 20 Apr 2023 17:46:39 -0500") References: <20230420180138.16291-1-d@delgado.nrw> <20230420224638.8092-1-jgart@dismail.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Date: Tue, 25 Apr 2023 01:24:25 +0200 Message-ID: <875y9krhhy.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.195; envelope-from=mail@nicolasgoaziou.fr; helo=relay3-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: 62973-done@debbugs.gnu.org, Dominik Delgado Steuter , jgart 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.6 (--) Hello, jgart via Guix-patches via writes: > From: Dominik Delgado Steuter > > * gnu/packages/python-xyz.scm (python-gtts): New variable. > > Co-authored-by: jgart Applied. Thank you. Regards, -- Nicolas Goaziou From unknown Sun Jun 15 07:56:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 23 May 2023 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator