dev-python/googletrans: new package

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Shaoyu Tseng <shaoyu0209@tuta.io>
This commit is contained in:
Shaoyu Tseng
2021-07-29 14:02:37 +08:00
parent cb64f4c41c
commit 3cc91f8359
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8,9} )
#DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
# This package uses rc1 without the underscore which is not supported by
# portage
VNAME="4.0.0rc1"
S="${WORKDIR}/${PN}-${VNAME}"
DESCRIPTION="Free Google Translate API for Python. Translates totally free of charge."
HOMEPAGE="https://pypi.org/project/googletrans"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${VNAME}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
RDEPEND="
dev-python/requests[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"