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>
This commit is contained in:
Viorel Munteanu
2023-01-30 11:57:48 +02:00
parent 4ad4e672fe
commit 470bec94ec
2 changed files with 27 additions and 0 deletions

View File

@@ -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() {

View File

@@ -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