commit:     43059ced8913306fdff547cc64d444775db08c4b
Author:     Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com>
AuthorDate: Wed Jun  2 17:20:59 2021 +0000
Commit:     Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com>
CommitDate: Wed Jun  2 18:20:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=43059ced

dev-python/b2sdk: bump to 1.8.0

Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail.com>

 dev-python/b2sdk/Manifest                          |  2 +-
 .../{b2sdk-1.2.0.ebuild => b2sdk-1.8.0.ebuild}     |  9 +++++++--
 ...dk-1.8.0-disable-requirement-installation.patch | 22 ++++++++++++++++++++++
 3 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest
index 117886c8d..245834d91 100644
--- a/dev-python/b2sdk/Manifest
+++ b/dev-python/b2sdk/Manifest
@@ -1 +1 @@
-DIST b2sdk-1.2.0.tar.gz 172456 BLAKE2B 
7af232d1bb274037b327a7a0740ca7ea8f1a8edda26bd6816fe66bc332c69c9ba3f95c790f8d1c799391548ff7a7b190603ed3c358512401c0cdec5d9c93c72c
 SHA512 
05273de5d83a62afe33873ddd66f22005bcfbd559314d43a5662981e024f18063eeee078d00b42b407aeda331083c826c4c6fc4e06cad280b280de8cb66423d2
+DIST b2sdk-1.8.0.tar.gz 250511 BLAKE2B 
dad792589148fc3cad91fed1aeb43e02afca6f67f35e2f8239510606d601067abbdd36a3f0b2b2b8264697004d548d8077c999437f027c058072d7383d13c48c
 SHA512 
ee1e1987f127835b2016bba9485c7a9d9503b4a675662a7364310fec7c963214805ed6bc15b3a1f07477f202bbe06325f480997eb202bcdfa1cb24f006d0a900

diff --git a/dev-python/b2sdk/b2sdk-1.2.0.ebuild 
b/dev-python/b2sdk/b2sdk-1.8.0.ebuild
similarity index 73%
rename from dev-python/b2sdk/b2sdk-1.2.0.ebuild
rename to dev-python/b2sdk/b2sdk-1.8.0.ebuild
index 98fcb1d76..e0953aa8f 100644
--- a/dev-python/b2sdk/b2sdk-1.2.0.ebuild
+++ b/dev-python/b2sdk/b2sdk-1.8.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..8} )
+PYTHON_COMPAT=( python3_{7..9} )
 inherit distutils-r1
 
 DESCRIPTION="The client library for BackBlaze's B2 product"
@@ -16,6 +16,7 @@ KEYWORDS="~amd64 ~x86"
 
 PATCHES=(
        "${FILESDIR}/${PN}-1.2.0-skip-integration-test.patch"
+       "${FILESDIR}/${PN}-1.8.0-disable-requirement-installation.patch"
 )
 
 RDEPEND="
@@ -25,6 +26,9 @@ RDEPEND="
                >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
                >=dev-python/tqdm-4.5.0[${PYTHON_USEDEP}]
        ')
+       $(python_gen_cond_dep '
+               dev-python/importlib_metadata[${PYTHON_USEDEP}]
+               ' pypy3 python3_7)
 "
 
 distutils_enable_tests pytest
@@ -32,5 +36,6 @@ distutils_enable_tests pytest
 BDEPEND+=" test? (
        $(python_gen_cond_dep '
                >=dev-python/pytest-mock-3.3.1[${PYTHON_USEDEP}]
+               dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}]
        ')
 )"

diff --git 
a/dev-python/b2sdk/files/b2sdk-1.8.0-disable-requirement-installation.patch 
b/dev-python/b2sdk/files/b2sdk-1.8.0-disable-requirement-installation.patch
new file mode 100644
index 000000000..482203f24
--- /dev/null
+++ b/dev-python/b2sdk/files/b2sdk-1.8.0-disable-requirement-installation.patch
@@ -0,0 +1,22 @@
+# This will disable the setup.py features that attempt to install missing
+# requirements using pip
+--- a/setup.py
++++ b/setup.py
+@@ -95,7 +95,7 @@ setup(
+     # your project is installed. For an analysis of "install_requires" vs 
pip's
+     # requirements files see:
+     # https://packaging.python.org/en/latest/requirements.html
+-    install_requires=requirements,
++    # install_requires=requirements,
+ 
+     # List additional groups of dependencies here (e.g. development
+     # dependencies). You can install these using the following syntax,
+@@ -111,7 +111,7 @@ setup(
+                 'sadisplay'
+             ],
+     },
+-    setup_requires=['setuptools_scm<6.0'],  # setuptools_scm>=6.0 doesn't 
support Python 3.5
++    # setup_requires=['setuptools_scm<6.0'],  # setuptools_scm>=6.0 doesn't 
support Python 3.5
+     use_scm_version=True,
+ 
+     # If there are data files included in your packages that need to be

Reply via email to