diff options
author | Justin Lecher <jlec@gentoo.org> | 2016-02-22 15:09:13 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2016-02-22 15:09:22 +0100 |
commit | 970bcc2c88223b2154bb5d424860ccafd9968a54 (patch) | |
tree | 4c07a11055acf13fc9271b203743eee1df5a1262 /dev-python/oauth2client/oauth2client-2.0.0_p1.ebuild | |
parent | dd59b94f89dc4959162efbf82c49f58914e4ed0d (diff) | |
download | gentoo-970bcc2c88223b2154bb5d424860ccafd9968a54.tar.gz gentoo-970bcc2c88223b2154bb5d424860ccafd9968a54.tar.xz |
dev-python/oauth2client: Version Bump
Package-Manager: portage-2.2.27
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/oauth2client/oauth2client-2.0.0_p1.ebuild')
-rw-r--r-- | dev-python/oauth2client/oauth2client-2.0.0_p1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/oauth2client/oauth2client-2.0.0_p1.ebuild b/dev-python/oauth2client/oauth2client-2.0.0_p1.ebuild new file mode 100644 index 00000000000..d4363a427a4 --- /dev/null +++ b/dev-python/oauth2client/oauth2client-2.0.0_p1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy) + +inherit distutils-r1 + +DESCRIPTION="Library for accessing resources protected by OAuth 2.0" +HOMEPAGE="https://github.com/google/oauth2client" +SRC_URI="https://github.com/google/oauth2client/archive/v${PV/_p/-post}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + >=dev-python/httplib2-0.9.1[${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/google-api-python-client-1.1[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + test? ( dev-python/nose[${PYTHON_USEDEP}] ) +" + +# Needs network +RESTRICT=test + +python_prepare_all() { + sed \ + -e "s:find_packages():find_packages(exclude=['tests','tests.*']):" \ + -i setup.py || die + distutils-r1_python_prepare_all +} + +python_test() { + nosetests || die +} |