Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/gcs-oauth2-boto-plugin/files/, dev-python/gcs-oauth2-boto-plugin/
Date: Sun, 17 Oct 2021 08:23:42
Message-Id: 1634459003.d9c354e5b85a0760937a664ed5bfcdda8352b5ad.mgorny@gentoo
1 commit: d9c354e5b85a0760937a664ed5bfcdda8352b5ad
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 17 08:18:42 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 17 08:23:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9c354e5
7
8 dev-python/gcs-oauth2-boto-plugin: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/gcs-oauth2-boto-plugin/Manifest | 1 -
13 ...to-plugin-1.13-use-friendy-version-checks.patch | 13 ------
14 .../gcs-oauth2-boto-plugin-2.5-r1.ebuild | 54 ----------------------
15 3 files changed, 68 deletions(-)
16
17 diff --git a/dev-python/gcs-oauth2-boto-plugin/Manifest b/dev-python/gcs-oauth2-boto-plugin/Manifest
18 index 148cf4822eb..210a637a8ae 100644
19 --- a/dev-python/gcs-oauth2-boto-plugin/Manifest
20 +++ b/dev-python/gcs-oauth2-boto-plugin/Manifest
21 @@ -1,2 +1 @@
22 -DIST gcs-oauth2-boto-plugin-2.5.tar.gz 16739 BLAKE2B a8ef124670063eb19119f7ab6cfd3101f68815a61ec183b3c9ac79ac158e3e47f48349b4f3faa0cf83ce9a203ab2f350e61fdd8a87872962bc1b24a8182f741f SHA512 db6810351c8364c9b217e092aa83803cdc7831136b3fa1be4c54f978f919e2e33bdaf32b8d36db359c5a328eb57f7ad2cee219b94d7f60403f27aaa6a6fd53cc
23 DIST gcs-oauth2-boto-plugin-2.7.tar.gz 20929 BLAKE2B 79db6c7bdf76320c2f74ab5edca0dd1cf7967bd38fb9a7a0a34c05fca3cab51317fb3ebd3e9ba195b42af2944cc951d150e3ee90cc93cdeab176f79d027a9800 SHA512 0ea8d4b01a2da79397e06de9dc0279594017e58e3874a2633b32007590efa2e8a29b5d2127d0218663cf7e63042adcc9801dbbb11bdfcb40d0c5d67c47267a09
24
25 diff --git a/dev-python/gcs-oauth2-boto-plugin/files/gcs-oauth2-boto-plugin-1.13-use-friendy-version-checks.patch b/dev-python/gcs-oauth2-boto-plugin/files/gcs-oauth2-boto-plugin-1.13-use-friendy-version-checks.patch
26 deleted file mode 100644
27 index 334ee5e90c9..00000000000
28 --- a/dev-python/gcs-oauth2-boto-plugin/files/gcs-oauth2-boto-plugin-1.13-use-friendy-version-checks.patch
29 +++ /dev/null
30 @@ -1,13 +0,0 @@
31 ---- a/setup.py
32 -+++ b/setup.py
33 -@@ -36,9 +36,7 @@
34 - 'httplib2>=0.8',
35 - 'oauth2client>=1.5.2, !=2.0.*',
36 - 'pyOpenSSL>=0.13',
37 -- # Not using 1.02 because of:
38 -- # https://code.google.com/p/socksipy-branch/issues/detail?id=3
39 -- 'SocksiPy-branch==1.01',
40 -+ 'SocksiPy-branch>=1.01',
41 - 'retry_decorator>=1.0.0',
42 - 'six>=1.6.1'
43 - ]
44
45 diff --git a/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.5-r1.ebuild b/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.5-r1.ebuild
46 deleted file mode 100644
47 index 6095ca1d682..00000000000
48 --- a/dev-python/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-2.5-r1.ebuild
49 +++ /dev/null
50 @@ -1,54 +0,0 @@
51 -# Copyright 1999-2020 Gentoo Authors
52 -# Distributed under the terms of the GNU General Public License v2
53 -
54 -EAPI=7
55 -
56 -PYTHON_COMPAT=( python3_{7,8} )
57 -
58 -inherit distutils-r1
59 -
60 -DESCRIPTION="OAuth 2.0 plugin for Google Cloud Storage credentials in the Boto library"
61 -HOMEPAGE="https://pypi.org/project/gcs-oauth2-boto-plugin/"
62 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
63 -
64 -LICENSE="Apache-2.0"
65 -SLOT="0"
66 -KEYWORDS="~amd64 ~arm ~x86"
67 -IUSE="test"
68 -RESTRICT="!test? ( test )"
69 -
70 -PATCHES=(
71 - "${FILESDIR}/${PN}-1.13-use-friendy-version-checks.patch"
72 -)
73 -
74 -# Keep versions in sync with setup.py.
75 -BDEPEND="
76 - test? (
77 - dev-python/freezegun[${PYTHON_USEDEP}]
78 - dev-python/mock[${PYTHON_USEDEP}]
79 - )
80 -"
81 -RDEPEND="${PYTHON_DEPS}
82 - >=dev-python/boto-2.29.1[${PYTHON_USEDEP}]
83 - dev-python/google-reauth-python[${PYTHON_USEDEP}]
84 - >=dev-python/httplib2-0.8[${PYTHON_USEDEP}]
85 - >=dev-python/oauth2client-1.5.2[${PYTHON_USEDEP}]
86 - !=dev-python/oauth2client-2.0*
87 - >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
88 - >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
89 - >=dev-python/PySocks-1.01[${PYTHON_USEDEP}]
90 - >=dev-python/six-1.12.0[${PYTHON_USEDEP}]
91 -"
92 -
93 -python_prepare_all() {
94 - distutils-r1_python_prepare_all
95 - sed -e '/SocksiPy-branch/d' \
96 - -i setup.py || die
97 - # Make sure the unittests aren't installed.
98 - mv gcs_oauth2_boto_plugin/test_oauth2_client.py ./ || die
99 -}
100 -
101 -python_test() {
102 - "${EPYTHON}" "${S}"/test_oauth2_client.py -v \
103 - || die "tests failed with ${EPYTHON}"
104 -}