GNU bug report logs -
#62973
[PATCH] gnu: Add python-gtts.
Previous Next
Reported by: Dominik Delgado Steuter <d <at> delgado.nrw>
Date: Thu, 20 Apr 2023 18:03:02 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Tue, 25 Apr 2023 01:24:25 +0200
with message-id <875y9krhhy.fsf <at> nicolasgoaziou.fr>
and subject line Re: [bug#62973] [PATCH] gnu: Add python-gtts.
has caused the debbugs.gnu.org bug report #62973,
regarding [PATCH] gnu: Add python-gtts.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
62973: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62973
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* 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 <gabriel <at> erlikon.ch>
;;; Copyright © 2023 Amade Nemes <nemesamade <at> gmail.com>
;;; Copyright © 2023 Bruno Victal <mirai <at> makinata.eu>
+;;; Copyright © 2023 Dominik Delgado Steuter <d <at> delgado.nrw>
;;;
;;; 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
[Message part 3 (message/rfc822, inline)]
Hello,
jgart via Guix-patches via <guix-patches <at> gnu.org> writes:
> From: Dominik Delgado Steuter <d <at> delgado.nrw>
>
> * gnu/packages/python-xyz.scm (python-gtts): New variable.
>
> Co-authored-by: jgart <jgart <at> dismail.de>
Applied. Thank you.
Regards,
--
Nicolas Goaziou
This bug report was last modified 2 years and 23 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.