aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2023-01-30 11:57:48 +0200
committerViorel Munteanu <ceamac@gentoo.org>2023-01-30 11:59:17 +0200
commit470bec94ecb2b6af6ac184ff0c45635e5bfb911c (patch)
tree46c13d13166db4d89c47783a421040e78259d90d
parentnet-p2p/feather: remove old ebuild (diff)
downloadguru-470bec94ecb2b6af6ac184ff0c45635e5bfb911c.tar.gz
guru-470bec94ecb2b6af6ac184ff0c45635e5bfb911c.tar.bz2
guru-470bec94ecb2b6af6ac184ff0c45635e5bfb911c.zip
dev-python/dropbox-sdk-python: fix dependency on dev-python/stone
The format used for it became invalid. Closes: https://bugs.gentoo.org/892569 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
-rw-r--r--dev-python/dropbox-sdk-python/dropbox-sdk-python-11.36.0.ebuild2
-rw-r--r--dev-python/dropbox-sdk-python/files/dropbox-sdk-python-11.36.0-setuptools-67.patch25
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/dropbox-sdk-python/dropbox-sdk-python-11.36.0.ebuild b/dev-python/dropbox-sdk-python/dropbox-sdk-python-11.36.0.ebuild
index 64bb2c56e..6ad53d17e 100644
--- a/dev-python/dropbox-sdk-python/dropbox-sdk-python-11.36.0.ebuild
+++ b/dev-python/dropbox-sdk-python/dropbox-sdk-python-11.36.0.ebuild
@@ -21,6 +21,8 @@ RDEPEND="
>=dev-python/stone-2.0.0[${PYTHON_USEDEP}]
"
+PATCHES=( "${FILESDIR}"/${P}-setuptools-67.patch )
+
distutils_enable_tests pytest
python_prepare_all() {
diff --git a/dev-python/dropbox-sdk-python/files/dropbox-sdk-python-11.36.0-setuptools-67.patch b/dev-python/dropbox-sdk-python/files/dropbox-sdk-python-11.36.0-setuptools-67.patch
new file mode 100644
index 000000000..84d29befc
--- /dev/null
+++ b/dev-python/dropbox-sdk-python/files/dropbox-sdk-python-11.36.0-setuptools-67.patch
@@ -0,0 +1,25 @@
+This fails with setuptools-67
+
+Bug: https://bugs.gentoo.org/892569
+See also: https://github.com/dropbox/dropbox-sdk-python/issues/458
+
+--- a/setup.py
++++ b/setup.py
+@@ -27,7 +27,7 @@
+ install_reqs = [
+ 'requests >= 2.16.2',
+ 'six >= 1.12.0',
+- 'stone >= 2.*',
++ 'stone >= 2.0',
+ ]
+
+ setup_requires = [
+--- a/test/requirements.txt
++++ b/test/requirements.txt
+@@ -2,4 +2,4 @@
+ mock
+ pytest-mock
+ coverage
+-stone>=2.*
+\ No newline at end of file
++stone>=2.0