summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-04-10 09:26:37 +0200
committerMichał Górny <mgorny@gentoo.org>2021-04-10 10:01:45 +0200
commitf4be84d51adc5fae43494dcc29036c513eb84859 (patch)
tree9773bd6b2821ea1a37594fd2545a84a1eadc1aff /net-misc
parentdev-python/futurist: Remove old (diff)
downloadgentoo-f4be84d51adc5fae43494dcc29036c513eb84859.tar.gz
gentoo-f4be84d51adc5fae43494dcc29036c513eb84859.tar.bz2
gentoo-f4be84d51adc5fae43494dcc29036c513eb84859.zip
net-misc/gsutil: Strip unused monotonic dep
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/gsutil/gsutil-4.59-r1.ebuild (renamed from net-misc/gsutil/gsutil-4.59.ebuild)3
-rw-r--r--net-misc/gsutil/gsutil-4.60-r1.ebuild (renamed from net-misc/gsutil/gsutil-4.60.ebuild)3
2 files changed, 4 insertions, 2 deletions
diff --git a/net-misc/gsutil/gsutil-4.59.ebuild b/net-misc/gsutil/gsutil-4.59-r1.ebuild
index 48e12ee22074..7cd73f33bffb 100644
--- a/net-misc/gsutil/gsutil-4.59.ebuild
+++ b/net-misc/gsutil/gsutil-4.59-r1.ebuild
@@ -28,7 +28,6 @@ RDEPEND="${PYTHON_DEPS}
>=dev-python/google-reauth-python-0.1.0[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.18[${PYTHON_USEDEP}]
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
- >=dev-python/monotonic-1.4[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
>=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
>=dev-python/six-1.12.0[${PYTHON_USEDEP}]"
@@ -58,8 +57,10 @@ python_prepare_all() {
# failes to compile with py3
rm gslib/vendored/boto/tests/mturk/cleanup_tests.py || die
+ # monotonic is only used by bundled fasteners that we do not install
sed -i \
-e 's/mock==/mock>=/' \
+ -e '/monotonic/d' \
setup.py || die
# Sanity check we didn't miss any updates.
grep '==' setup.py && die "Need to update version requirements"
diff --git a/net-misc/gsutil/gsutil-4.60.ebuild b/net-misc/gsutil/gsutil-4.60-r1.ebuild
index 48e12ee22074..7cd73f33bffb 100644
--- a/net-misc/gsutil/gsutil-4.60.ebuild
+++ b/net-misc/gsutil/gsutil-4.60-r1.ebuild
@@ -28,7 +28,6 @@ RDEPEND="${PYTHON_DEPS}
>=dev-python/google-reauth-python-0.1.0[${PYTHON_USEDEP}]
>=dev-python/httplib2-0.18[${PYTHON_USEDEP}]
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
- >=dev-python/monotonic-1.4[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
>=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
>=dev-python/six-1.12.0[${PYTHON_USEDEP}]"
@@ -58,8 +57,10 @@ python_prepare_all() {
# failes to compile with py3
rm gslib/vendored/boto/tests/mturk/cleanup_tests.py || die
+ # monotonic is only used by bundled fasteners that we do not install
sed -i \
-e 's/mock==/mock>=/' \
+ -e '/monotonic/d' \
setup.py || die
# Sanity check we didn't miss any updates.
grep '==' setup.py && die "Need to update version requirements"