public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/dropbox-sdk-python/files/, dev-python/dropbox-sdk-python/
@ 2023-01-30  9:59 Viorel Munteanu
  2023-01-30 10:29 ` [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
  0 siblings, 1 reply; 2+ messages in thread
From: Viorel Munteanu @ 2023-01-30  9:59 UTC (permalink / raw
  To: gentoo-commits

commit:     470bec94ecb2b6af6ac184ff0c45635e5bfb911c
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 30 09:57:48 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Jan 30 09:59:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=470bec94

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 <AT> gentoo.org>

 .../dropbox-sdk-python-11.36.0.ebuild              |  2 ++
 .../dropbox-sdk-python-11.36.0-setuptools-67.patch | 25 ++++++++++++++++++++++
 2 files changed, 27 insertions(+)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-python/dropbox-sdk-python/files/, dev-python/dropbox-sdk-python/
  2023-01-30  9:59 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/dropbox-sdk-python/files/, dev-python/dropbox-sdk-python/ Viorel Munteanu
@ 2023-01-30 10:29 ` Viorel Munteanu
  0 siblings, 0 replies; 2+ messages in thread
From: Viorel Munteanu @ 2023-01-30 10:29 UTC (permalink / raw
  To: gentoo-commits

commit:     470bec94ecb2b6af6ac184ff0c45635e5bfb911c
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 30 09:57:48 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Jan 30 09:59:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=470bec94

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 <AT> gentoo.org>

 .../dropbox-sdk-python-11.36.0.ebuild              |  2 ++
 .../dropbox-sdk-python-11.36.0-setuptools-67.patch | 25 ++++++++++++++++++++++
 2 files changed, 27 insertions(+)

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-30 10:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-30  9:59 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/dropbox-sdk-python/files/, dev-python/dropbox-sdk-python/ Viorel Munteanu
2023-01-30 10:29 ` [gentoo-commits] repo/proj/guru:master " Viorel Munteanu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox