downgrade to some oldfashioned google libraries:
This commit is contained in:
parent
9425c8d8d9
commit
e2e4564f2b
@ -117,6 +117,9 @@
|
||||
* fix LICENSE string of dev-python/aiobotocore
|
||||
* rename (again) unused home-assistant-frontend-20191119.1 to current home-assistant-frontend-20191119.2
|
||||
* bump homeassistant-0.102.0_beta3
|
||||
* downgrade to some old fashioned google libraries:
|
||||
- oauth2client-4.0.0
|
||||
- google-api-python-client-1.6.4
|
||||
|
||||
2019-11-18 homeassistant-0.102.0_beta2
|
||||
* update pyatmo-3.0.1
|
||||
|
||||
3
dev-python/google-api-python-client/Manifest
Normal file
3
dev-python/google-api-python-client/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST google-api-python-client-1.6.4.tar.gz 4254802 BLAKE2B befbda9fb7919590391125d88707178628b4629933291b68bacddc9559a2d09f89f125f2600aa7b9fa9cb83e02f53e5c50065d94b3282c3349dc66cb3f98bd0d SHA512 9a605a283f42151cb6b06b8cc5caf8fc230f14f5de944b2e5fedb49c91c845aed40e14350db85183bbebcc64494e75252baf3cb9bf33f377517bc718c0e98e23
|
||||
EBUILD google-api-python-client-1.6.4.ebuild 1191 BLAKE2B cd104a7026acf2aa1fdc95bbaf4981c6ef2610149ff522e8f0e759d446621a960d4fb1d3e9dc5d49c245e16fe8d90687ccd658fc7c015e1b57566cbc699d7f2e SHA512 4ba0000dcb84a2bae6b12a5b75df56e480d448ea0d1ce5f741b385875c3687cc720955998b1994deb69fea24aebf3fa81472504679a51d90e61dbe7735e7a3a8
|
||||
MISC metadata.xml 356 BLAKE2B 57ec373091acbeaf75beafc097b6b84f56bc052d9c27b0386e12579e3bef8ca955413d38344ecdac04c7f5a0ab463295a827efd5c6691db1cb958fc4a7f350f6 SHA512 e45fdf92fc9a3fcf08b74e9ac07326cced2cd7971b16a6cc4f96203199aafb9d72d36a29e3a924a43ce8dc4f3709add9c8bfcc8413bef028408cfb899eec9338
|
||||
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} 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 ~arm ~arm64 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
|
||||
}
|
||||
11
dev-python/google-api-python-client/metadata.xml
Normal file
11
dev-python/google-api-python-client/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>robbat2@gentoo.org</email>
|
||||
<name>Robin H. Johnson</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">google/google-api-python-client</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
3
dev-python/oauth2client/Manifest
Normal file
3
dev-python/oauth2client/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST oauth2client-4.0.0.tar.gz 183288 BLAKE2B 3330cbe01228b1b57a668744ce4310ee23a55c858fd05d0424fe43c16bb7e211e0d9e2c3d8c148db276bd61fcf25db12437dce6093dfa89375caaf2c848ca528 SHA512 b59805702c7acb306801a04a92b7f700c0f58d5937b4b27a497018d313922512b5ec3f1711bacf13bc7e01c4f006eda5344a9055f981ba34e116c34c56c5dfec
|
||||
EBUILD oauth2client-4.0.0.ebuild 1698 BLAKE2B 134a3c75b91b4453188e70a3ae4bca794107a23b86c1482e3f691fb8cb7246155ee7ac25270659d51a1e47690968062f182ae1ed376ec4ac936e53b66660750f SHA512 e8f7b6e97b688eb442d5ecb8e7df549402b4d1039ac148085e0081b5cdd9d79f7031e5700b15f0b027c94d0f19150757b753b2f2355d70fef2b910411498484e
|
||||
MISC metadata.xml 334 BLAKE2B 474087a66809e8ad113f10c3f674b5684858d0eb67d58f54d19557f9a32295f96c587aa945eb6b4fbe338690a096fb59109f907902cd4e08f40c4d62f5dc7e54 SHA512 585f6ddeaa1a11022fcb9bab897e02392157abca2e638cfef57d76a97be2d85071405bbd70a256172d6202e4a4deca47ddb2374b98cd810e60541c2d4d3d373c
|
||||
11
dev-python/oauth2client/metadata.xml
Normal file
11
dev-python/oauth2client/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">google/oauth2client</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
51
dev-python/oauth2client/oauth2client-4.0.0.ebuild
Normal file
51
dev-python/oauth2client/oauth2client-4.0.0.ebuild
Normal file
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6} 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 ~arm64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
REQUIRED_USE="|| ( $(python_gen_useflags 'python*') )"
|
||||
|
||||
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}]
|
||||
$(python_gen_cond_dep 'dev-python/keyring[${PYTHON_USEDEP}]' 'python*')
|
||||
!<=dev-python/google-api-python-client-1.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
S="${WORKDIR}"/${P/_p/-post}
|
||||
|
||||
python_prepare() {
|
||||
# keyring is not fuly supported by pypy yet, because dbus-python can't support pypy
|
||||
# oauth2client -> keyring -> secretstorage -> dbus-python
|
||||
# https://github.com/mitya57/secretstorage/issues/10
|
||||
case $PYTHON in
|
||||
pypy|*pypy|*pypy3|pypy3) \
|
||||
find "${BUILD_DIR}/.." -name '*keyring*py' -delete ;;
|
||||
esac
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -e appengine -e django_util -e test_multiprocess_file_storage -e test_bad_positional || die
|
||||
# appengine - requires appengine
|
||||
# django_util - requires django
|
||||
# test_multiprocess_file_storage - requires fasteners
|
||||
# test_bad_positional - expects TypeError, gets ValueError
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user