aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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