diff options
author | Zac Medico <zmedico@gentoo.org> | 2017-05-03 20:49:56 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2017-05-03 21:13:32 -0700 |
commit | b045f5287996422e99966d72ee1bcebc56de6863 (patch) | |
tree | b9060cd3d13fca8a1ffb84e3140d5e1c3e548dc2 /dev-python/google-api-python-client/google-api-python-client-1.6.2.ebuild | |
parent | dev-python/google-auth-httplib2: add package (diff) | |
download | gentoo-b045f5287996422e99966d72ee1bcebc56de6863.tar.gz gentoo-b045f5287996422e99966d72ee1bcebc56de6863.tar.bz2 gentoo-b045f5287996422e99966d72ee1bcebc56de6863.zip |
dev-python/google-api-python-client: version bump to 1.6.2
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-python/google-api-python-client/google-api-python-client-1.6.2.ebuild')
-rw-r--r-- | dev-python/google-api-python-client/google-api-python-client-1.6.2.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/google-api-python-client/google-api-python-client-1.6.2.ebuild b/dev-python/google-api-python-client/google-api-python-client-1.6.2.ebuild new file mode 100644 index 000000000000..d9dc381aa237 --- /dev/null +++ b/dev-python/google-api-python-client/google-api-python-client-1.6.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Google API Client for Python" +HOMEPAGE="https://github.com/google/google-api-python-client" +SRC_URI="https://github.com/google/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + >=dev-python/httplib2-0.9.2[${PYTHON_USEDEP}] + <dev-python/httplib2-1[${PYTHON_USEDEP}] + >=dev-python/oauth2client-2[${PYTHON_USEDEP}] + <dev-python/oauth2client-5[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/uritemplate-3.0[${PYTHON_USEDEP}] + <dev-python/uritemplate-4[${PYTHON_USEDEP}] + >=dev-python/six-1.6.1[${PYTHON_USEDEP}] + <dev-python/six-2[${PYTHON_USEDEP}] + " +DEPEND="${RDEPEND} + test? ( + dev-python/google-auth-httplib2[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/unittest2[${PYTHON_USEDEP}] + )" + +python_prepare_all() { + export SKIP_GOOGLEAPICLIENT_COMPAT_CHECK=true + distutils-r1_python_prepare_all +} + +python_test() { + nosetests --verbosity=3 || die +} |