summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2018-03-28 23:06:39 -0400
committerMike Frysinger <vapier@gentoo.org>2018-03-28 23:06:39 -0400
commit2205d18f817fc2f43862efa8276d381c06099774 (patch)
tree94b066d4baf0d2664ffccc1c9d7e62d5f2b413d1 /dev-python/google-apitools
parentdev-python/python-gflags: version bump to 3.1.2 (diff)
downloadgentoo-2205d18f817fc2f43862efa8276d381c06099774.tar.gz
gentoo-2205d18f817fc2f43862efa8276d381c06099774.tar.bz2
gentoo-2205d18f817fc2f43862efa8276d381c06099774.zip
dev-python/google-apitools: version bump to 0.5.22
Diffstat (limited to 'dev-python/google-apitools')
-rw-r--r--dev-python/google-apitools/Manifest1
-rw-r--r--dev-python/google-apitools/files/google-apitools-0.5.22-use-friendy-version-checks.patch13
-rw-r--r--dev-python/google-apitools/google-apitools-0.5.22.ebuild33
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/google-apitools/Manifest b/dev-python/google-apitools/Manifest
index 3daba6b77cdf..9b1622d4e6e6 100644
--- a/dev-python/google-apitools/Manifest
+++ b/dev-python/google-apitools/Manifest
@@ -1 +1,2 @@
DIST google-apitools-0.5.16.tar.gz 405331 BLAKE2B 9bd086a68e5787f6dcd426887bb5e0af23ac985f851471da61567266fe52dc254054f0f2fb49e08b461c9281a32c25a764a7b751e10fe6ccca13c2758cdc4637 SHA512 cda60ec21622368c67cc47900218ceaa4137e6d602ee5196f59dac82aa87d35382785323971cc7e4aedf9d69e0a1baf8017c5d941d05171df9e1d5eea15570eb
+DIST google-apitools-0.5.22.tar.gz 422977 BLAKE2B 1734f7e19ff90ff5997921ec1e57a29eec13f20dac4d7c84015d40f13147429ad93400a2eaa6038fdbf3ff2b5700dc1a0f6da6cca0706598b3a1eb5abba341b1 SHA512 f184b0ccc17ae80e8436727afab62a3e655ddecc37bde23dd144cc285461b80846fb1df24f21d75f06f521dbc28e8f3e9d5838d769ac52aff83c0aa8d1be66d5
diff --git a/dev-python/google-apitools/files/google-apitools-0.5.22-use-friendy-version-checks.patch b/dev-python/google-apitools/files/google-apitools-0.5.22-use-friendy-version-checks.patch
new file mode 100644
index 000000000000..48688543a9fe
--- /dev/null
+++ b/dev-python/google-apitools/files/google-apitools-0.5.22-use-friendy-version-checks.patch
@@ -0,0 +1,13 @@
+diff --git a/setup.py b/setup.py
+index c0ab0b842899..2b21497dd088 100644
+--- a/setup.py
++++ b/setup.py
+@@ -36,7 +36,7 @@ REQUIRED_PACKAGES = [
+
+ CLI_PACKAGES = [
+ 'google-apputils>=0.4.0',
+- 'python-gflags==3.0.6', # Starting version 3.0.7 py26 is not supported.
++ 'python-gflags>=3.0.6',
+ ]
+
+ TESTING_PACKAGES = [
diff --git a/dev-python/google-apitools/google-apitools-0.5.22.ebuild b/dev-python/google-apitools/google-apitools-0.5.22.ebuild
new file mode 100644
index 000000000000..d848410aa32c
--- /dev/null
+++ b/dev-python/google-apitools/google-apitools-0.5.22.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+# Python 3 support: https://github.com/google/apitools/issues/8
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Python library to manipulate Google APIs"
+HOMEPAGE="https://github.com/google/apitools"
+SRC_URI="https://github.com/google/apitools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+RDEPEND=">=dev-python/httplib2-0.8[${PYTHON_USEDEP}]
+ >=dev-python/fasteners-0.14[${PYTHON_USEDEP}]
+ >=dev-python/oauth2client-1.5.2[${PYTHON_USEDEP}]
+ >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+ >=dev-python/google-apputils-0.4.0[${PYTHON_USEDEP}]
+ >=dev-python/python-gflags-3.0.6[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ >=dev-python/setuptools-18.5[${PYTHON_USEDEP}]"
+
+S="${WORKDIR}/apitools-${PV}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.5.22-use-friendy-version-checks.patch
+)