[gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/files/, dev-python/b2sdk/

2024-06-04 Thread Wolfgang E. Sanyer
commit: 79d97aa02e85f09bb7000ca4157f1a437740097b
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Wed Jun  5 00:22:07 2024 +
Commit: Wolfgang E. Sanyer  gmail  com>
CommitDate: Wed Jun  5 00:22:07 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=79d97aa0

dev-python/b2sdk: remove old version.

Signed-off-by: Wolfgang E. Sanyer  gmail.com>
Closes: https://bugs.gentoo.org/908089

 dev-python/b2sdk/Manifest  |  1 -
 dev-python/b2sdk/b2sdk-1.21.0.ebuild   | 45 --
 ...k-1.17.2-disable-requirement-installation.patch | 22 ---
 ...dk-1.8.0-disable-requirement-installation.patch | 22 ---
 4 files changed, 90 deletions(-)

diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest
index 6e707ab7f..7a6f26b16 100644
--- a/dev-python/b2sdk/Manifest
+++ b/dev-python/b2sdk/Manifest
@@ -1,3 +1,2 @@
-DIST b2sdk-1.21.0.tar.gz 335333 BLAKE2B 
7aa3a9664844e1f5ef71b7eec2fc28f456bed0a8ae431a90f23865cb9d73526090f78926b943f67bb1745bb9760718666202a9bd67790d92d90c14a0f1510bab
 SHA512 
3d431ce8a3be536d6e49d20a0e6eef2d435bfccf2dd36c0b501c03ebd013de68063302f3ae4d8c9cd6fcfa7b77e3ea2c00b06c3a5e044e30f545a4ab5248fa62
 DIST b2sdk-2.0.0.tar.gz 378875 BLAKE2B 
0d65eb0b9238fccb5f6ef2252280cb9891c1fbf9bfddc2ef38692f5063fc0384eefab26876126d9dc056f178788e72a970f604fb8f9952e1ef6cd62a2417ab9d
 SHA512 
97700574cd948a8a177bb52edc89e67d8f1cf6efcc7227c8581af30cdc95dc7e54afd30357f5723f2abee05cdbbf17d6b26494c586c2851782bebb72224386c0
 DIST b2sdk-2.3.0.tar.gz 390949 BLAKE2B 
e14c9fc56b7ed66350b8d73456dd50b0f6fdb40d7a6fe73cf7950afcb25bb5257a63bb361d8cbca99116b4999a2b0195967b4e08aff5ca9aaf5c16e4b4b532eb
 SHA512 
29ba07581d0e587b413396f128d7fe14f8ac25ea0553eef69e1c428823690974d9373db727321f9838886a07946c36defdd5bae24d31266751d6b1a2f05968c6

diff --git a/dev-python/b2sdk/b2sdk-1.21.0.ebuild 
b/dev-python/b2sdk/b2sdk-1.21.0.ebuild
deleted file mode 100644
index cbb725554..0
--- a/dev-python/b2sdk/b2sdk-1.21.0.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_PEP517="setuptools"
-PYTHON_COMPAT=( python3_10 python3_11 python3_12 )
-inherit distutils-r1
-
-DESCRIPTION="The client library for BackBlaze's B2 product"
-HOMEPAGE="https://github.com/Backblaze/b2-sdk-python;
-SRC_URI="https://github.com/Backblaze/b2-sdk-python/releases/download/v${PV}/${P}.tar.gz;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-1.17.2-disable-requirement-installation.patch"
-)
-
-RDEPEND="
-   $(python_gen_cond_dep '
-   >=dev-python/logfury-1.0.1[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
-   >=dev-python/tqdm-4.5.0[${PYTHON_USEDEP}]
-   ')
-"
-
-distutils_enable_tests pytest
-
-BDEPEND+=" test? (
-   $(python_gen_cond_dep '
-   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
-   >=dev-python/pytest-lazy-fixture-0.6.3[${PYTHON_USEDEP}]
-   ')
-)"
-
-EPYTEST_DESELECT=(
-   test/integration/test_large_files.py::TestLargeFile::test_large_file
-   test/integration/test_raw_api.py::test_raw_api
-   test/integration/test_download.py
-   test/integration/test_upload.py
-   test/unit/account_info/test_sqlite_account_info.py
-)

diff --git 
a/dev-python/b2sdk/files/b2sdk-1.17.2-disable-requirement-installation.patch 
b/dev-python/b2sdk/files/b2sdk-1.17.2-disable-requirement-installation.patch
deleted file mode 100644
index d6d1952b0..0
--- a/dev-python/b2sdk/files/b2sdk-1.17.2-disable-requirement-installation.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-# This will disable the setup.py features that attempt to install missing
-# requirements using pip
 a/setup.py
-+++ b/setup.py
-@@ -102,7 +102,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=read_requirements(),
-+# install_requires=read_requirements(),
- 
- # List additional groups of dependencies here (e.g. development
- # dependencies). You can install these using the following syntax,
-@@ -109,7 +109,7 @@ setup(
- # for example:
- # $ pip install -e .[dev,test]
- extras_require={'doc': read_requirements('doc')},
--setup_requires=['setuptools_scm<6.0'],
-+# setup_requires=['setuptools_scm<6.0'],
- use_scm_version=True,
- 
- # If there are data files included in your packages that need to be

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
deleted file mode 100644
index 482203f24..0
--- a/dev-python/b2sdk/files/b2sdk-1.8.0-disable-requirement-installation.patch
+++ /dev/null
@@ -1,22 +0,0 @@

[gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/

2024-06-04 Thread Wolfgang E. Sanyer
commit: ac27151884ede4bdac7e0a8acfd67668bde91cb9
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Wed Jun  5 00:18:59 2024 +
Commit: Wolfgang E. Sanyer  gmail  com>
CommitDate: Wed Jun  5 00:18:59 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ac271518

dev-python/b2sdk: fix broken tests.

There were some networked tests that weren't being skipped

Signed-off-by: Wolfgang E. Sanyer  gmail.com>
Closes: https://bugs.gentoo.org/908089

 dev-python/b2sdk/b2sdk-1.21.0.ebuild | 30 +++---
 1 file changed, 7 insertions(+), 23 deletions(-)

diff --git a/dev-python/b2sdk/b2sdk-1.21.0.ebuild 
b/dev-python/b2sdk/b2sdk-1.21.0.ebuild
index 6bba19c7a..cbb725554 100644
--- a/dev-python/b2sdk/b2sdk-1.21.0.ebuild
+++ b/dev-python/b2sdk/b2sdk-1.21.0.ebuild
@@ -36,26 +36,10 @@ BDEPEND+=" test? (
')
 )"
 
-# These tests seem to require some b2 authentication (they're integration tests
-# so this is not unreasonable)
-python_test() {
-   # note: used to avoid an ExcessiveLineLength lint below.
-   local 
sqlite_test_path="test/unit/account_info/test_sqlite_account_info.py"
-   epytest \
-   --deselect 
test/integration/test_large_files.py::TestLargeFile::test_large_file \
-   --deselect test/integration/test_raw_api.py::test_raw_api \
-   --deselect 
test/integration/test_download.py::TestDownload::test_large_file \
-   --deselect 
test/integration/test_download.py::TestDownload::test_small \
-   --deselect 
test/integration/test_download.py::TestDownload::test_small_unverified \
-   --deselect 
test/integration/test_download.py::TestDownload::test_gzip \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_invalid_profile_name
 \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_file_name_conflict
 \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_env_var_conflict
 \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_xdg_config_env_var
 \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_file_name \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_env_var \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file_if_exists
 \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_xdg_config_env_var
 \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file
-}
+EPYTEST_DESELECT=(
+   test/integration/test_large_files.py::TestLargeFile::test_large_file
+   test/integration/test_raw_api.py::test_raw_api
+   test/integration/test_download.py
+   test/integration/test_upload.py
+   test/unit/account_info/test_sqlite_account_info.py
+)



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/

2024-06-04 Thread Wolfgang E. Sanyer
commit: 5dfb9a3f05449f2ed14bdc6fedb9d7325083e8f2
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Wed Jun  5 00:26:06 2024 +
Commit: Wolfgang E. Sanyer  gmail  com>
CommitDate: Wed Jun  5 00:26:06 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5dfb9a3f

dev-python/b2sdk: clean up some redundant code

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

 dev-python/b2sdk/b2sdk-2.0.0-r1.ebuild | 36 +-
 dev-python/b2sdk/b2sdk-2.3.0.ebuild|  5 -
 2 files changed, 9 insertions(+), 32 deletions(-)

diff --git a/dev-python/b2sdk/b2sdk-2.0.0-r1.ebuild 
b/dev-python/b2sdk/b2sdk-2.0.0-r1.ebuild
index 8075dc394..aa5beb680 100644
--- a/dev-python/b2sdk/b2sdk-2.0.0-r1.ebuild
+++ b/dev-python/b2sdk/b2sdk-2.0.0-r1.ebuild
@@ -38,30 +38,12 @@ BDEPEND+=" test? (
')
 )"
 
-# These tests seem to require some b2 authentication (they're integration tests
-# so this is not unreasonable)
-python_test() {
-   # note: used to avoid an ExcessiveLineLength lint below.
-   local 
sqlite_test_path="test/unit/account_info/test_sqlite_account_info.py"
-
-   # https://github.com/Backblaze/b2-sdk-python/issues/488
-   epytest \
-   --deselect 
test/integration/test_large_files.py::TestLargeFile::test_large_file \
-   --deselect test/integration/test_raw_api.py::test_raw_api \
-   --deselect 
test/integration/test_download.py::TestDownload::test_large_file \
-   --deselect 
test/integration/test_download.py::TestDownload::test_small \
-   --deselect 
test/integration/test_download.py::TestDownload::test_small_unverified \
-   --deselect 
test/integration/test_download.py::TestDownload::test_gzip \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_invalid_profile_name
 \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_file_name_conflict
 \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_env_var_conflict
 \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_xdg_config_env_var
 \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_file_name \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_env_var \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file_if_exists
 \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_xdg_config_env_var
 \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file \
-   --deselect 
test/unit/b2http/test_b2http.py::TestSetLocaleContextManager::test_set_locale_context_manager
 \
-   test/unit
-}
+EPYTEST_DESELECT=(
+   test/integration/test_large_files.py::TestLargeFile::test_large_file
+   test/integration/test_raw_api.py::test_raw_api
+   test/integration/test_download.py
+   test/integration/test_upload.py
+   test/unit/account_info/test_sqlite_account_info.py
+   
test/unit/b2http/test_b2http.py::TestSetLocaleContextManager::test_set_locale_context_manager
 \
+   test/integration/test_file_version_attributes.py
+)

diff --git a/dev-python/b2sdk/b2sdk-2.3.0.ebuild 
b/dev-python/b2sdk/b2sdk-2.3.0.ebuild
index e240ecd74..9677228bc 100644
--- a/dev-python/b2sdk/b2sdk-2.3.0.ebuild
+++ b/dev-python/b2sdk/b2sdk-2.3.0.ebuild
@@ -45,8 +45,3 @@ EPYTEST_DESELECT=(
# can't typically work in the sandbox
test/integration
 )
-
-python_test() {
-   # https://github.com/Backblaze/b2-sdk-python/issues/488
-   epytest test
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/

2024-06-04 Thread Wolfgang E. Sanyer
commit: 41e35f47a0a8f826a81f22a6d6abe6744ea36974
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Tue Jun  4 19:23:03 2024 +
Commit: Wolfgang E. Sanyer  gmail  com>
CommitDate: Tue Jun  4 19:23:03 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=41e35f47

dev-python/b2sdk: bump to v2.3.0

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

 dev-python/b2sdk/Manifest   |  1 +
 dev-python/b2sdk/b2sdk-2.3.0.ebuild | 52 +
 2 files changed, 53 insertions(+)

diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest
index 84564c521..6e707ab7f 100644
--- a/dev-python/b2sdk/Manifest
+++ b/dev-python/b2sdk/Manifest
@@ -1,2 +1,3 @@
 DIST b2sdk-1.21.0.tar.gz 335333 BLAKE2B 
7aa3a9664844e1f5ef71b7eec2fc28f456bed0a8ae431a90f23865cb9d73526090f78926b943f67bb1745bb9760718666202a9bd67790d92d90c14a0f1510bab
 SHA512 
3d431ce8a3be536d6e49d20a0e6eef2d435bfccf2dd36c0b501c03ebd013de68063302f3ae4d8c9cd6fcfa7b77e3ea2c00b06c3a5e044e30f545a4ab5248fa62
 DIST b2sdk-2.0.0.tar.gz 378875 BLAKE2B 
0d65eb0b9238fccb5f6ef2252280cb9891c1fbf9bfddc2ef38692f5063fc0384eefab26876126d9dc056f178788e72a970f604fb8f9952e1ef6cd62a2417ab9d
 SHA512 
97700574cd948a8a177bb52edc89e67d8f1cf6efcc7227c8581af30cdc95dc7e54afd30357f5723f2abee05cdbbf17d6b26494c586c2851782bebb72224386c0
+DIST b2sdk-2.3.0.tar.gz 390949 BLAKE2B 
e14c9fc56b7ed66350b8d73456dd50b0f6fdb40d7a6fe73cf7950afcb25bb5257a63bb361d8cbca99116b4999a2b0195967b4e08aff5ca9aaf5c16e4b4b532eb
 SHA512 
29ba07581d0e587b413396f128d7fe14f8ac25ea0553eef69e1c428823690974d9373db727321f9838886a07946c36defdd5bae24d31266751d6b1a2f05968c6

diff --git a/dev-python/b2sdk/b2sdk-2.3.0.ebuild 
b/dev-python/b2sdk/b2sdk-2.3.0.ebuild
new file mode 100644
index 0..e240ecd74
--- /dev/null
+++ b/dev-python/b2sdk/b2sdk-2.3.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_PEP517="pdm-backend"
+PYTHON_COMPAT=( python3_10 python3_11 python3_12 )
+inherit distutils-r1
+
+DESCRIPTION="The client library for BackBlaze's B2 product"
+HOMEPAGE="https://github.com/Backblaze/b2-sdk-python;
+SRC_URI="https://github.com/Backblaze/b2-sdk-python/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+S="${WORKDIR}/b2-sdk-python-${PV}"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+export PDM_BUILD_SCM_VERSION=${PV}
+
+RDEPEND="
+   $(python_gen_cond_dep '
+   >=dev-python/logfury-1.0.1[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}]
+   ')
+"
+
+distutils_enable_tests pytest
+
+# tqdm dependency is temporary, see
+# https://github.com/Backblaze/b2-sdk-python/issues/489
+BDEPEND+=" test? (
+   $(python_gen_cond_dep '
+   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-lazy-fixture-0.6.3[${PYTHON_USEDEP}]
+   >=dev-python/tqdm-4.66.2[${PYTHON_USEDEP}]
+   ')
+)"
+
+# These tests seem to require some b2 authentication (they're integration tests
+# so this is not unreasonable)
+EPYTEST_DESELECT=(
+   # These integration tests require an actual connection to backblaze, 
which
+   # can't typically work in the sandbox
+   test/integration
+)
+
+python_test() {
+   # https://github.com/Backblaze/b2-sdk-python/issues/488
+   epytest test
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/

2024-04-05 Thread Wolfgang E. Sanyer
commit: 5595fc3d34ed4357d86073dab80ddcd14b81b579
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Fri Apr  5 15:15:46 2024 +
Commit: Wolfgang E. Sanyer  gmail  com>
CommitDate: Fri Apr  5 15:17:11 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5595fc3d

dev-python/b2sdk: fix broken 2.0.0

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

 dev-python/b2sdk/{b2sdk-2.0.0.ebuild => b2sdk-2.0.0-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/b2sdk/b2sdk-2.0.0.ebuild 
b/dev-python/b2sdk/b2sdk-2.0.0-r1.ebuild
similarity index 98%
rename from dev-python/b2sdk/b2sdk-2.0.0.ebuild
rename to dev-python/b2sdk/b2sdk-2.0.0-r1.ebuild
index 3b0ed1c30c..8075dc3943 100644
--- a/dev-python/b2sdk/b2sdk-2.0.0.ebuild
+++ b/dev-python/b2sdk/b2sdk-2.0.0-r1.ebuild
@@ -11,6 +11,7 @@ DESCRIPTION="The client library for BackBlaze's B2 product"
 HOMEPAGE="https://github.com/Backblaze/b2-sdk-python;
 
SRC_URI="https://github.com/Backblaze/b2-sdk-python/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
 
+S="${WORKDIR}/b2-sdk-python-${PV}"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/

2024-04-04 Thread Wolfgang E. Sanyer
commit: ebd212b9e6a7f27e67304f12bdc497bc0d775521
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Thu Apr  4 15:07:24 2024 +
Commit: Wolfgang E. Sanyer  gmail  com>
CommitDate: Thu Apr  4 15:07:40 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ebd212b9

dev-python/b2sdk: fix manifest

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

 dev-python/b2sdk/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest
index 497a680f59..84564c521f 100644
--- a/dev-python/b2sdk/Manifest
+++ b/dev-python/b2sdk/Manifest
@@ -1,2 +1,2 @@
 DIST b2sdk-1.21.0.tar.gz 335333 BLAKE2B 
7aa3a9664844e1f5ef71b7eec2fc28f456bed0a8ae431a90f23865cb9d73526090f78926b943f67bb1745bb9760718666202a9bd67790d92d90c14a0f1510bab
 SHA512 
3d431ce8a3be536d6e49d20a0e6eef2d435bfccf2dd36c0b501c03ebd013de68063302f3ae4d8c9cd6fcfa7b77e3ea2c00b06c3a5e044e30f545a4ab5248fa62
-DIST b2sdk-2.0.0.tar.gz 197178 BLAKE2B 
b6a394c790a7d04b07fb1a634fa7b2e157e4c59f3652c29e41226670c28e8ca872eb9f2ff883ef4b2bda23fed29b564c33707a9265f90db5faf5587ec9ef2767
 SHA512 
c767151c8fe10904f79c793e93f9cb54a116462f8fd961b7a1097e820cdf15797dc72b15ce2811a7578ae2d77eddfec1dbf04b14fefd4ce86616595077a5f34e
+DIST b2sdk-2.0.0.tar.gz 378875 BLAKE2B 
0d65eb0b9238fccb5f6ef2252280cb9891c1fbf9bfddc2ef38692f5063fc0384eefab26876126d9dc056f178788e72a970f604fb8f9952e1ef6cd62a2417ab9d
 SHA512 
97700574cd948a8a177bb52edc89e67d8f1cf6efcc7227c8581af30cdc95dc7e54afd30357f5723f2abee05cdbbf17d6b26494c586c2851782bebb72224386c0



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/

2024-04-02 Thread Wolfgang E. Sanyer
commit: bbed15069656db3851abe1b9d1be5d5d08437dae
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Wed Apr  3 00:23:20 2024 +
Commit: Wolfgang E. Sanyer  gmail  com>
CommitDate: Wed Apr  3 02:40:20 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bbed1506

dev-python/b2sdk: bump to 2.0.0

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

 dev-python/b2sdk/Manifest   |  1 +
 dev-python/b2sdk/b2sdk-2.0.0.ebuild | 66 +
 2 files changed, 67 insertions(+)

diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest
index f7ad942188..e3a93bdf6c 100644
--- a/dev-python/b2sdk/Manifest
+++ b/dev-python/b2sdk/Manifest
@@ -1,2 +1,3 @@
 DIST b2sdk-1.17.2.tar.gz 308753 BLAKE2B 
07b6f71f604475d861257a1a7c567fc561a90c1c8c5768d21d63a82ff1c57240a81f8ebf96f1b3113cbea181140a128ebad9ed524e410a9c163a04a1de1ee2a0
 SHA512 
e618e18de16b021dc86a4b5ee9d315294eba5c3421318a4ea668681dc0420d6c3798f17c17be6475dddad7cfada8bf615916a5dc41ef905b8ecd7623b2a0c7bb
 DIST b2sdk-1.21.0.tar.gz 335333 BLAKE2B 
7aa3a9664844e1f5ef71b7eec2fc28f456bed0a8ae431a90f23865cb9d73526090f78926b943f67bb1745bb9760718666202a9bd67790d92d90c14a0f1510bab
 SHA512 
3d431ce8a3be536d6e49d20a0e6eef2d435bfccf2dd36c0b501c03ebd013de68063302f3ae4d8c9cd6fcfa7b77e3ea2c00b06c3a5e044e30f545a4ab5248fa62
+DIST b2sdk-2.0.0.tar.gz 197178 BLAKE2B 
b6a394c790a7d04b07fb1a634fa7b2e157e4c59f3652c29e41226670c28e8ca872eb9f2ff883ef4b2bda23fed29b564c33707a9265f90db5faf5587ec9ef2767
 SHA512 
c767151c8fe10904f79c793e93f9cb54a116462f8fd961b7a1097e820cdf15797dc72b15ce2811a7578ae2d77eddfec1dbf04b14fefd4ce86616595077a5f34e

diff --git a/dev-python/b2sdk/b2sdk-2.0.0.ebuild 
b/dev-python/b2sdk/b2sdk-2.0.0.ebuild
new file mode 100644
index 00..3b0ed1c30c
--- /dev/null
+++ b/dev-python/b2sdk/b2sdk-2.0.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_PEP517="pdm-backend"
+PYTHON_COMPAT=( python3_10 python3_11 python3_12 )
+inherit distutils-r1
+
+DESCRIPTION="The client library for BackBlaze's B2 product"
+HOMEPAGE="https://github.com/Backblaze/b2-sdk-python;
+SRC_URI="https://github.com/Backblaze/b2-sdk-python/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+export PDM_BUILD_SCM_VERSION=${PV}
+
+RDEPEND="
+   $(python_gen_cond_dep '
+   >=dev-python/logfury-1.0.1[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   >=dev-python/typing-extensions-4.7.1[${PYTHON_USEDEP}]
+   ')
+"
+
+distutils_enable_tests pytest
+
+# tqdm dependency is temporary, see
+# https://github.com/Backblaze/b2-sdk-python/issues/489
+BDEPEND+=" test? (
+   $(python_gen_cond_dep '
+   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-lazy-fixture-0.6.3[${PYTHON_USEDEP}]
+   >=dev-python/tqdm-4.66.2[${PYTHON_USEDEP}]
+   ')
+)"
+
+# These tests seem to require some b2 authentication (they're integration tests
+# so this is not unreasonable)
+python_test() {
+   # note: used to avoid an ExcessiveLineLength lint below.
+   local 
sqlite_test_path="test/unit/account_info/test_sqlite_account_info.py"
+
+   # https://github.com/Backblaze/b2-sdk-python/issues/488
+   epytest \
+   --deselect 
test/integration/test_large_files.py::TestLargeFile::test_large_file \
+   --deselect test/integration/test_raw_api.py::test_raw_api \
+   --deselect 
test/integration/test_download.py::TestDownload::test_large_file \
+   --deselect 
test/integration/test_download.py::TestDownload::test_small \
+   --deselect 
test/integration/test_download.py::TestDownload::test_small_unverified \
+   --deselect 
test/integration/test_download.py::TestDownload::test_gzip \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_invalid_profile_name
 \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_file_name_conflict
 \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_env_var_conflict
 \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_xdg_config_env_var
 \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_file_name \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_env_var \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file_if_exists
 \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_xdg_config_env_var
 \
+ 

[gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/

2024-04-02 Thread Wolfgang E. Sanyer
commit: 18e8e769661a1b7aef68ace471a1c1322cdf2475
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Wed Apr  3 02:32:10 2024 +
Commit: Wolfgang E. Sanyer  gmail  com>
CommitDate: Wed Apr  3 02:40:21 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=18e8e769

dev-python/b2sdk: drop v1.17.2

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

 dev-python/b2sdk/Manifest|  1 -
 dev-python/b2sdk/b2sdk-1.17.2.ebuild | 62 
 2 files changed, 63 deletions(-)

diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest
index e3a93bdf6c..497a680f59 100644
--- a/dev-python/b2sdk/Manifest
+++ b/dev-python/b2sdk/Manifest
@@ -1,3 +1,2 @@
-DIST b2sdk-1.17.2.tar.gz 308753 BLAKE2B 
07b6f71f604475d861257a1a7c567fc561a90c1c8c5768d21d63a82ff1c57240a81f8ebf96f1b3113cbea181140a128ebad9ed524e410a9c163a04a1de1ee2a0
 SHA512 
e618e18de16b021dc86a4b5ee9d315294eba5c3421318a4ea668681dc0420d6c3798f17c17be6475dddad7cfada8bf615916a5dc41ef905b8ecd7623b2a0c7bb
 DIST b2sdk-1.21.0.tar.gz 335333 BLAKE2B 
7aa3a9664844e1f5ef71b7eec2fc28f456bed0a8ae431a90f23865cb9d73526090f78926b943f67bb1745bb9760718666202a9bd67790d92d90c14a0f1510bab
 SHA512 
3d431ce8a3be536d6e49d20a0e6eef2d435bfccf2dd36c0b501c03ebd013de68063302f3ae4d8c9cd6fcfa7b77e3ea2c00b06c3a5e044e30f545a4ab5248fa62
 DIST b2sdk-2.0.0.tar.gz 197178 BLAKE2B 
b6a394c790a7d04b07fb1a634fa7b2e157e4c59f3652c29e41226670c28e8ca872eb9f2ff883ef4b2bda23fed29b564c33707a9265f90db5faf5587ec9ef2767
 SHA512 
c767151c8fe10904f79c793e93f9cb54a116462f8fd961b7a1097e820cdf15797dc72b15ce2811a7578ae2d77eddfec1dbf04b14fefd4ce86616595077a5f34e

diff --git a/dev-python/b2sdk/b2sdk-1.17.2.ebuild 
b/dev-python/b2sdk/b2sdk-1.17.2.ebuild
deleted file mode 100644
index b489c7ec07..00
--- a/dev-python/b2sdk/b2sdk-1.17.2.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DISTUTILS_USE_PEP517="setuptools"
-PYTHON_COMPAT=( python3_10 python3_11)
-inherit distutils-r1
-
-DESCRIPTION="The client library for BackBlaze's B2 product"
-HOMEPAGE="https://github.com/Backblaze/b2-sdk-python;
-SRC_URI="https://github.com/Backblaze/b2-sdk-python/releases/download/v${PV}/${P}.tar.gz;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-1.17.2-disable-requirement-installation.patch"
-)
-
-RDEPEND="
-   $(python_gen_cond_dep '
-   >=dev-python/arrow-1.0.2[${PYTHON_USEDEP}]
-   >=dev-python/logfury-1.0.1[${PYTHON_USEDEP}]
-   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
-   >=dev-python/tqdm-4.5.0[${PYTHON_USEDEP}]
-   ')
-"
-
-distutils_enable_tests pytest
-
-BDEPEND+=" test? (
-   $(python_gen_cond_dep '
-   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
-   >=dev-python/pytest-lazy-fixture-0.6.3[${PYTHON_USEDEP}]
-   ')
-)"
-
-# These tests seem to require some b2 authentication (they're integration tests
-# so this is not unreasonable)
-python_test() {
-   # note: used to avoid an ExcessiveLineLength lint below.
-   local 
sqlite_test_path="test/unit/account_info/test_sqlite_account_info.py"
-   epytest \
-   --deselect 
test/integration/test_large_files.py::TestLargeFile::test_large_file \
-   --deselect test/integration/test_raw_api.py::test_raw_api \
-   --deselect 
test/integration/test_download.py::TestDownload::test_large_file \
-   --deselect 
test/integration/test_download.py::TestDownload::test_small \
-   --deselect 
test/integration/test_download.py::TestDownload::test_small_unverified \
-   --deselect 
test/integration/test_download.py::TestDownload::test_gzip \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_invalid_profile_name
 \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_file_name_conflict
 \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_env_var_conflict
 \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_xdg_config_env_var
 \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_file_name \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_env_var \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file_if_exists
 \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_xdg_config_env_var
 \
-   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/

2024-04-02 Thread Wolfgang E. Sanyer
commit: d3103e484881a4205c3cedbd446c0928249ae35b
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Wed Apr  3 02:33:10 2024 +
Commit: Wolfgang E. Sanyer  gmail  com>
CommitDate: Wed Apr  3 02:40:21 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d3103e48

dev-python/b2sdk-1.21.0: update PYTHON_COMPAT

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

 dev-python/b2sdk/b2sdk-1.21.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/b2sdk/b2sdk-1.21.0.ebuild 
b/dev-python/b2sdk/b2sdk-1.21.0.ebuild
index 9d38ea11dc..6bba19c7ae 100644
--- a/dev-python/b2sdk/b2sdk-1.21.0.ebuild
+++ b/dev-python/b2sdk/b2sdk-1.21.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 DISTUTILS_USE_PEP517="setuptools"
-PYTHON_COMPAT=( python3_10 python3_11)
+PYTHON_COMPAT=( python3_10 python3_11 python3_12 )
 inherit distutils-r1
 
 DESCRIPTION="The client library for BackBlaze's B2 product"



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/

2023-06-04 Thread Wolfgang E. Sanyer
commit: 25e6715d4ba10603daa295b8f5026beb35c27009
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Mon Jun  5 00:58:35 2023 +
Commit: Wolfgang E. Sanyer  gmail  com>
CommitDate: Mon Jun  5 03:13:17 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=25e6715d

dev-python/b2sdk: Bump to version 1.21.0

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

 dev-python/b2sdk/Manifest|  1 +
 dev-python/b2sdk/b2sdk-1.21.0.ebuild | 61 
 2 files changed, 62 insertions(+)

diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest
index 38085fc65..f7ad94218 100644
--- a/dev-python/b2sdk/Manifest
+++ b/dev-python/b2sdk/Manifest
@@ -1 +1,2 @@
 DIST b2sdk-1.17.2.tar.gz 308753 BLAKE2B 
07b6f71f604475d861257a1a7c567fc561a90c1c8c5768d21d63a82ff1c57240a81f8ebf96f1b3113cbea181140a128ebad9ed524e410a9c163a04a1de1ee2a0
 SHA512 
e618e18de16b021dc86a4b5ee9d315294eba5c3421318a4ea668681dc0420d6c3798f17c17be6475dddad7cfada8bf615916a5dc41ef905b8ecd7623b2a0c7bb
+DIST b2sdk-1.21.0.tar.gz 335333 BLAKE2B 
7aa3a9664844e1f5ef71b7eec2fc28f456bed0a8ae431a90f23865cb9d73526090f78926b943f67bb1745bb9760718666202a9bd67790d92d90c14a0f1510bab
 SHA512 
3d431ce8a3be536d6e49d20a0e6eef2d435bfccf2dd36c0b501c03ebd013de68063302f3ae4d8c9cd6fcfa7b77e3ea2c00b06c3a5e044e30f545a4ab5248fa62

diff --git a/dev-python/b2sdk/b2sdk-1.21.0.ebuild 
b/dev-python/b2sdk/b2sdk-1.21.0.ebuild
new file mode 100644
index 0..9d38ea11d
--- /dev/null
+++ b/dev-python/b2sdk/b2sdk-1.21.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DISTUTILS_USE_PEP517="setuptools"
+PYTHON_COMPAT=( python3_10 python3_11)
+inherit distutils-r1
+
+DESCRIPTION="The client library for BackBlaze's B2 product"
+HOMEPAGE="https://github.com/Backblaze/b2-sdk-python;
+SRC_URI="https://github.com/Backblaze/b2-sdk-python/releases/download/v${PV}/${P}.tar.gz;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.17.2-disable-requirement-installation.patch"
+)
+
+RDEPEND="
+   $(python_gen_cond_dep '
+   >=dev-python/logfury-1.0.1[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   >=dev-python/tqdm-4.5.0[${PYTHON_USEDEP}]
+   ')
+"
+
+distutils_enable_tests pytest
+
+BDEPEND+=" test? (
+   $(python_gen_cond_dep '
+   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-lazy-fixture-0.6.3[${PYTHON_USEDEP}]
+   ')
+)"
+
+# These tests seem to require some b2 authentication (they're integration tests
+# so this is not unreasonable)
+python_test() {
+   # note: used to avoid an ExcessiveLineLength lint below.
+   local 
sqlite_test_path="test/unit/account_info/test_sqlite_account_info.py"
+   epytest \
+   --deselect 
test/integration/test_large_files.py::TestLargeFile::test_large_file \
+   --deselect test/integration/test_raw_api.py::test_raw_api \
+   --deselect 
test/integration/test_download.py::TestDownload::test_large_file \
+   --deselect 
test/integration/test_download.py::TestDownload::test_small \
+   --deselect 
test/integration/test_download.py::TestDownload::test_small_unverified \
+   --deselect 
test/integration/test_download.py::TestDownload::test_gzip \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_invalid_profile_name
 \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_file_name_conflict
 \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_env_var_conflict
 \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_xdg_config_env_var
 \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_file_name \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_env_var \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file_if_exists
 \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_xdg_config_env_var
 \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/

2023-06-04 Thread Wolfgang E. Sanyer
commit: 9e1e844f36e2cca894b35dbe12eb129dd8cbf57d
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Mon Jun  5 00:50:25 2023 +
Commit: Wolfgang E. Sanyer  gmail  com>
CommitDate: Mon Jun  5 03:13:16 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9e1e844f

dev-python/b2sdk: Add python 3.11 to PYTHON_COMPAT

Also address a few pkcheck scan lints

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

 dev-python/b2sdk/b2sdk-1.17.2.ebuild | 25 ++---
 dev-python/b2sdk/metadata.xml|  3 +++
 2 files changed, 17 insertions(+), 11 deletions(-)

diff --git a/dev-python/b2sdk/b2sdk-1.17.2.ebuild 
b/dev-python/b2sdk/b2sdk-1.17.2.ebuild
index a99cc31eb..b489c7ec0 100644
--- a/dev-python/b2sdk/b2sdk-1.17.2.ebuild
+++ b/dev-python/b2sdk/b2sdk-1.17.2.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_10 )
+DISTUTILS_USE_PEP517="setuptools"
+PYTHON_COMPAT=( python3_10 python3_11)
 inherit distutils-r1
 
 DESCRIPTION="The client library for BackBlaze's B2 product"
@@ -39,6 +40,8 @@ BDEPEND+=" test? (
 # These tests seem to require some b2 authentication (they're integration tests
 # so this is not unreasonable)
 python_test() {
+   # note: used to avoid an ExcessiveLineLength lint below.
+   local 
sqlite_test_path="test/unit/account_info/test_sqlite_account_info.py"
epytest \
--deselect 
test/integration/test_large_files.py::TestLargeFile::test_large_file \
--deselect test/integration/test_raw_api.py::test_raw_api \
@@ -46,14 +49,14 @@ python_test() {
--deselect 
test/integration/test_download.py::TestDownload::test_small \
--deselect 
test/integration/test_download.py::TestDownload::test_small_unverified \
--deselect 
test/integration/test_download.py::TestDownload::test_gzip \
-   --deselect 
test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_invalid_profile_name
 \
-   --deselect 
test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_profile_and_file_name_conflict
 \
-   --deselect 
test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_profile_and_env_var_conflict
 \
-   --deselect 
test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_profile_and_xdg_config_env_var
 \
-   --deselect 
test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_profile
 \
-   --deselect 
test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_file_name
 \
-   --deselect 
test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_env_var
 \
-   --deselect 
test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_default_file_if_exists
 \
-   --deselect 
test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_xdg_config_env_var
 \
-   --deselect 
test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_default_file
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_invalid_profile_name
 \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_file_name_conflict
 \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_env_var_conflict
 \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile_and_xdg_config_env_var
 \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_profile \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_file_name \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_env_var \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file_if_exists
 \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_xdg_config_env_var
 \
+   --deselect 
${sqlite_test_path}::TestSqliteAccountProfileFileLocation::test_default_file
 }

diff --git a/dev-python/b2sdk/metadata.xml b/dev-python/b2sdk/metadata.xml
index 917b9a52a..5cdee8c4c 100644
--- a/dev-python/b2sdk/metadata.xml
+++ b/dev-python/b2sdk/metadata.xml
@@ -11,4 +11,7 @@
 
This program provides command-line access to the B2 service.

+   
+   Backblaze/b2-sdk-python
+   
 



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/

2023-05-01 Thread Anna Vyalkova
commit: 96fe0cdadf025da9de3927edb26921596f58b2f5
Author: Anna (cybertailor) Vyalkova  sysrq  in>
AuthorDate: Mon May  1 19:02:09 2023 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Mon May  1 19:02:09 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96fe0cda

dev-python/b2sdk: drop 1.12.0

Signed-off-by: Anna (cybertailor) Vyalkova  sysrq.in>

 dev-python/b2sdk/Manifest|  1 -
 dev-python/b2sdk/b2sdk-1.12.0.ebuild | 48 
 2 files changed, 49 deletions(-)

diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest
index 05576c6cd..38085fc65 100644
--- a/dev-python/b2sdk/Manifest
+++ b/dev-python/b2sdk/Manifest
@@ -1,2 +1 @@
-DIST b2sdk-1.12.0.tar.gz 273412 BLAKE2B 
e67cf20a6d7277c3d2990e6f6c46cf9df253b3a46a8c8672cbdc810ca851e8c0cd6b6033b9034ce00283a577e2838cdb0c15410b12546f87c480581b5920074b
 SHA512 
4d5eff1f9efed551c474a472a4c531b67b3356e959dde1d1058aad797abd5fd160781700753019d62ac2f05bd711bf1e6a0b15c0f5f86fd93bab17347a83cb13
 DIST b2sdk-1.17.2.tar.gz 308753 BLAKE2B 
07b6f71f604475d861257a1a7c567fc561a90c1c8c5768d21d63a82ff1c57240a81f8ebf96f1b3113cbea181140a128ebad9ed524e410a9c163a04a1de1ee2a0
 SHA512 
e618e18de16b021dc86a4b5ee9d315294eba5c3421318a4ea668681dc0420d6c3798f17c17be6475dddad7cfada8bf615916a5dc41ef905b8ecd7623b2a0c7bb

diff --git a/dev-python/b2sdk/b2sdk-1.12.0.ebuild 
b/dev-python/b2sdk/b2sdk-1.12.0.ebuild
deleted file mode 100644
index 829e3d5ae..0
--- a/dev-python/b2sdk/b2sdk-1.12.0.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_9 )
-inherit distutils-r1
-
-DESCRIPTION="The client library for BackBlaze's B2 product"
-HOMEPAGE="https://github.com/Backblaze/b2-sdk-python;
-SRC_URI="https://github.com/Backblaze/b2-sdk-python/releases/download/v${PV}/${P}.tar.gz;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-1.8.0-disable-requirement-installation.patch"
-)
-
-RDEPEND="
-   $(python_gen_cond_dep '
-   >=dev-python/arrow-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/logfury-0.1.2[${PYTHON_USEDEP}]
-   >=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
-
-BDEPEND+=" test? (
-   $(python_gen_cond_dep '
-   >=dev-python/pytest-mock-3.3.1[${PYTHON_USEDEP}]
-   dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}]
-   ')
-)"
-
-# These tests seem to require some b2 authentication (they're integration tests
-# so this is not unreasonable)
-python_test() {
-   epytest \
-   --deselect 
test/integration/test_large_files.py::TestLargeFile::test_large_file \
-   --deselect test/integration/test_raw_api.py::test_raw_api
-}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/files/, dev-python/b2sdk/

2022-07-14 Thread Wolfgang E. Sanyer
commit: b36f603097826356aa401c5c27ea8f18037b9f64
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Fri Jul 15 02:38:54 2022 +
Commit: Wolfgang E. Sanyer  gmail  com>
CommitDate: Fri Jul 15 03:11:29 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b36f6030

dev-python/b2sdk: drop old versions

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

 dev-python/b2sdk/Manifest  |  1 -
 dev-python/b2sdk/b2sdk-1.8.0.ebuild| 41 --
 .../files/b2sdk-1.2.0-skip-integration-test.patch  | 12 ---
 3 files changed, 54 deletions(-)

diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest
index f74d62d00..05576c6cd 100644
--- a/dev-python/b2sdk/Manifest
+++ b/dev-python/b2sdk/Manifest
@@ -1,3 +1,2 @@
 DIST b2sdk-1.12.0.tar.gz 273412 BLAKE2B 
e67cf20a6d7277c3d2990e6f6c46cf9df253b3a46a8c8672cbdc810ca851e8c0cd6b6033b9034ce00283a577e2838cdb0c15410b12546f87c480581b5920074b
 SHA512 
4d5eff1f9efed551c474a472a4c531b67b3356e959dde1d1058aad797abd5fd160781700753019d62ac2f05bd711bf1e6a0b15c0f5f86fd93bab17347a83cb13
 DIST b2sdk-1.17.2.tar.gz 308753 BLAKE2B 
07b6f71f604475d861257a1a7c567fc561a90c1c8c5768d21d63a82ff1c57240a81f8ebf96f1b3113cbea181140a128ebad9ed524e410a9c163a04a1de1ee2a0
 SHA512 
e618e18de16b021dc86a4b5ee9d315294eba5c3421318a4ea668681dc0420d6c3798f17c17be6475dddad7cfada8bf615916a5dc41ef905b8ecd7623b2a0c7bb
-DIST b2sdk-1.8.0.tar.gz 250511 BLAKE2B 
dad792589148fc3cad91fed1aeb43e02afca6f67f35e2f8239510606d601067abbdd36a3f0b2b2b8264697004d548d8077c999437f027c058072d7383d13c48c
 SHA512 
ee1e1987f127835b2016bba9485c7a9d9503b4a675662a7364310fec7c963214805ed6bc15b3a1f07477f202bbe06325f480997eb202bcdfa1cb24f006d0a900

diff --git a/dev-python/b2sdk/b2sdk-1.8.0.ebuild 
b/dev-python/b2sdk/b2sdk-1.8.0.ebuild
deleted file mode 100644
index 5744b272d..0
--- a/dev-python/b2sdk/b2sdk-1.8.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..9} )
-inherit distutils-r1
-
-DESCRIPTION="The client library for BackBlaze's B2 product"
-HOMEPAGE="https://github.com/Backblaze/b2-sdk-python;
-SRC_URI="https://github.com/Backblaze/b2-sdk-python/releases/download/v${PV}/${P}.tar.gz;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-1.2.0-skip-integration-test.patch"
-   "${FILESDIR}/${PN}-1.8.0-disable-requirement-installation.patch"
-)
-
-RDEPEND="
-   $(python_gen_cond_dep '
-   >=dev-python/arrow-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/logfury-0.1.2[${PYTHON_USEDEP}]
-   >=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
-
-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.2.0-skip-integration-test.patch 
b/dev-python/b2sdk/files/b2sdk-1.2.0-skip-integration-test.patch
deleted file mode 100644
index bd13d9944..0
--- a/dev-python/b2sdk/files/b2sdk-1.2.0-skip-integration-test.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/test/integration/test_raw_api.py 
b/test/integration/test_raw_api.py
-index e6cd288..ec89604 100644
 a/test/integration/test_raw_api.py
-+++ b/test/integration/test_raw_api.py
-@@ -15,6 +15,7 @@ from b2sdk import raw_api
- 
- 
- # TODO: move the test_raw_api test logic here
-+@pytest.mark.skip(reason="Cannot do this in portage")
- def test_raw_api():
- application_key_id = os.environ.get('B2_TEST_APPLICATION_KEY_ID')
- if application_key_id is None:



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/files/, dev-python/b2sdk/

2022-07-14 Thread Wolfgang E. Sanyer
commit: a2e4ff366975f9f1e7f6c7c233ecc0562efc561c
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Fri Jul 15 01:47:36 2022 +
Commit: Wolfgang E. Sanyer  gmail  com>
CommitDate: Fri Jul 15 03:01:42 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a2e4ff36

dev-python/b2sdk: bump to 1.17.2

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

 dev-python/b2sdk/Manifest  |  1 +
 dev-python/b2sdk/b2sdk-1.17.2.ebuild   | 59 ++
 ...k-1.17.2-disable-requirement-installation.patch | 22 
 3 files changed, 82 insertions(+)

diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest
index 38390b803..f74d62d00 100644
--- a/dev-python/b2sdk/Manifest
+++ b/dev-python/b2sdk/Manifest
@@ -1,2 +1,3 @@
 DIST b2sdk-1.12.0.tar.gz 273412 BLAKE2B 
e67cf20a6d7277c3d2990e6f6c46cf9df253b3a46a8c8672cbdc810ca851e8c0cd6b6033b9034ce00283a577e2838cdb0c15410b12546f87c480581b5920074b
 SHA512 
4d5eff1f9efed551c474a472a4c531b67b3356e959dde1d1058aad797abd5fd160781700753019d62ac2f05bd711bf1e6a0b15c0f5f86fd93bab17347a83cb13
+DIST b2sdk-1.17.2.tar.gz 308753 BLAKE2B 
07b6f71f604475d861257a1a7c567fc561a90c1c8c5768d21d63a82ff1c57240a81f8ebf96f1b3113cbea181140a128ebad9ed524e410a9c163a04a1de1ee2a0
 SHA512 
e618e18de16b021dc86a4b5ee9d315294eba5c3421318a4ea668681dc0420d6c3798f17c17be6475dddad7cfada8bf615916a5dc41ef905b8ecd7623b2a0c7bb
 DIST b2sdk-1.8.0.tar.gz 250511 BLAKE2B 
dad792589148fc3cad91fed1aeb43e02afca6f67f35e2f8239510606d601067abbdd36a3f0b2b2b8264697004d548d8077c999437f027c058072d7383d13c48c
 SHA512 
ee1e1987f127835b2016bba9485c7a9d9503b4a675662a7364310fec7c963214805ed6bc15b3a1f07477f202bbe06325f480997eb202bcdfa1cb24f006d0a900

diff --git a/dev-python/b2sdk/b2sdk-1.17.2.ebuild 
b/dev-python/b2sdk/b2sdk-1.17.2.ebuild
new file mode 100644
index 0..215e1a142
--- /dev/null
+++ b/dev-python/b2sdk/b2sdk-1.17.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="The client library for BackBlaze's B2 product"
+HOMEPAGE="https://github.com/Backblaze/b2-sdk-python;
+SRC_URI="https://github.com/Backblaze/b2-sdk-python/releases/download/v${PV}/${P}.tar.gz;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.17.2-disable-requirement-installation.patch"
+)
+
+RDEPEND="
+   $(python_gen_cond_dep '
+   >=dev-python/arrow-1.0.2[${PYTHON_USEDEP}]
+   >=dev-python/logfury-1.0.1[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   >=dev-python/tqdm-4.5.0[${PYTHON_USEDEP}]
+   ')
+"
+
+distutils_enable_tests pytest
+
+BDEPEND+=" test? (
+   $(python_gen_cond_dep '
+   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-lazy-fixture-0.6.3[${PYTHON_USEDEP}]
+   ')
+)"
+
+# These tests seem to require some b2 authentication (they're integration tests
+# so this is not unreasonable)
+python_test() {
+   epytest \
+   --deselect 
test/integration/test_large_files.py::TestLargeFile::test_large_file \
+   --deselect test/integration/test_raw_api.py::test_raw_api \
+   --deselect 
test/integration/test_download.py::TestDownload::test_large_file \
+   --deselect 
test/integration/test_download.py::TestDownload::test_small \
+   --deselect 
test/integration/test_download.py::TestDownload::test_small_unverified \
+   --deselect 
test/integration/test_download.py::TestDownload::test_gzip \
+   --deselect 
test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_invalid_profile_name
 \
+   --deselect 
test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_profile_and_file_name_conflict
 \
+   --deselect 
test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_profile_and_env_var_conflict
 \
+   --deselect 
test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_profile_and_xdg_config_env_var
 \
+   --deselect 
test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_profile
 \
+   --deselect 
test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_file_name
 \
+   --deselect 
test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_env_var
 \
+   --deselect 
test/unit/account_info/test_sqlite_account_info.py::TestSqliteAccountProfileFileLocation::test_default_file_if_exists
 \
+   --deselect 

[gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/

2021-10-01 Thread Wolfgang E. Sanyer
commit: 34f9d34b57c47f538802422753f155531ef8308d
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Fri Oct  1 19:18:30 2021 +
Commit: Wolfgang E. Sanyer  gmail  com>
CommitDate: Fri Oct  1 20:01:29 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=34f9d34b

dev-python/b2sdk: bump to 1.12.0

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

 dev-python/b2sdk/Manifest|  1 +
 dev-python/b2sdk/b2sdk-1.12.0.ebuild | 48 
 2 files changed, 49 insertions(+)

diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest
index 245834d91..38390b803 100644
--- a/dev-python/b2sdk/Manifest
+++ b/dev-python/b2sdk/Manifest
@@ -1 +1,2 @@
+DIST b2sdk-1.12.0.tar.gz 273412 BLAKE2B 
e67cf20a6d7277c3d2990e6f6c46cf9df253b3a46a8c8672cbdc810ca851e8c0cd6b6033b9034ce00283a577e2838cdb0c15410b12546f87c480581b5920074b
 SHA512 
4d5eff1f9efed551c474a472a4c531b67b3356e959dde1d1058aad797abd5fd160781700753019d62ac2f05bd711bf1e6a0b15c0f5f86fd93bab17347a83cb13
 DIST b2sdk-1.8.0.tar.gz 250511 BLAKE2B 
dad792589148fc3cad91fed1aeb43e02afca6f67f35e2f8239510606d601067abbdd36a3f0b2b2b8264697004d548d8077c999437f027c058072d7383d13c48c
 SHA512 
ee1e1987f127835b2016bba9485c7a9d9503b4a675662a7364310fec7c963214805ed6bc15b3a1f07477f202bbe06325f480997eb202bcdfa1cb24f006d0a900

diff --git a/dev-python/b2sdk/b2sdk-1.12.0.ebuild 
b/dev-python/b2sdk/b2sdk-1.12.0.ebuild
new file mode 100644
index 0..dafe65efb
--- /dev/null
+++ b/dev-python/b2sdk/b2sdk-1.12.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+inherit distutils-r1
+
+DESCRIPTION="The client library for BackBlaze's B2 product"
+HOMEPAGE="https://github.com/Backblaze/b2-sdk-python;
+SRC_URI="https://github.com/Backblaze/b2-sdk-python/releases/download/v${PV}/${P}.tar.gz;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.8.0-disable-requirement-installation.patch"
+)
+
+RDEPEND="
+   $(python_gen_cond_dep '
+   >=dev-python/arrow-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/logfury-0.1.2[${PYTHON_USEDEP}]
+   >=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
+
+BDEPEND+=" test? (
+   $(python_gen_cond_dep '
+   >=dev-python/pytest-mock-3.3.1[${PYTHON_USEDEP}]
+   dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}]
+   ')
+)"
+
+# These tests seem to require some b2 authentication (they're integration tests
+# so this is not unreasonable)
+python_test() {
+   epytest \
+   --deselect 
test/integration/test_large_files.py::TestLargeFile::test_large_file \
+   --deselect test/integration/test_raw_api.py::test_raw_api
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/files/, dev-python/b2sdk/

2021-06-02 Thread Wolfgang E. Sanyer
commit: 43059ced8913306fdff547cc64d444775db08c4b
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Wed Jun  2 17:20:59 2021 +
Commit: Wolfgang E. Sanyer  gmail  com>
CommitDate: Wed Jun  2 18:20:12 2021 +
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  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 
05273de5d83a62afe33873ddd66f22005bcfbd559314d43a5662981e024f18063078d00b42b407aeda331083c826c4c6fc4e06cad280b280de8cb66423d2
+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 0..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



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/

2021-04-22 Thread Wolfgang E. Sanyer
commit: 937a545d58687efa0dcc1ef426e5886552c487d6
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Thu Apr 22 18:38:41 2021 +
Commit: Wolfgang E. Sanyer  gmail  com>
CommitDate: Thu Apr 22 18:38:41 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=937a545d

dev-python/b2sdk: update metadata to reflect bugzilla email

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

 dev-python/b2sdk/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/b2sdk/metadata.xml b/dev-python/b2sdk/metadata.xml
index 77c569d1e..5440a39c6 100644
--- a/dev-python/b2sdk/metadata.xml
+++ b/dev-python/b2sdk/metadata.xml
@@ -2,7 +2,7 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

-   wolfgangesan...@gmail.com
+   ezzieyguy...@gmail.com
Wolfgang E. Sanyer





[gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/

2021-01-03 Thread Wolfgang E. Sanyer
commit: f775e677f89f61c7cb136f9d735b783381969b7a
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Mon Jan  4 05:17:45 2021 +
Commit: Wolfgang E. Sanyer  gmail  com>
CommitDate: Mon Jan  4 05:17:45 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f775e677

dev-python/b2sdk: remove PYTHON_COMPAT=python3_6

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

 dev-python/b2sdk/b2sdk-1.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/b2sdk/b2sdk-1.2.0.ebuild 
b/dev-python/b2sdk/b2sdk-1.2.0.ebuild
index 9967cecd..98fcb1d7 100644
--- a/dev-python/b2sdk/b2sdk-1.2.0.ebuild
+++ b/dev-python/b2sdk/b2sdk-1.2.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6..8} )
+PYTHON_COMPAT=( python3_{7..8} )
 inherit distutils-r1
 
 DESCRIPTION="The client library for BackBlaze's B2 product"



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/files/, dev-python/b2sdk/

2021-01-03 Thread Wolfgang E. Sanyer
commit: ec6a473f4f3c62a4a306e84414ea5f2ce16e73f3
Author: Wolfgang E. Sanyer  gmail  com>
AuthorDate: Mon Jan  4 02:02:06 2021 +
Commit: Wolfgang E. Sanyer  gmail  com>
CommitDate: Mon Jan  4 02:14:53 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ec6a473f

dev-python/b2sdk: new package, dep of b2

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

 dev-python/b2sdk/Manifest  |  1 +
 dev-python/b2sdk/b2sdk-1.2.0.ebuild| 36 ++
 .../files/b2sdk-1.2.0-skip-integration-test.patch  | 12 
 dev-python/b2sdk/metadata.xml  | 14 +
 4 files changed, 63 insertions(+)

diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest
new file mode 100644
index ..117886c8
--- /dev/null
+++ b/dev-python/b2sdk/Manifest
@@ -0,0 +1 @@
+DIST b2sdk-1.2.0.tar.gz 172456 BLAKE2B 
7af232d1bb274037b327a7a0740ca7ea8f1a8edda26bd6816fe66bc332c69c9ba3f95c790f8d1c799391548ff7a7b190603ed3c358512401c0cdec5d9c93c72c
 SHA512 
05273de5d83a62afe33873ddd66f22005bcfbd559314d43a5662981e024f18063078d00b42b407aeda331083c826c4c6fc4e06cad280b280de8cb66423d2

diff --git a/dev-python/b2sdk/b2sdk-1.2.0.ebuild 
b/dev-python/b2sdk/b2sdk-1.2.0.ebuild
new file mode 100644
index ..9967cecd
--- /dev/null
+++ b/dev-python/b2sdk/b2sdk-1.2.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..8} )
+inherit distutils-r1
+
+DESCRIPTION="The client library for BackBlaze's B2 product"
+HOMEPAGE="https://github.com/Backblaze/b2-sdk-python;
+SRC_URI="https://github.com/Backblaze/b2-sdk-python/releases/download/v${PV}/${P}.tar.gz;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.2.0-skip-integration-test.patch"
+)
+
+RDEPEND="
+   $(python_gen_cond_dep '
+   >=dev-python/arrow-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/logfury-0.1.2[${PYTHON_USEDEP}]
+   >=dev-python/requests-2.9.1[${PYTHON_USEDEP}]
+   >=dev-python/tqdm-4.5.0[${PYTHON_USEDEP}]
+   ')
+"
+
+distutils_enable_tests pytest
+
+BDEPEND+=" test? (
+   $(python_gen_cond_dep '
+   >=dev-python/pytest-mock-3.3.1[${PYTHON_USEDEP}]
+   ')
+)"

diff --git a/dev-python/b2sdk/files/b2sdk-1.2.0-skip-integration-test.patch 
b/dev-python/b2sdk/files/b2sdk-1.2.0-skip-integration-test.patch
new file mode 100644
index ..bd13d994
--- /dev/null
+++ b/dev-python/b2sdk/files/b2sdk-1.2.0-skip-integration-test.patch
@@ -0,0 +1,12 @@
+diff --git a/test/integration/test_raw_api.py 
b/test/integration/test_raw_api.py
+index e6cd288..ec89604 100644
+--- a/test/integration/test_raw_api.py
 b/test/integration/test_raw_api.py
+@@ -15,6 +15,7 @@ from b2sdk import raw_api
+ 
+ 
+ # TODO: move the test_raw_api test logic here
++@pytest.mark.skip(reason="Cannot do this in portage")
+ def test_raw_api():
+ application_key_id = os.environ.get('B2_TEST_APPLICATION_KEY_ID')
+ if application_key_id is None:

diff --git a/dev-python/b2sdk/metadata.xml b/dev-python/b2sdk/metadata.xml
new file mode 100644
index ..77c569d1
--- /dev/null
+++ b/dev-python/b2sdk/metadata.xml
@@ -0,0 +1,14 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   wolfgangesan...@gmail.com
+   Wolfgang E. Sanyer
+   
+   
+   The command-line tool that gives easy access to all of the 
capabilities
+   of B2 Cloud Storage.
+
+   This program provides command-line access to the B2 service.
+   
+