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: net-misc/gsutil/
Date: Sat, 10 Apr 2021 08:04:30
Message-Id: 1618041705.f4be84d51adc5fae43494dcc29036c513eb84859.mgorny@gentoo
1 commit: f4be84d51adc5fae43494dcc29036c513eb84859
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 10 07:26:37 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 10 08:01:45 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4be84d5
7
8 net-misc/gsutil: Strip unused monotonic dep
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 net-misc/gsutil/{gsutil-4.59.ebuild => gsutil-4.59-r1.ebuild} | 3 ++-
13 net-misc/gsutil/{gsutil-4.60.ebuild => gsutil-4.60-r1.ebuild} | 3 ++-
14 2 files changed, 4 insertions(+), 2 deletions(-)
15
16 diff --git a/net-misc/gsutil/gsutil-4.59.ebuild b/net-misc/gsutil/gsutil-4.59-r1.ebuild
17 similarity index 97%
18 rename from net-misc/gsutil/gsutil-4.59.ebuild
19 rename to net-misc/gsutil/gsutil-4.59-r1.ebuild
20 index 48e12ee2207..7cd73f33bff 100644
21 --- a/net-misc/gsutil/gsutil-4.59.ebuild
22 +++ b/net-misc/gsutil/gsutil-4.59-r1.ebuild
23 @@ -28,7 +28,6 @@ RDEPEND="${PYTHON_DEPS}
24 >=dev-python/google-reauth-python-0.1.0[${PYTHON_USEDEP}]
25 >=dev-python/httplib2-0.18[${PYTHON_USEDEP}]
26 >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
27 - >=dev-python/monotonic-1.4[${PYTHON_USEDEP}]
28 >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
29 >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
30 >=dev-python/six-1.12.0[${PYTHON_USEDEP}]"
31 @@ -58,8 +57,10 @@ python_prepare_all() {
32 # failes to compile with py3
33 rm gslib/vendored/boto/tests/mturk/cleanup_tests.py || die
34
35 + # monotonic is only used by bundled fasteners that we do not install
36 sed -i \
37 -e 's/mock==/mock>=/' \
38 + -e '/monotonic/d' \
39 setup.py || die
40 # Sanity check we didn't miss any updates.
41 grep '==' setup.py && die "Need to update version requirements"
42
43 diff --git a/net-misc/gsutil/gsutil-4.60.ebuild b/net-misc/gsutil/gsutil-4.60-r1.ebuild
44 similarity index 97%
45 rename from net-misc/gsutil/gsutil-4.60.ebuild
46 rename to net-misc/gsutil/gsutil-4.60-r1.ebuild
47 index 48e12ee2207..7cd73f33bff 100644
48 --- a/net-misc/gsutil/gsutil-4.60.ebuild
49 +++ b/net-misc/gsutil/gsutil-4.60-r1.ebuild
50 @@ -28,7 +28,6 @@ RDEPEND="${PYTHON_DEPS}
51 >=dev-python/google-reauth-python-0.1.0[${PYTHON_USEDEP}]
52 >=dev-python/httplib2-0.18[${PYTHON_USEDEP}]
53 >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
54 - >=dev-python/monotonic-1.4[${PYTHON_USEDEP}]
55 >=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
56 >=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
57 >=dev-python/six-1.12.0[${PYTHON_USEDEP}]"
58 @@ -58,8 +57,10 @@ python_prepare_all() {
59 # failes to compile with py3
60 rm gslib/vendored/boto/tests/mturk/cleanup_tests.py || die
61
62 + # monotonic is only used by bundled fasteners that we do not install
63 sed -i \
64 -e 's/mock==/mock>=/' \
65 + -e '/monotonic/d' \
66 setup.py || die
67 # Sanity check we didn't miss any updates.
68 grep '==' setup.py && die "Need to update version requirements"