dev-python/gtts: new package, add 2.5.4

Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
Pavel Sobolev
2026-01-11 15:39:08 +03:00
parent 167e2b05a9
commit 76853da18c
3 changed files with 49 additions and 0 deletions

1
dev-python/gtts/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST gtts-2.5.4.gh.tar.gz 41404 BLAKE2B dd4f99e4374922b7f8f5c1233ae84bb473f8b9c35652391aab519078dbdf1587bcdf1fb69674158c8082afe09b2b1bf14dbe109a9e85f9fe1da5cb0611c7a271 SHA512 9182aa809c2a889e399fe5e1cca00ad2bade99513b2a821d3f077e2d0560a0f8e10dd921bd7b66cfde87b972642213dfbc5a4dd4aea68f2e2cf04694611c7655

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
DESCRIPTION="Python library and CLI tool to interface with Google Translate's API"
HOMEPAGE="https://github.com/pndurette/gTTS https://pypi.org/project/gTTS/"
SRC_URI="https://github.com/pndurette/gTTS/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/gTTS-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"
PROPERTIES="test_network"
RDEPEND="
dev-python/click[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
BDEPEND="
test? (
${RDEPEND}
dev-python/testfixtures[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Pavel Sobolev</name>
<email>contact@paveloom.dev</email>
</maintainer>
<upstream>
<bugs-to>https://github.com/pndurette/gTTS/issues</bugs-to>
<remote-id type="github">pndurette/gTTS</remote-id>
<remote-id type="pypi">gTTS</remote-id>
</upstream>
</pkgmetadata>