diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/google-auth-httplib2 | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/google-auth-httplib2')
-rw-r--r-- | dev-python/google-auth-httplib2/Manifest | 3 | ||||
-rw-r--r-- | dev-python/google-auth-httplib2/google-auth-httplib2-0.0.2.ebuild | 39 | ||||
-rw-r--r-- | dev-python/google-auth-httplib2/metadata.xml | 12 |
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/google-auth-httplib2/Manifest b/dev-python/google-auth-httplib2/Manifest new file mode 100644 index 000000000000..c71db15b251a --- /dev/null +++ b/dev-python/google-auth-httplib2/Manifest @@ -0,0 +1,3 @@ +DIST google-auth-httplib2-0.0.2.tar.gz 10830 BLAKE2B 7f2092d83c318510b9140791681a58bd3e436f3b5966c8dc53aa5b041e50fdc4f93c276810a0e6ca20b14a919eb37588ae1d027b5eba74f79f44a6809909dd4f SHA512 ec111fdad930bfe3f8f97df70a8bef955920ab2cb0c383d7888ff444f19e5c176dd5aabe10f9a870c86035791a2b27e3e8e1276360626ff5e430db823da5efb0 +EBUILD google-auth-httplib2-0.0.2.ebuild 1159 BLAKE2B fe99c2dff6b4316a1f61f6b1baf1835b5fc8a1169936373fc7c577367630e41510a43ff5c7850f3a45e308f9fcf54169fee798f0abf213a5d7879d49bac3109e SHA512 3acea745d359d9bafb67eee53195a28a0f3f3ec3fec3a4859e3caba7543f8d16812e65c55ca9010a9f2765f55c4c6fb0f306b1c466bbcd94bda82d62f9880b28 +MISC metadata.xml 422 BLAKE2B 4aa4a1542a90ed8ebc399dff1824e77e9f695104e4e59317af95e21719d993ceea8c5ed512d15cc2d9d4085bdd1afcc70a58e2f0d7ce673508e2cb6f52d3664b SHA512 bba9deccadfaf0b663a2f6239633f20ee02838d98cfa25e4d8c399e5635c4cd0b811dbf821f18edf98b328a56a37146bc316aceed6b5b057ef5fd2cd151bbaa2 diff --git a/dev-python/google-auth-httplib2/google-auth-httplib2-0.0.2.ebuild b/dev-python/google-auth-httplib2/google-auth-httplib2-0.0.2.ebuild new file mode 100644 index 000000000000..0dc982d38631 --- /dev/null +++ b/dev-python/google-auth-httplib2/google-auth-httplib2-0.0.2.ebuild @@ -0,0 +1,39 @@ +# 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 + +EGIT_COMMIT="607e86011141e8885b1f52826d57c8b5ff588ffc" +MY_PN=google-auth-library-python-httplib2 +DESCRIPTION="httplib2 Transport for Google Auth" +HOMEPAGE="https://pypi.org/project/google-auth-httplib2/ https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2" +# PyPi tarball is missing unit tests +#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 x86" +IUSE="test" + +RDEPEND=" + dev-python/httplib2[${PYTHON_USEDEP}] + dev-python/google-auth[${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}] + )" + +S=${WORKDIR}/${MY_PN}-${EGIT_COMMIT} + +python_test() { + py.test -v || die "Tests failed under ${EPYTHON}" +} diff --git a/dev-python/google-auth-httplib2/metadata.xml b/dev-python/google-auth-httplib2/metadata.xml new file mode 100644 index 000000000000..aaafa4650042 --- /dev/null +++ b/dev-python/google-auth-httplib2/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zmedico@gentoo.org</email> + <name>Zac Medico</name> + </maintainer> + <upstream> + <remote-id type="pypi">google-auth-httplib2</remote-id> + <remote-id type="github">GoogleCloudPlatform/google-auth-library-python-httplib2</remote-id> + </upstream> +</pkgmetadata> |