HomeAssistantRepository/dev-python/google-auth/google-auth-1.22.1.ebuild
Andreas Billmeier (@Home/mbp) 98feb557ef
add google-nest-sdm-0.1.6
update google-nest-sdm-0.1.9
add google-api-core-1.23.0
add google-auth-1.22.0
update google-auth-1.22.1
add grpc-google-iam-v1-0.12.3
add google-cloud-pubsub-2.1.0
add libcst-0.3.13
add proto-plus-1.11.0
2020-10-25 08:58:13 +01:00

36 lines
902 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6..8} )
inherit distutils-r1
DESCRIPTION="Google Authentication Library"
HOMEPAGE="https://github.com/googleapis/google-auth-library-python https://pypi.org/project/google-auth/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
DOCS="README.rst"
RDEPEND=">=dev-python/cachetools-2.0.0[${PYTHON_USEDEP}]
>=dev-python/pyasn1-modules-0.2.1[${PYTHON_USEDEP}]
>=dev-python/rsa-3.1.4[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
BDEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}