diff options
Diffstat (limited to 'dev-python/google-auth')
-rw-r--r-- | dev-python/google-auth/Manifest | 2 | ||||
-rw-r--r-- | dev-python/google-auth/google-auth-1.1.0.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/google-auth/Manifest b/dev-python/google-auth/Manifest index cfa985c8f25e..4a1c6e7019b6 100644 --- a/dev-python/google-auth/Manifest +++ b/dev-python/google-auth/Manifest @@ -1,3 +1,5 @@ DIST google-auth-1.0.1.tar.gz 133903 SHA256 dd7b6e5f3bd15c0f7cfee63a266acea40c779da0a924b475bc1812e6e10687e1 SHA512 c10822c6b75700503a06a4b3a43a123d57605a043eb494bcb0232cc3941fc039d0803ed75be26d0da72fd4df613135c290fb3fdf82b0fa47d4fe0729462d80f4 WHIRLPOOL 04560bf31278988be1c98c0d781b84cfbc48b3c1e00e772ca83d17cbf05d2db055e6a8bf732605d39cdc02a0068d898b3c5765019e2550cdc980f2da50cd222e +DIST google-auth-1.1.0.tar.gz 290602 SHA256 3aca3b909477a60efc1150ead3a42ff6734365f24d121d258924fdce467f17c5 SHA512 03b4021f5bc3c60671e1e528642af4682828e3a83a07aa9dea8a28b3f97c4020ac47f325c8a952f366d45196e6a9a78a78e1abcfc8d7f878f7b6369434a0b79f WHIRLPOOL 1b10f0208573ae9e93a013b45e04c23b97c7c182c72b1ff1a293a88f1dcbc02e46edae5f1ba07cdae337aa4c9b8e3a1965cbe0eb480183368e6f80cbb13cb16a EBUILD google-auth-1.0.1.ebuild 1356 SHA256 7bbf0cd4b4a7176e9fa0c7e16cc180d14a37439247f581e02d6d997cbfa58ca4 SHA512 74bf3433020cff18b04b19b1c754626c78159b8cdd7414001844f5111042ea59a8ce96193f774e57b8af653e8fa9a0dcd09612dade2061a4a086ce48e74987fc WHIRLPOOL 57a6026ece97f8efe9b24e64d74614d901ea25942e046479763087b3bf4925e4e1bf2ef9e2dcc67f2bc245b4e147783f0695a57b35e7fef755305fb2ea84da40 +EBUILD google-auth-1.1.0.ebuild 1412 SHA256 158db3c7c950e957fbdd72582c4e7081107a5dacc9d7dcda59b68ca967a71180 SHA512 c2945f8fb80fa86dc4fa4458365f8431d1043734d851507c2e56029aa20ba5a50116c1dbe97c21feb4a93d85588edf1e4f015d93b7389c297075ca543f8bb749 WHIRLPOOL 1d2f121c7892aac19a9143b5dc7cfa7c17d64f3e2d1f70cb67ea87b5f2a4081d0778cb0aa27ff47f919d84a78d0df75a7a280b444982d301ce07b974251d3d41 MISC metadata.xml 404 SHA256 482a57654056a5e35d3fd9ebfc826653a33a074b246f6914ccf3a4fbd1d71c50 SHA512 ba3c9a09c5bc382da4c8594011872eca305111afa671adffbd3d4c04f8d772cc37d43d83385183f38311e9549c12ccff14f44f85352c49f778766134075ff32b WHIRLPOOL 4c7a8533ba6a05153c5d0f335b7aca4c95e31cf21eabc10ae2febc602972cbe32c581d535586ea1e8849334f9c0e386760f946319464e25803f8657d1804bba9 diff --git a/dev-python/google-auth/google-auth-1.1.0.ebuild b/dev-python/google-auth/google-auth-1.1.0.ebuild new file mode 100644 index 000000000000..64bf9f26fd10 --- /dev/null +++ b/dev-python/google-auth/google-auth-1.1.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Google Authentication Library" +HOMEPAGE="https://pypi.python.org/pypi/google-auth/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="test" + +RDEPEND=" + dev-python/namespace-google[${PYTHON_USEDEP}] + >=dev-python/pyasn1-0.1.7[${PYTHON_USEDEP}] + >=dev-python/pyasn1-modules-0.0.5[${PYTHON_USEDEP}] + >=dev-python/rsa-3.1.4[${PYTHON_USEDEP}] + >=dev-python/six-1.6.1[${PYTHON_USEDEP}] + >=dev-python/cachetools-2.0.0[${PYTHON_USEDEP}] + " +DEPEND="${RDEPEND} + test? ( + dev-python/flask[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-localserver[${PYTHON_USEDEP}] + )" + +python_prepare_all() { + # urllib3-1.16 raised MaxRetryError, not TransportError + sed -e 's:test_connection_error:_\0:' \ + -e 's:test_request_with_timeout_failure:_\0:' \ + -i tests/transport/compliance.py || die + distutils-r1_python_prepare_all +} + +python_test() { + # delete stray files included in the tarball + find "${S}"/tests -name '*.pyc' -delete || die + py.test || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + find "${ED}" -name '*.pth' -delete || die +} |