pentoo-overlay/dev-python/google-cloud-translate/google-cloud-translate-3.11.1.ebuild
2023-07-13 23:28:15 +08:00

28 lines
581 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYPI_NO_NORMALIZE=1
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1 pypi
DESCRIPTION="${PN}"
HOMEPAGE="https://pypi.org/project/${PN}"
LICENSE="GPL-3"
SLOT="0"
IUSE=""
RDEPEND="dev-python/google-cloud-core[${PYTHON_USEDEP}]
dev-python/proto-plus[${PYTHON_USEDEP}]
dev-python/protobuf-python[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
KEYWORDS="amd64 ~x86"
python_install_all() {
distutils-r1_python_install_all
find "${ED}" -name '*.pth' -delete || die
}