commit:     835c491b1897b3ae9c91906b772a425e13c665f9
Author:     Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com>
AuthorDate: Wed May 14 17:49:44 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Wed May 14 17:55:34 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=835c491b

app-backup/b2: add v4.3.2

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

 app-backup/b2/Manifest        |  1 +
 app-backup/b2/b2-4.3.2.ebuild | 72 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/app-backup/b2/Manifest b/app-backup/b2/Manifest
index 2b4e96717..53169df52 100644
--- a/app-backup/b2/Manifest
+++ b/app-backup/b2/Manifest
@@ -1 +1,2 @@
 DIST b2-4.0.1.gh.tar.gz 201737 BLAKE2B 
74fb1dd52c8592816c2f2680469c2dd08910f8c25d4a923dd53258f63dd4c38ef77855e6845c41572b8fe52d33ee390a2fac6555016663c450feeb6ff89ed09e
 SHA512 
02a14c2c78fecd1dda536539b5977d6ff45892db0355575209417d7f8471a45ace0d4766dd454c0ba0a65a1ae44e0c698cca38814b0bf36ca5e7a69efec9149a
+DIST b2-4.3.2.gh.tar.gz 219545 BLAKE2B 
2d644e0b3fd8fff18c66d981e1a005590f248d5e2f3e6d41dbed9440c7ae85715c055e334786a0e45eec5de5f0a0d8a730daabc1738e30624f87209ddd3d40d3
 SHA512 
d2feea3b5521fd7211efa48d50e66c1e603001986e33adacdd64618d25e1e4efb8d86377c4dff243d8c584bde2bfb1648243834194dfc0b3cdde5cebe6633194

diff --git a/app-backup/b2/b2-4.3.2.ebuild b/app-backup/b2/b2-4.3.2.ebuild
new file mode 100644
index 000000000..a71fff66b
--- /dev/null
+++ b/app-backup/b2/b2-4.3.2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{11..13} )
+DISTUTILS_USE_PEP517="pdm-backend"
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Command-line tool for BackBlaze's B2 product"
+HOMEPAGE="https://github.com/Backblaze/B2_Command_Line_Tool";
+SRC_URI="https://github.com/Backblaze/B2_Command_Line_Tool/archive/refs/tags/v${PV}.tar.gz
 -> ${P}.gh.tar.gz"
+
+S="${WORKDIR}/B2_Command_Line_Tool-${PV}"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=(
+       "${FILESDIR}/b2-4.0.1-nameclash.patch"
+)
+
+export PDM_BUILD_SCM_VERSION=${PV}
+
+RDEPEND="
+       $(python_gen_cond_dep '
+               >=dev-python/argcomplete-3.6.2[${PYTHON_USEDEP}]
+               >=dev-python/arrow-1.3.0[${PYTHON_USEDEP}]
+               >=dev-python/b2sdk-2.8.1[${PYTHON_USEDEP}]
+               >=dev-python/docutils-0.19[${PYTHON_USEDEP}]
+               >=dev-python/phx-class-registry-4.0.6[${PYTHON_USEDEP}]
+               >=dev-python/rst2ansi-0.1.5[${PYTHON_USEDEP}]
+               >=dev-python/tabulate-0.9.0[${PYTHON_USEDEP}]
+               >=dev-python/tqdm-4.65.0[${PYTHON_USEDEP}]
+       ')
+"
+
+DEPEND="
+       test? (
+               $(python_gen_cond_dep '
+                       >=dev-python/backoff-2.2.1[${PYTHON_USEDEP}]
+                       >=dev-python/pexpect-4.9.0[${PYTHON_USEDEP}]
+               ')
+       )
+"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+       # fixture 'worker_id' not found
+       "test/integration/test_b2_command_line.py"
+       "test/integration/test_help.py::test_help"
+       "test/integration/test_autocomplete.py"
+
+       # Timeout exceeded
+       # I think this is trying to access files outside of the sandbox
+       
"test/unit/console_tool/test_install_autocomplete.py::test_install_autocomplete"
+
+       # TypeError: super(type, obj): obj must be an instance or subtype of 
type
+       # This test itself does not fail, but running it causes subsequent test 
to
+       # fail, which otherwise pass. Not really sure why (I assume this test is
+       # somehow polluting the test fixture?) but disabling causes the other 
tests
+       # to pass
+       "test/unit/_cli/test_autocomplete_cache.py"
+)
+
+pkg_postinst() {
+       elog "The b2 executable has been renamed to backblaze2 in order to"
+       elog "avoid a name clash with b2 from boost-build"
+}

Reply via email to