summaryrefslogtreecommitdiff
path: root/dev-python/oauth2client
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/oauth2client
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/oauth2client')
-rw-r--r--dev-python/oauth2client/Manifest13
-rw-r--r--dev-python/oauth2client/metadata.xml11
-rw-r--r--dev-python/oauth2client/oauth2client-1.5.2.ebuild36
-rw-r--r--dev-python/oauth2client/oauth2client-2.0.1.ebuild45
-rw-r--r--dev-python/oauth2client/oauth2client-2.2.0.ebuild45
-rw-r--r--dev-python/oauth2client/oauth2client-4.0.0.ebuild45
-rw-r--r--dev-python/oauth2client/oauth2client-4.1.2.ebuild51
7 files changed, 246 insertions, 0 deletions
diff --git a/dev-python/oauth2client/Manifest b/dev-python/oauth2client/Manifest
new file mode 100644
index 000000000000..088a55177531
--- /dev/null
+++ b/dev-python/oauth2client/Manifest
@@ -0,0 +1,13 @@
+DIST oauth2client-1.5.2.tar.gz 131665 SHA256 b8df20b122e4f49a5fe5bc3c825d16015f5012c171c6c81eb4048e4d8c2ffee3 SHA512 15f10b52aa93fc10289658d5ff671a247e5c92c5ff2be424a04617fee1a3a82439b829b0f5dcb04e3e84802e02580e366e08356df7ec6e24563a530d2f6b1db5 WHIRLPOOL 00f3033359eceda12528ef4caffc0a9d7d6561919272fe98e09d2599114f07d9be42eb32a4038c155c621581f98ecc0eb516bcaa018d4376e30906dd4a0adfbc
+DIST oauth2client-2.0.1.tar.gz 153127 SHA256 fa0357fca4ce431073ead236256347aafe3d368c16c5edaeba7f826b1b1d5fb6 SHA512 66179a604418a8aee9ca9dbfc5ad18356d5130a588e85f4dab3330feef194af2114bc2eb18ec625acf791938e4d7f78ee55284f45a67a48c775676697ce2b183 WHIRLPOOL bef0f7394cbeade328f74288bd602973a7828915ff616c7331d6c1910be02bc74a8e11062bd0602a2c4f1681d7d8c6558aecd695df3ef711f74ba81fad0b1ab3
+DIST oauth2client-2.2.0.tar.gz 167484 SHA256 07b44748059d6390ce2247195b2ae2117773617614f76ec9375e56fd43295f06 SHA512 1e23c3f655e955dbf0cdb2b78613768ca4c6eb4336b555e3553da212fd762ba12329584f108d8145810228cf44da018675b38dd152b06e58be4eb18d4f8127c6 WHIRLPOOL 6cb1b3a6dbc4d3e0fca8d72417810873f11428afb4d4f52b08f7028c984bd330acf043ca10c339453c6f4e38c1f179c2e9126a9f6cb419323a53cbc769ebbe8f
+DIST oauth2client-4.0.0.tar.gz 183288 SHA256 7230f52f7f1d4566a3f9c3aeb5ffe2ed80302843ce5605853bee1f08098ede46 SHA512 b59805702c7acb306801a04a92b7f700c0f58d5937b4b27a497018d313922512b5ec3f1711bacf13bc7e01c4f006eda5344a9055f981ba34e116c34c56c5dfec WHIRLPOOL 409ff71754038acb3a67841edfb7dd33865c0db9e55717ea2255eab506d298603034cc5347c6219f8978b5a2ec068a5ccf4e1f0ba53533e9810794016e4822b1
+DIST oauth2client-4.1.2.tar.gz 184731 SHA256 77737f8f831a1306b022deb2cf6f3c9dbe4b338b8b9afcf84e7be5bef4d7e833 SHA512 908f0e32f0ef76c3eb86ee34118d4100bc08fa34aa89c561793bf8c55078f07611935ee6aecb6d2ae2f7e96a18ac3bc25af0321fe564f26042ff2bb5eab30b18 WHIRLPOOL ad4a6c6ac7a5e1831a3c2829d6ca445290e34b03134b94def27a45df0ddea0488087aefa6cd5d9fb4bd3e4843eda75eafbe03e587071eaf25e76d55116a67da0
+EBUILD oauth2client-1.5.2.ebuild 920 SHA256 f536ebc06a53c32d3871818572d350ce33f191ac0f45153a5ec5d245c491067f SHA512 2fd76b033f7853bf91952cd4bb3de1db3f6f91a528de1a2afb6d11f4aaf091d299f3e5e5695765c5c5bce20bab54d8a8deeb7d21a70109583c4e7692011783c2 WHIRLPOOL d9b18b6c0aa5c4cdac791da435a93300b4656be11df69bd1f84ac1dddb62f762f2be96a2c1f095ee47fad4ecdb96d9a19a0b65f275d9399a20bd875f0448a70e
+EBUILD oauth2client-2.0.1.ebuild 1121 SHA256 a7291572e959263cf8a90b3db7b3cfff5bce2d4d582c451df68141a3537cba9a SHA512 500f6738904d42d44684ac4857c6c45abdd978c94eedf3ba30f1fa17c5b51837bd1a7fe8559cab6b37fed2b03af5e4f931af961375445c19cee6a56fa75d2b2f WHIRLPOOL bb1832bbf97b9730bcc497e1b448512098620e80aae3c2e7ac0d94292dd88ba1c66d69c991a6d5456f0858cc91a8cc04b73e35a2b9d7cfa4b432778e630901ee
+EBUILD oauth2client-2.2.0.ebuild 1124 SHA256 b1a80e13a27c51787c7b18b84684b126cedf0cf2e5ccf80eb783d4ef032918f4 SHA512 43601344ec3fa8e34652162c983408aefda4b62c0c3c96fab3478005adba4c8628fbdbfc1fdff068572684103a9fee1a32147be9ef0815320121b3816aa8f4b1 WHIRLPOOL c54b7484bebf95957ab2905e82513c2077ddceeb41930705ea2bf076c794bf46ac0d8d5d56d535b684c32cad170c5b42e282e0e39310c91a1bbbcd2d4d90317b
+EBUILD oauth2client-4.0.0.ebuild 1130 SHA256 aa1c5603c892835b3d0f67e16531fda6bc5f764351b4260c993ce92335de871c SHA512 d64b9cfbfea612c3963c9f2a650156861ae992761a313c6cbf568dd815a74dc2006eb0929acc1cb064e45b92d99558e6061916f2c3ddc9ef6984342b80e30d6d WHIRLPOOL 7833dd378a7c9e3fc9bf81e7ca496ac295389119504d112aedfeaf54e2e42e8aaeff42419ff40eafbfb36c01304fdd837f58647626fb6cb7408d4c3a6c5c2c2f
+EBUILD oauth2client-4.1.2.ebuild 1703 SHA256 34298083c71df178e01ed510e9dbf892d1116987c6abf1030d3d69cd2b27c713 SHA512 1807ee810a4e1f89ac458ac3d3e13cbd0c7d1ff814c44a708355cb67b219e2816feeec985fda6038536af6363bee18eed8569d02318de6c75e4500211d5d3b66 WHIRLPOOL 7e13ffe8c96e1608d2944867480780c2a792a92d5dcc34151b820fa1357118d51410449d64b6439e584b600f88b151eeff97892c27df5fd90c57ee1d4f8acb43
+MISC ChangeLog 5848 SHA256 c0b76d4e48b0fc764500b81387a38701bd4d0cc8db30d5cec3053e75475755f9 SHA512 8e3f50bfe4c7c3b6a5d9f8d24a5e93febbce635d760790e5570a044b343f48473c05851b51079f8f3990995adf5f8b96a1f984f19f9d57b272c13b2279124efa WHIRLPOOL b710297af586de11c00cd72d4245678771da917c27576f99d70a73ca3808f23aed25fc585f431863a51fd50739a035711ab0ce22d28af998b9f962a459ba728b
+MISC ChangeLog-2015 1725 SHA256 53ac13e8a8ea77ab7ea0b6733f3d47de4a8adce5ca5ec86ffb135f7ffaeaffe3 SHA512 031edb144f2ab3f7e2ca5937a59ed40b126cb25e4002bd4419e2490358d3d210192757f57ce8d82d2ecc0cba81ffd0eb5780c4fceb795ddec49e79b3710d7c91 WHIRLPOOL 4867764b94da5feb7a40ce7d9d50b5132ca312622caf1b115fcbe0ebf9ac1e722e6f0a540abe75f522bd607bdb79bcca10adf36e474894800ab0afd5f887e184
+MISC metadata.xml 334 SHA256 497ab178672225bcaa702d7e2441d64f321a7fd25ecf629f16369cf10613386a SHA512 585f6ddeaa1a11022fcb9bab897e02392157abca2e638cfef57d76a97be2d85071405bbd70a256172d6202e4a4deca47ddb2374b98cd810e60541c2d4d3d373c WHIRLPOOL 5a587880d97d7f35aec4c8773827376923f7c8882b67eba4530ba26d61a4154019a731d46a4453be9501277b146823f520968d2808821bc147f2c718797baac7
diff --git a/dev-python/oauth2client/metadata.xml b/dev-python/oauth2client/metadata.xml
new file mode 100644
index 000000000000..76abccb2a81a
--- /dev/null
+++ b/dev-python/oauth2client/metadata.xml
@@ -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>
diff --git a/dev-python/oauth2client/oauth2client-1.5.2.ebuild b/dev-python/oauth2client/oauth2client-1.5.2.ebuild
new file mode 100644
index 000000000000..a67b0ceca523
--- /dev/null
+++ b/dev-python/oauth2client/oauth2client-1.5.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{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}.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_test() {
+ nosetests || die
+}
diff --git a/dev-python/oauth2client/oauth2client-2.0.1.ebuild b/dev-python/oauth2client/oauth2client-2.0.1.ebuild
new file mode 100644
index 000000000000..275a95588e9e
--- /dev/null
+++ b/dev-python/oauth2client/oauth2client-2.0.1.ebuild
@@ -0,0 +1,45 @@
+# 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="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}] )
+"
+
+S="${WORKDIR}"/${P/_p/-post}
+
+# 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
+}
diff --git a/dev-python/oauth2client/oauth2client-2.2.0.ebuild b/dev-python/oauth2client/oauth2client-2.2.0.ebuild
new file mode 100644
index 000000000000..95a85729085a
--- /dev/null
+++ b/dev-python/oauth2client/oauth2client-2.2.0.ebuild
@@ -0,0 +1,45 @@
+# 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="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}] )
+"
+
+S="${WORKDIR}"/${P/_p/-post}
+
+# Needs network
+RESTRICT=test
+
+python_prepare_all() {
+ sed -i \
+ -e "s:find_packages():find_packages(exclude=['tests','tests.*']):" \
+ setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ nosetests || die
+}
diff --git a/dev-python/oauth2client/oauth2client-4.0.0.ebuild b/dev-python/oauth2client/oauth2client-4.0.0.ebuild
new file mode 100644
index 000000000000..9c0d1405c17b
--- /dev/null
+++ b/dev-python/oauth2client/oauth2client-4.0.0.ebuild
@@ -0,0 +1,45 @@
+# 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
+
+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"
+
+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}] )
+"
+
+S="${WORKDIR}"/${P/_p/-post}
+
+# Needs network
+RESTRICT=test
+
+python_prepare_all() {
+ sed -i \
+ -e "s:find_packages():find_packages(exclude=['tests','tests.*']):" \
+ setup.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ nosetests || die
+}
diff --git a/dev-python/oauth2client/oauth2client-4.1.2.ebuild b/dev-python/oauth2client/oauth2client-4.1.2.ebuild
new file mode 100644
index 000000000000..5f0c4739176f
--- /dev/null
+++ b/dev-python/oauth2client/oauth2client-4.1.2.ebuild
@@ -0,0 +1,51 @@
+# 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
+
+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="~arm amd64 ~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
+}