Files
guru/dev-python/googletrans/googletrans-4.0.0_rc1.ebuild
Shaoyu Tseng 3cc91f8359 dev-python/googletrans: new package
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Shaoyu Tseng <shaoyu0209@tuta.io>
2021-07-29 14:02:37 +08:00

29 lines
678 B
Bash

# 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}"