Port details |
- py-gtts Library/CLI tool to interface with Google Translate text-to-speech API
- 2.5.4 audio
=2 2.5.4Version of this port present on the latest quarterly branch. - Maintainer: eduardo@FreeBSD.org
 - Port Added: 2020-07-30 19:18:21
- Last Update: 2024-11-15 09:43:14
- Commit Hash: c739e7b
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/pndurette/gTTS
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}gTTS>0:audio/py-gtts@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/audio/py-gtts/ && make install clean
- To add the package, run one of these commands:
- pkg install audio/py-gtts
- pkg install py311-gTTS
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-gTTS listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-gTTS
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1731662555
SHA256 (gtts-2.5.4.tar.gz) = f5737b585f6442f677dbe8773424fd50697c75bdf3e36443585e30a8d48c1884
SIZE (gtts-2.5.4.tar.gz) = 24018
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>0 : devel/py-setuptools@py311
- py311-wheel>0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- py311-pytest-cov>0 : devel/py-pytest-cov@py311
- py311-testfixtures>0 : devel/py-testfixtures@py311
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-click>=8.1.3 : devel/py-click@py311
- py311-requests>=2.28.0 : www/py-requests@py311
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- games/py-mnemosyne-proj
- textproc/py-dialect
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- audio_py-gtts
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.5.4 15 Nov 2024 09:43:14
    |
Nuno Teixeira (eduardo)  |
audio/py-gtts: Update to 2.5.4
ChangeLog: https://github.com/pndurette/gTTS/compare/v2.5.1...v2.5.4 |
2.5.1 30 Jan 2024 11:05:44
    |
Nuno Teixeira (eduardo)  |
audio/py-gtts: Update to 2.5.1
ChangeLog: https://github.com/pndurette/gTTS/blob/main/CHANGELOG.md
MFH: 2024Q1 |
2.5.0 21 Dec 2023 11:11:00
    |
Nuno Teixeira (eduardo)  |
audio/py-gtts: Update to 2.5.0
ChangeLog: https://github.com/pndurette/gTTS/releases/tag/v2.5.0 |
2.4.0 04 Oct 2023 07:56:31
    |
Nuno Teixeira (eduardo)  |
audio/py-gtts: Update to 2.4.0
ChangeLog: https://github.com/pndurette/gTTS/releases/tag/v2.4.0 |
2.3.2 18 Jul 2023 00:53:09
    |
Charlie Li (vishwin)  |
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}
Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.
With hat: python
PR: 270510, 270358 |
2.3.2 02 May 2023 19:18:46
    |
Nuno Teixeira (eduardo)  |
audio/py-gtts: Update to 2.3.2
ChangeLog: https://github.com/pndurette/gTTS/releases/tag/v2.3.2 |
2.3.1_1 04 Apr 2023 18:29:11
    |
Antoine Brodin (antoine)  |
USE_PYTHON=pep517: bump PORTREVISION |
2.3.1 05 Feb 2023 19:05:02
    |
Charlie Li (vishwin)  |
Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install
bytecode"
Despite installer's default behaviour to compile and install bytecode,
we are not doing so going forward at stage/package time. [0] During
initial development and qualification of PEP-517 framework support,
compiling and installing bytecode at stage/package time was considered,
but was found problematic, fragile and ultimately unreliable, both
currently and historically (with USE_PYTHON=distutils), due to our
fixed plist requirement. While the living binary distribution format
(wheel) specification [1] says to compile bytecode, that is in the
pure Python package management context (pip, etc); nuance always
exists when interacting with "system" package management.
Additionally, "bytecode is an implementation detail of the CPython
interpreter. No guarantees are made that bytecode will not be added, (Only the first 15 lines of the commit message are shown above ) |
2.3.1_1 05 Feb 2023 18:16:47
    |
Po-Chuan Hsieh (sunpoet)  |
Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode
- While I'm here, use long options for easier reading [1][2]
- Bump PORTREVISION of dependent ports (USE_PYTHON=pep517) for package change
It fixes build_fs_violation of dependent ports in poudriere (with -t flag).
It is also the default behavior of installer [2].
from py-sphinx log:
=>> Checking for staging violations... done
=>> Error: Filesystem touched during stage (files must install to ${STAGEDIR}):
extra: usr/local/lib/python3.9/site-packages/importlib_metadata/__pycache__
=>> Cleaning up wrkdir
from installer documentation:
--compile-bytecode
Possible choices: 0, 1, 2
generate bytecode for the specified optimization level(s) (default=0, 1)
--no-compile-bytecode
don’t generate bytecode for installed modules
Default: False
With hat: python
Reference: https://pypa-build.readthedocs.io/en/stable/ [1]
https://installer.pypa.io/en/stable/cli/installer/ [2] |
2.3.1 16 Jan 2023 12:35:52
    |
Nuno Teixeira (eduardo)  |
audio/py-gtts: Update to 2.3.1
ChangeLog: https://github.com/pndurette/gTTS/releases/tag/v2.3.1 |
2.3.0_1 15 Jan 2023 21:23:43
    |
Nuno Teixeira (eduardo)  |
audio/py-gtts: Make build system PEP-518 conform
Declare minimum build dependencies for build system
See: https://peps.python.org/pep-0518/#build-system-table
PR: 268902
Reported by: Charlie Li <vishwin@freebsd.org> |
2.3.0 15 Jan 2023 13:36:28
    |
Nuno Teixeira (eduardo)  |
audio/py-gtts: Adopt/Update to 2.3.0
- Use pep517 build
- Renamed PORTNAME gtts -> gTTS to match PYPI package name case
- Added issue url on test failures
- Updated run dependencies versions
ChangeLog: https://github.com/pndurette/gTTS/releases/tag/v2.3.0
PR: 268902 |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2.2.4 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2.2.4 06 Jul 2022 05:25:58
    |
Loïc Bartoletti (lbartoletti)  |
audio/py-gtts: Update to 2.2.4 and return to pool |
2.2.1 07 May 2021 13:26:34
    |
Kai Knoblich (kai)  |
audio/py-gtts, textproc/py-googletrans: Pass maintainership
Approved by: lbartoletti (new maintainer)
MFH: 2021Q2 |
2.2.1 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
2.2.1 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
2.2.1 27 Dec 2020 11:52:19
  |
kai  |
audio/py-gtts: Update to 2.2.1
* Make port concurrent safe as it installs scripts outside of Python's
site-lib directory.
* Remove no longer required dependency of devel/py-twine and obsolete parts
for Python < 3.6 after r559056 .
Changelogs since 2.1.1:
https://github.com/pndurette/gTTS/blob/v2.2.1/CHANGELOG.rst |
2.1.1 24 Dec 2020 09:21:28
  |
antoine  |
soupsieve 2.0.1 is only compatible with python 3.6+ |
2.1.1 30 Jul 2020 19:18:12
  |
lbartoletti  |
games/py-mnemosyne: Take Maintainer'ship, fix runtime error and add missing
dependencies
Latest version of games/py-mnemosyne requires new dependencies. This commit adds
the missing dependencies:
- audio/py-gtts
- security/py-gtts-token (required by audio/py-gtts)
- textproc/py-googletrans
The games/py-mnemosyne port needs to be limited to Python 3.7+ to keep the
dependency chains intact. This is because textproc/py-googletrans depends on
www/py-httpx which is only for Python 3.7+.
PR: 247595
Submitted by: kai
Reported by: gspurki@gmail.com
Approved by: tcberner (mentor)
MFH: 2020Q3
Differential Revision: https://reviews.freebsd.org/D25895 |