mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-backup/b2: treeclean
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST b2-4.4.2.gh.tar.gz 223895 BLAKE2B 36d8e3564b42538741d18dea8b84232b2785bae72152938337cc3345f76ec88468fd83cdc0b0db9636cd1dfcc52be374e70d4ab9dbced376cb1922bd38ecf6ba SHA512 9518fbc92c709bf387af499fe169080b9152b37258bfbba5a0213e77a36ad3e82354fe27fbe61106e8978043a8023a3aa8f69342a45d231753646576e152d64b
|
||||
@@ -1,86 +0,0 @@
|
||||
# Copyright 2020-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/b2-4.0.1-nameclash.patch"
|
||||
)
|
||||
|
||||
export PDM_BUILD_SCM_VERSION=${PV}
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/argcomplete-3.5.2[${PYTHON_USEDEP}]
|
||||
<dev-python/argcomplete-4[${PYTHON_USEDEP}]
|
||||
>=dev-python/arrow-1.0.2[${PYTHON_USEDEP}]
|
||||
<dev-python/arrow-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/b2sdk-2.9.4[${PYTHON_USEDEP}]
|
||||
<dev-python/b2sdk-3[${PYTHON_USEDEP}]
|
||||
>=dev-python/docutils-0.18.1[${PYTHON_USEDEP}]
|
||||
<dev-python/docutils-0.22[${PYTHON_USEDEP}]
|
||||
>=dev-python/phx-class-registry-4.0[${PYTHON_USEDEP}]
|
||||
<dev-python/phx-class-registry-5[${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}]
|
||||
<dev-python/tqdm-5[${PYTHON_USEDEP}]
|
||||
>=dev-python/platformdirs-3.11.0[${PYTHON_USEDEP}]
|
||||
<dev-python/platformdirs-5[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
test? (
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/coverage-7.2.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/pexpect-4.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-8.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-cov-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-forked-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tenacity-8.2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/more-itertools-8.13.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"
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
From e454e6e2f3edb9358bfd14c59cfaf88567389492 Mon Sep 17 00:00:00 2001
|
||||
From: "Wolfgang E. Sanyer" <WolfgangESanyer@gmail.com>
|
||||
Date: Tue, 2 Apr 2024 22:12:48 -0400
|
||||
Subject: [PATCH] patch
|
||||
|
||||
---
|
||||
pyproject.toml | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index 72cf0e1..464a4a7 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -65,9 +65,9 @@ full = [
|
||||
Homepage = "https://github.com/Backblaze/B2_Command_Line_Tool"
|
||||
|
||||
[project.scripts]
|
||||
-b2 = "b2._internal.b2v3.__main__:main"
|
||||
-b2v3 = "b2._internal.b2v3.__main__:main"
|
||||
-_b2v4 = "b2._internal._b2v4.__main__:main"
|
||||
+backblaze2 = "b2._internal.b2v3.__main__:main"
|
||||
+backblaze2v3 = "b2._internal.b2v3.__main__:main"
|
||||
+_backblaze2v4 = "b2._internal._b2v4.__main__:main"
|
||||
|
||||
[build-system]
|
||||
requires = ["pdm-backend"]
|
||||
--
|
||||
2.43.2
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index ff817d2..de26c16 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -65,9 +65,9 @@ full = [
|
||||
Homepage = "https://github.com/Backblaze/B2_Command_Line_Tool"
|
||||
|
||||
[project.scripts]
|
||||
-b2 = "b2._internal.b2v4.__main__:main"
|
||||
-b2v3 = "b2._internal.b2v3.__main__:main"
|
||||
-b2v4 = "b2._internal.b2v4.__main__:main"
|
||||
+backblaze2 = "b2._internal.b2v4.__main__:main"
|
||||
+backblaze2v3 = "b2._internal.b2v3.__main__:main"
|
||||
+backblaze2v4 = "b2._internal.b2v4.__main__:main"
|
||||
|
||||
[build-system]
|
||||
requires = ["pdm-backend"]
|
||||
@@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>ezzieyguywuf@gmail.com</email>
|
||||
<name>Wolfgang E. Sanyer</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
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.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">Backblaze/B2_Command_Line_Tool</remote-id>
|
||||
<remote-id type="pypi">b2</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -58,10 +58,6 @@ dev-crystal/slang
|
||||
dev-crystal/temel
|
||||
dev-crystal/water
|
||||
|
||||
# Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> (2025-10-27)
|
||||
# Depends on masked dev-python/rst2ansi.
|
||||
app-backup/b2
|
||||
|
||||
# David (stkw0) Roman <davidroman96@gmail.com> (2025-07-25)
|
||||
# Depends on removed pydantic version.
|
||||
dev-python/safety-schemas
|
||||
|
||||
Reference in New Issue
Block a user