2016-02-23 18:46:02 +03:00
|
|
|
# Copyright 1999-2016 Gentoo Foundation
|
2014-12-07 04:22:21 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
|
|
|
PYTHON_COMPAT=( python2_7 pypy )
|
|
|
|
|
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="Google API Client for Python"
|
2016-11-06 11:46:14 +03:00
|
|
|
HOMEPAGE="https://github.com/google/google-api-python-client"
|
2014-12-07 04:22:21 +03:00
|
|
|
SRC_URI="https://github.com/google/google-api-python-client/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="Apache-2.0"
|
|
|
|
SLOT="0"
|
2015-06-07 20:51:56 +03:00
|
|
|
KEYWORDS="amd64 arm x86"
|
2014-12-07 04:22:21 +03:00
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
dev-python/python-gflags[${PYTHON_USEDEP}]
|
|
|
|
>=dev-python/httplib2-0.8[${PYTHON_USEDEP}]
|
2016-02-23 18:46:02 +03:00
|
|
|
<dev-python/oauth2client-2[${PYTHON_USEDEP}]
|
2014-12-07 04:22:21 +03:00
|
|
|
dev-python/simplejson[${PYTHON_USEDEP}]
|
|
|
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
2014-12-08 02:51:52 +03:00
|
|
|
dev-python/uritemplate[${PYTHON_USEDEP}]
|
2014-12-07 04:22:21 +03:00
|
|
|
"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
|
|
python_prepare_all(){
|
|
|
|
export SKIP_GOOGLEAPICLIENT_COMPAT_CHECK=true
|
|
|
|
distutils-r1_python_prepare_all
|
|
|
|
}
|
|
|
|
|
|
|
|
python_test() {
|
|
|
|
nosetests --verbosity=3 || die
|
|
|
|
}
|