# Copyright 2020-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python2_7 ) inherit distutils-r1 DESCRIPTION="Core Library for Google Client Libraries" HOMEPAGE="https://github.com/googleapis/python-api-core https://googleapis.dev/python/google-api-core/latest" SRC_URI="https://github.com/googleapis/${PN//google/python}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" S="${WORKDIR}/${P//google/python}" LICENSE="Apache-2.0" SLOT="python2" KEYWORDS="~amd64 ~arm64 ~x86" IUSE="test" RESTRICT="!test? ( test )" RDEPEND=" dev-python/protobuf[${PYTHON_USEDEP}] dev-python/googleapis-common-protos[${PYTHON_USEDEP}] >=dev-python/google-auth-1.14.0[${PYTHON_USEDEP}] >=dev-python/requests-2.18.0[${PYTHON_USEDEP}]