BSD Ports

audio/py-gtts 2.2.1_1 MidnightBSD

Library/CLI tool to interface with Google Translate text-to-speech API

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
audio, python

Description

gTTS (Google Text-to-Speech), a Python library and CLI tool to interface with Google Translate's text-to-speech API. Write spoken mp3 data to a file, a file-like object (bytestring) for further audio manipulation, or stdout.

Or simply pre-generate Google Translate TTS request URLs to feed to an external program.

Customizable speech-specific sentence tokenizer that allows for unlimited lengths of text to be read, all while keeping proper intonation, abbreviations, decimals and more; Customizable text pre-processors which can, for example, provide pronunciation corrections; Automatic retrieval of supported languages.

In the other systems

The newest version among them is 2.5.4, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDaudio/py-gtts2.2.1_1no data-[email protected]-
FreeBSDaudio/py-gtts2.5.4 newestnone known-[email protected]-
DragonFlyaudio/py-gtts2.5.4 newestnone known-[email protected]-
HardenedBSDaudio/py-gtts2.5.4 newestno data-[email protected]-
GhostBSDaudio/py-gtts2.5.4 newestno data-[email protected]-

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}gtts

From mports:

cd /usr/mports/audio/py-gtts && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gtts>0:audio/py-gtts

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Runtime 3

Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pndurette-gTTS-v2.2.1_GH0.tar.gz33711a92cc3ecbff83e8c291607deedbeb73c3d1089aeeb8da11132e5357a26e89daf