1 |
commit: 43059ced8913306fdff547cc64d444775db08c4b |
2 |
Author: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Jun 2 17:20:59 2021 +0000 |
4 |
Commit: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com> |
5 |
CommitDate: Wed Jun 2 18:20:12 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=43059ced |
7 |
|
8 |
dev-python/b2sdk: bump to 1.8.0 |
9 |
|
10 |
Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail.com> |
11 |
|
12 |
dev-python/b2sdk/Manifest | 2 +- |
13 |
.../{b2sdk-1.2.0.ebuild => b2sdk-1.8.0.ebuild} | 9 +++++++-- |
14 |
...dk-1.8.0-disable-requirement-installation.patch | 22 ++++++++++++++++++++++ |
15 |
3 files changed, 30 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest |
18 |
index 117886c8d..245834d91 100644 |
19 |
--- a/dev-python/b2sdk/Manifest |
20 |
+++ b/dev-python/b2sdk/Manifest |
21 |
@@ -1 +1 @@ |
22 |
-DIST b2sdk-1.2.0.tar.gz 172456 BLAKE2B 7af232d1bb274037b327a7a0740ca7ea8f1a8edda26bd6816fe66bc332c69c9ba3f95c790f8d1c799391548ff7a7b190603ed3c358512401c0cdec5d9c93c72c SHA512 05273de5d83a62afe33873ddd66f22005bcfbd559314d43a5662981e024f18063eeee078d00b42b407aeda331083c826c4c6fc4e06cad280b280de8cb66423d2 |
23 |
+DIST b2sdk-1.8.0.tar.gz 250511 BLAKE2B dad792589148fc3cad91fed1aeb43e02afca6f67f35e2f8239510606d601067abbdd36a3f0b2b2b8264697004d548d8077c999437f027c058072d7383d13c48c SHA512 ee1e1987f127835b2016bba9485c7a9d9503b4a675662a7364310fec7c963214805ed6bc15b3a1f07477f202bbe06325f480997eb202bcdfa1cb24f006d0a900 |
24 |
|
25 |
diff --git a/dev-python/b2sdk/b2sdk-1.2.0.ebuild b/dev-python/b2sdk/b2sdk-1.8.0.ebuild |
26 |
similarity index 73% |
27 |
rename from dev-python/b2sdk/b2sdk-1.2.0.ebuild |
28 |
rename to dev-python/b2sdk/b2sdk-1.8.0.ebuild |
29 |
index 98fcb1d76..e0953aa8f 100644 |
30 |
--- a/dev-python/b2sdk/b2sdk-1.2.0.ebuild |
31 |
+++ b/dev-python/b2sdk/b2sdk-1.8.0.ebuild |
32 |
@@ -1,9 +1,9 @@ |
33 |
-# Copyright 2020 Gentoo Authors |
34 |
+# Copyright 2021 Gentoo Authors |
35 |
# Distributed under the terms of the GNU General Public License v2 |
36 |
|
37 |
EAPI=7 |
38 |
|
39 |
-PYTHON_COMPAT=( python3_{7..8} ) |
40 |
+PYTHON_COMPAT=( python3_{7..9} ) |
41 |
inherit distutils-r1 |
42 |
|
43 |
DESCRIPTION="The client library for BackBlaze's B2 product" |
44 |
@@ -16,6 +16,7 @@ KEYWORDS="~amd64 ~x86" |
45 |
|
46 |
PATCHES=( |
47 |
"${FILESDIR}/${PN}-1.2.0-skip-integration-test.patch" |
48 |
+ "${FILESDIR}/${PN}-1.8.0-disable-requirement-installation.patch" |
49 |
) |
50 |
|
51 |
RDEPEND=" |
52 |
@@ -25,6 +26,9 @@ RDEPEND=" |
53 |
>=dev-python/requests-2.9.1[${PYTHON_USEDEP}] |
54 |
>=dev-python/tqdm-4.5.0[${PYTHON_USEDEP}] |
55 |
') |
56 |
+ $(python_gen_cond_dep ' |
57 |
+ dev-python/importlib_metadata[${PYTHON_USEDEP}] |
58 |
+ ' pypy3 python3_7) |
59 |
" |
60 |
|
61 |
distutils_enable_tests pytest |
62 |
@@ -32,5 +36,6 @@ distutils_enable_tests pytest |
63 |
BDEPEND+=" test? ( |
64 |
$(python_gen_cond_dep ' |
65 |
>=dev-python/pytest-mock-3.3.1[${PYTHON_USEDEP}] |
66 |
+ dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}] |
67 |
') |
68 |
)" |
69 |
|
70 |
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 |
71 |
new file mode 100644 |
72 |
index 000000000..482203f24 |
73 |
--- /dev/null |
74 |
+++ b/dev-python/b2sdk/files/b2sdk-1.8.0-disable-requirement-installation.patch |
75 |
@@ -0,0 +1,22 @@ |
76 |
+# This will disable the setup.py features that attempt to install missing |
77 |
+# requirements using pip |
78 |
+--- a/setup.py |
79 |
++++ b/setup.py |
80 |
+@@ -95,7 +95,7 @@ setup( |
81 |
+ # your project is installed. For an analysis of "install_requires" vs pip's |
82 |
+ # requirements files see: |
83 |
+ # https://packaging.python.org/en/latest/requirements.html |
84 |
+- install_requires=requirements, |
85 |
++ # install_requires=requirements, |
86 |
+ |
87 |
+ # List additional groups of dependencies here (e.g. development |
88 |
+ # dependencies). You can install these using the following syntax, |
89 |
+@@ -111,7 +111,7 @@ setup( |
90 |
+ 'sadisplay' |
91 |
+ ], |
92 |
+ }, |
93 |
+- setup_requires=['setuptools_scm<6.0'], # setuptools_scm>=6.0 doesn't support Python 3.5 |
94 |
++ # setup_requires=['setuptools_scm<6.0'], # setuptools_scm>=6.0 doesn't support Python 3.5 |
95 |
+ use_scm_version=True, |
96 |
+ |
97 |
+ # If there are data files included in your packages that need to be |