* [gentoo-commits] repo/proj/guru:dev commit in: app-backup/b2/files/, app-backup/b2/
@ 2021-01-04 2:15 Wolfgang E. Sanyer
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang E. Sanyer @ 2021-01-04 2:15 UTC (permalink / raw
To: gentoo-commits
commit: 1d9279bbe078badae5c434759b070022ae23147c
Author: Wolfgang E. Sanyer <WolfgangESanyer <AT> gmail <DOT> com>
AuthorDate: Mon Jan 4 02:03:40 2021 +0000
Commit: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com>
CommitDate: Mon Jan 4 02:14:53 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1d9279bb
app-backup/b2: new package, backblaze's cli client
Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer <AT> gmail.com>
app-backup/b2/Manifest | 1 +
app-backup/b2/b2-2.1.0.ebuild | 40 ++++++++++++++++++++++
app-backup/b2/files/b2-2.1.0-nameclash.patch | 12 +++++++
.../b2/files/b2-2.1.0-skip-integration-test.patch | 12 +++++++
app-backup/b2/metadata.xml | 18 ++++++++++
5 files changed, 83 insertions(+)
diff --git a/app-backup/b2/Manifest b/app-backup/b2/Manifest
new file mode 100644
index 00000000..6cbf20eb
--- /dev/null
+++ b/app-backup/b2/Manifest
@@ -0,0 +1 @@
+DIST b2-2.1.0.tar.gz 41812 BLAKE2B 0450b0e0e501a061a0934ac303414322331de3d55da54506b08515136b3084464b0bcf35ca90b6f5298456af3978055f4edf67004aa5351c9bac4e4ecc99a078 SHA512 13bc95226ac98122de401159e3e6149fc783162b33c8c6033538f9e7bcaa782d3f67334b83bd876ca15b73924b5b7af9d9cc62556c10adaf9a0de8c06f9014b6
diff --git a/app-backup/b2/b2-2.1.0.ebuild b/app-backup/b2/b2-2.1.0.ebuild
new file mode 100644
index 00000000..78feaef0
--- /dev/null
+++ b/app-backup/b2/b2-2.1.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2020-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..8} )
+
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+DESCRIPTION="The command-line tool for BackBlaze's B2 product."
+HOMEPAGE="https://github.com/Backblaze/B2_Command_Line_Tool"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=(
+ "${FILESDIR}/${P}-nameclash.patch"
+ "${FILESDIR}/${P}-skip-integration-test.patch"
+)
+
+RDEPEND="
+ $(python_gen_cond_dep '
+ >=dev-python/arrow-0.8.0[${PYTHON_USEDEP}]
+ >=dev-python/b2sdk-1.2.0[${PYTHON_USEDEP}]
+ <dev-python/b2sdk-1.3.0[${PYTHON_USEDEP}]
+ >=dev-python/phx-class-registry-3.0.5[${PYTHON_USEDEP}]
+ ')
+"
+
+distutils_enable_tests pytest
+
+pkg_postinst(){
+ elog "The b2 executable has been renamed to backblaze2 in order to"
+ elog "avoid a name clash with b2 from boost-build"
+}
diff --git a/app-backup/b2/files/b2-2.1.0-nameclash.patch b/app-backup/b2/files/b2-2.1.0-nameclash.patch
new file mode 100644
index 00000000..340176f6
--- /dev/null
+++ b/app-backup/b2/files/b2-2.1.0-nameclash.patch
@@ -0,0 +1,12 @@
+diff --git a/setup.py b/setup.py
+index fee3261..f90056b 100644
+--- a/setup.py
++++ b/setup.py
+@@ -140,6 +140,6 @@ setup(
+ # "scripts" keyword. Entry points provide cross-platform support and allow
+ # pip to create the appropriate form of executable for the target platform.
+ entry_points={
+- 'console_scripts': ['b2=b2.console_tool:main',],
++ 'console_scripts': ['backblaze2=b2.console_tool:main',],
+ },
+ )
diff --git a/app-backup/b2/files/b2-2.1.0-skip-integration-test.patch b/app-backup/b2/files/b2-2.1.0-skip-integration-test.patch
new file mode 100644
index 00000000..40506bc9
--- /dev/null
+++ b/app-backup/b2/files/b2-2.1.0-skip-integration-test.patch
@@ -0,0 +1,12 @@
+diff --git a/test/integration/test_b2_command_line.py b/test/integration/test_b2_command_line.py
+index 02b36ab..bd790ec 100644
+--- a/test/integration/test_b2_command_line.py
++++ b/test/integration/test_b2_command_line.py
+@@ -870,6 +870,7 @@ def main():
+
+
+ # TODO: rewrite to multiple tests
++@pytest.mark.skip(reason="Cannot do this in portage")
+ def test_integration():
+ application_key_id = os.environ.get('B2_TEST_APPLICATION_KEY_ID')
+ if application_key_id is None:
diff --git a/app-backup/b2/metadata.xml b/app-backup/b2/metadata.xml
new file mode 100644
index 00000000..6e00138a
--- /dev/null
+++ b/app-backup/b2/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ezzieyguywuf@gmail.com</email>
+ <name>Wolfgang E. Sanyer</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</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>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-backup/b2/files/, app-backup/b2/
@ 2024-04-03 2:40 Wolfgang E. Sanyer
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang E. Sanyer @ 2024-04-03 2:40 UTC (permalink / raw
To: gentoo-commits
commit: 15e6258dd3bbf39663c6f1768e97181d499c0cc6
Author: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com>
AuthorDate: Wed Apr 3 00:42:07 2024 +0000
Commit: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com>
CommitDate: Wed Apr 3 02:35:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=15e6258d
app-backup/b2: bump to 3.18.0
Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail.com>
app-backup/b2/Manifest | 1 +
app-backup/b2/b2-3.18.0.ebuild | 61 +++++++++++++++++++++++++++
app-backup/b2/files/b2-3.18.0-nameclash.patch | 29 +++++++++++++
3 files changed, 91 insertions(+)
diff --git a/app-backup/b2/Manifest b/app-backup/b2/Manifest
index 1bd1b86f8b..ae607ca74f 100644
--- a/app-backup/b2/Manifest
+++ b/app-backup/b2/Manifest
@@ -1,2 +1,3 @@
+DIST b2-3.18.0.gh.tar.gz 189572 BLAKE2B 9516d98c7c493791f120c345480f16c8d615cbf425f692fa3fe6688c21ef7d26f14cdd7b44cfb22f2c13a5554166c046eb5fa1712a1e1994fa4e4181399eda84 SHA512 45c784e961b8b650d27e7fe642cacd194462b3c0864fdc1af52e41a70b435c36fbb803e80cfb2c88b8165ea95459a7e62b1995f26caf612110f8c77418cb6669
DIST b2-3.4.0.tar.gz 86706 BLAKE2B 2aa1f4934db0bcf8c1334a5def94fd74824a9ca19d293b201b29f8c4511e8d423fd77d71734c386aeb41e60747ea71d36d8c049676cf6fcd3e101354440da8cc SHA512 5b0f411301f9b022c066ab3a1170d2ef3b21a76fe9c4e668d1da0cbd07334d11614f93d283e5c0482cb4f6985466d28b0fe59b4c058a87643218dd7a96857418
DIST b2-3.9.0.tar.gz 131326 BLAKE2B c357831b7c0b4ae6abc4fafb6e09690f8ffe833d2c58c05610ffdbf94ba276f5fa143dd1528f7e7424b6fa96857c8328be993e6ffc60b61c44037bd9ef0b0e96 SHA512 db2fab07e973d6d39db3931dd7f645ee3c9737f4de0ab29327490607d52aad4df2e9049782ef347ee44f80b76dbe91f495ce273285001d49195abe91d5b2cb5d
diff --git a/app-backup/b2/b2-3.18.0.ebuild b/app-backup/b2/b2-3.18.0.ebuild
new file mode 100644
index 0000000000..de51fe0a3d
--- /dev/null
+++ b/app-backup/b2/b2-3.18.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_10 python3_11 python3_12 )
+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}/${P}-nameclash.patch"
+)
+
+export PDM_BUILD_SCM_VERSION=${PV}
+
+RDEPEND="
+ $(python_gen_cond_dep '
+ >=dev-python/argcomplete-2.1.2[${PYTHON_USEDEP}]
+ >=dev-python/arrow-1.3.0[${PYTHON_USEDEP}]
+ >=dev-python/b2sdk-1.21.0[${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.8.0[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+distutils_enable_tests pytest
+
+# - integration tests require an application key and id (which is reasonable)
+# - sync tests require network access
+python_test() {
+ epytest --deselect test/unit/console_tool test/unit
+ epytest test/unit/console_tool
+}
+
+pkg_postinst() {
+ elog "The b2 executable has been renamed to backblaze2 in order to"
+ elog "avoid a name clash with b2 from boost-build"
+}
diff --git a/app-backup/b2/files/b2-3.18.0-nameclash.patch b/app-backup/b2/files/b2-3.18.0-nameclash.patch
new file mode 100644
index 0000000000..cea9a8a720
--- /dev/null
+++ b/app-backup/b2/files/b2-3.18.0-nameclash.patch
@@ -0,0 +1,29 @@
+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
+
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-backup/b2/files/, app-backup/b2/
@ 2024-04-03 2:40 Wolfgang E. Sanyer
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang E. Sanyer @ 2024-04-03 2:40 UTC (permalink / raw
To: gentoo-commits
commit: 330c9f354c16622d6b8de9c4b54a0924fea35b67
Author: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com>
AuthorDate: Wed Apr 3 02:29:15 2024 +0000
Commit: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com>
CommitDate: Wed Apr 3 02:40:06 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=330c9f35
app-backup/b2: drop 3.4.0
Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail.com>
app-backup/b2/Manifest | 1 -
app-backup/b2/b2-3.4.0.ebuild | 54 ----------------------
...b2-2.5.0-disable-pip-requirement-installs.patch | 23 ---------
...b2-3.4.0-disable-pip-requirement-installs.patch | 24 ----------
4 files changed, 102 deletions(-)
diff --git a/app-backup/b2/Manifest b/app-backup/b2/Manifest
index ae607ca74f..92370c8f8d 100644
--- a/app-backup/b2/Manifest
+++ b/app-backup/b2/Manifest
@@ -1,3 +1,2 @@
DIST b2-3.18.0.gh.tar.gz 189572 BLAKE2B 9516d98c7c493791f120c345480f16c8d615cbf425f692fa3fe6688c21ef7d26f14cdd7b44cfb22f2c13a5554166c046eb5fa1712a1e1994fa4e4181399eda84 SHA512 45c784e961b8b650d27e7fe642cacd194462b3c0864fdc1af52e41a70b435c36fbb803e80cfb2c88b8165ea95459a7e62b1995f26caf612110f8c77418cb6669
-DIST b2-3.4.0.tar.gz 86706 BLAKE2B 2aa1f4934db0bcf8c1334a5def94fd74824a9ca19d293b201b29f8c4511e8d423fd77d71734c386aeb41e60747ea71d36d8c049676cf6fcd3e101354440da8cc SHA512 5b0f411301f9b022c066ab3a1170d2ef3b21a76fe9c4e668d1da0cbd07334d11614f93d283e5c0482cb4f6985466d28b0fe59b4c058a87643218dd7a96857418
DIST b2-3.9.0.tar.gz 131326 BLAKE2B c357831b7c0b4ae6abc4fafb6e09690f8ffe833d2c58c05610ffdbf94ba276f5fa143dd1528f7e7424b6fa96857c8328be993e6ffc60b61c44037bd9ef0b0e96 SHA512 db2fab07e973d6d39db3931dd7f645ee3c9737f4de0ab29327490607d52aad4df2e9049782ef347ee44f80b76dbe91f495ce273285001d49195abe91d5b2cb5d
diff --git a/app-backup/b2/b2-3.4.0.ebuild b/app-backup/b2/b2-3.4.0.ebuild
deleted file mode 100644
index 1af6890ea7..0000000000
--- a/app-backup/b2/b2-3.4.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_10 python3_11 )
-DISTUTILS_USE_PEP517=setuptools
-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"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.5.0-nameclash.patch"
- "${FILESDIR}/${PN}-3.4.0-disable-pip-requirement-installs.patch"
-)
-
-RDEPEND="
- $(python_gen_cond_dep '
- >=dev-python/arrow-1.0.2[${PYTHON_USEDEP}]
- >=dev-python/b2sdk-1.16.0[${PYTHON_USEDEP}]
- >=dev-python/docutils-0.16[${PYTHON_USEDEP}]
- >=dev-python/phx-class-registry-3.0.5[${PYTHON_USEDEP}]
- >=dev-python/rst2ansi-0.1.5[${PYTHON_USEDEP}]
- ')
- $(python_gen_cond_dep '
- >=dev-python/importlib_metadata-3.3.0[${PYTHON_USEDEP}]
- ' pypy3 python3_8)
-"
-
-distutils_enable_tests pytest
-
-# - integration tests require an application key and id (which is # reasonable)
-# - sync tests require network access
-# - Per https://github.com/Backblaze/B2_Command_Line_Tool/issues/687 , the
-# parse_millis test is broken due to an upstream issue
-python_test() {
- epytest \
- --deselect test/integration/test_b2_command_line.py::test_integration \
- --deselect test/unit/test_console_tool.py::TestConsoleTool::test_sync_exclude_if_modified_after_exact \
- --deselect test/unit/test_console_tool.py::TestConsoleTool::test_sync_exclude_if_modified_after_in_range \
- --deselect test/unit/test_arg_parser.py::TestCustomArgTypes::test_parse_millis_from_float_timestamp
-}
-
-pkg_postinst() {
- elog "The b2 executable has been renamed to backblaze2 in order to"
- elog "avoid a name clash with b2 from boost-build"
-}
diff --git a/app-backup/b2/files/b2-2.5.0-disable-pip-requirement-installs.patch b/app-backup/b2/files/b2-2.5.0-disable-pip-requirement-installs.patch
deleted file mode 100644
index 18cfaaf35f..0000000000
--- a/app-backup/b2/files/b2-2.5.0-disable-pip-requirement-installs.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-# These configurations attempt to install missing dependencies using pip, which
-# violates the network sandbox. Instead, we'll manage the dependencies in
-# portage.
---- a/setup.py
-+++ b/setup.py
-@@ -103,7 +103,7 @@ setup(
- # requirements files see:
- # https://packaging.python.org/en/latest/requirements.html
- dependency_links=[],
-- install_requires=requirements,
-+ # install_requires=requirements,
-
- # List additional groups of dependencies here (e.g. development
- # dependencies). You can install these using the following syntax,
-@@ -116,7 +116,7 @@ setup(
- 'sphinxcontrib-plantuml', '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
diff --git a/app-backup/b2/files/b2-3.4.0-disable-pip-requirement-installs.patch b/app-backup/b2/files/b2-3.4.0-disable-pip-requirement-installs.patch
deleted file mode 100644
index 389485167c..0000000000
--- a/app-backup/b2/files/b2-3.4.0-disable-pip-requirement-installs.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-# These configurations attempt to install missing dependencies using pip, which
-# violates the network sandbox. Instead, we'll manage the dependencies in
-# portage.
---- a/setup.py
-+++ b/setup.py
-@@ -104,7 +104,7 @@ setup(
- # requirements files see:
- # https://packaging.python.org/en/latest/requirements.html
- dependency_links=[],
-- 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,
-@@ -110,7 +110,7 @@ setup(
- # dependencies). You can install these using the following syntax,
- # 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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-backup/b2/files/, app-backup/b2/
@ 2024-06-04 19:50 Wolfgang E. Sanyer
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang E. Sanyer @ 2024-06-04 19:50 UTC (permalink / raw
To: gentoo-commits
commit: 444c02085811d174e5da1f6f29132941159eff4d
Author: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com>
AuthorDate: Tue Jun 4 19:50:04 2024 +0000
Commit: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail <DOT> com>
CommitDate: Tue Jun 4 19:50:04 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=444c0208
app-backup/b2: remove old version and patches
Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf <AT> gmail.com>
app-backup/b2/Manifest | 1 -
app-backup/b2/b2-3.9.0.ebuild | 98 ----------------------
app-backup/b2/files/b2-2.5.0-nameclash.patch | 14 ----
...b2-3.9.0-disable-pip-requirement-installs.patch | 23 -----
4 files changed, 136 deletions(-)
diff --git a/app-backup/b2/Manifest b/app-backup/b2/Manifest
index 604ce7bb8..8c82430e8 100644
--- a/app-backup/b2/Manifest
+++ b/app-backup/b2/Manifest
@@ -1,3 +1,2 @@
DIST b2-3.18.0.gh.tar.gz 189572 BLAKE2B 9516d98c7c493791f120c345480f16c8d615cbf425f692fa3fe6688c21ef7d26f14cdd7b44cfb22f2c13a5554166c046eb5fa1712a1e1994fa4e4181399eda84 SHA512 45c784e961b8b650d27e7fe642cacd194462b3c0864fdc1af52e41a70b435c36fbb803e80cfb2c88b8165ea95459a7e62b1995f26caf612110f8c77418cb6669
-DIST b2-3.9.0.tar.gz 131326 BLAKE2B c357831b7c0b4ae6abc4fafb6e09690f8ffe833d2c58c05610ffdbf94ba276f5fa143dd1528f7e7424b6fa96857c8328be993e6ffc60b61c44037bd9ef0b0e96 SHA512 db2fab07e973d6d39db3931dd7f645ee3c9737f4de0ab29327490607d52aad4df2e9049782ef347ee44f80b76dbe91f495ce273285001d49195abe91d5b2cb5d
DIST b2-4.0.1.gh.tar.gz 201737 BLAKE2B 74fb1dd52c8592816c2f2680469c2dd08910f8c25d4a923dd53258f63dd4c38ef77855e6845c41572b8fe52d33ee390a2fac6555016663c450feeb6ff89ed09e SHA512 02a14c2c78fecd1dda536539b5977d6ff45892db0355575209417d7f8471a45ace0d4766dd454c0ba0a65a1ae44e0c698cca38814b0bf36ca5e7a69efec9149a
diff --git a/app-backup/b2/b2-3.9.0.ebuild b/app-backup/b2/b2-3.9.0.ebuild
deleted file mode 100644
index 92990f461..000000000
--- a/app-backup/b2/b2-3.9.0.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_10 python3_11 python3_12 )
-DISTUTILS_USE_PEP517=setuptools
-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"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-PATCHES=(
- "${FILESDIR}/${PN}-2.5.0-nameclash.patch"
- "${FILESDIR}/${PN}-3.9.0-disable-pip-requirement-installs.patch"
-)
-
-RDEPEND="
- $(python_gen_cond_dep '
- >=dev-python/argcomplete-2.1.2[${PYTHON_USEDEP}]
- >=dev-python/arrow-1.0.2[${PYTHON_USEDEP}]
- >=dev-python/b2sdk-1.21.0[${PYTHON_USEDEP}]
- >=dev-python/docutils-0.19[${PYTHON_USEDEP}]
- >=dev-python/phx-class-registry-4.0.6[${PYTHON_USEDEP}]
- >=dev-python/tabulate-0.9.0[${PYTHON_USEDEP}]
- >=dev-python/rst2ansi-0.1.5[${PYTHON_USEDEP}]
- >=dev-python/tqdm-4.65.0[${PYTHON_USEDEP}]
- ')
- $(python_gen_cond_dep '
- >=dev-python/importlib_metadata-3.3.0[${PYTHON_USEDEP}]
- ' pypy3 python3_8)
-"
-
-DEPEND="
- test? (
- $(python_gen_cond_dep '
- >=dev-python/backoff-2.2.1[${PYTHON_USEDEP}]
- >=dev-python/pexpect-4.8.0[${PYTHON_USEDEP}]
- ')
- )
-"
-
-distutils_enable_tests pytest
-
-# - integration tests require an application key and id (which is reasonable)
-# - sync tests require network access
-python_test() {
- epytest \
- --deselect test/integration/test_autocomplete.py::test_autocomplete_b2_bucket_n_file_name \
- --deselect test/integration/test_autocomplete.py::test_autocomplete_b2_commands \
- --deselect test/integration/test_autocomplete.py::test_autocomplete_b2_only_matching_commands \
- --deselect test/integration/test_b2_command_line.py::test_integration \
- --deselect test/integration/test_b2_command_line.py::test_download \
- --deselect test/integration/test_b2_command_line.py::test_basic \
- --deselect test/integration/test_b2_command_line.py::test_bucket \
- --deselect test/integration/test_b2_command_line.py::test_key_restrictions \
- --deselect test/integration/test_b2_command_line.py::test_account \
- --deselect test/integration/test_b2_command_line.py::test_sync_up \
- --deselect test/integration/test_b2_command_line.py::test_sync_up_sse_b2 \
- --deselect test/integration/test_b2_command_line.py::test_sync_up_sse_c \
- --deselect test/integration/test_b2_command_line.py::test_sync_up_no_prefix \
- --deselect test/integration/test_b2_command_line.py::test_sync_down \
- --deselect test/integration/test_b2_command_line.py::test_sync_down_no_prefix \
- --deselect test/integration/test_b2_command_line.py::test_sync_down_sse_c_no_prefix \
- --deselect test/integration/test_b2_command_line.py::test_sync_copy \
- --deselect test/integration/test_b2_command_line.py::test_sync_copy_no_prefix_default_encryption \
- --deselect test/integration/test_b2_command_line.py::test_sync_copy_no_prefix_no_encryption \
- --deselect test/integration/test_b2_command_line.py::test_sync_copy_no_prefix_sse_b2 \
- --deselect test/integration/test_b2_command_line.py::test_sync_copy_no_prefix_sse_c \
- --deselect test/integration/test_b2_command_line.py::test_sync_copy_sse_c_single_bucket \
- --deselect test/integration/test_b2_command_line.py::test_sync_long_path \
- --deselect test/integration/test_b2_command_line.py::test_default_sse_b2 \
- --deselect test/integration/test_b2_command_line.py::test_sse_b2 \
- --deselect test/integration/test_b2_command_line.py::test_sse_c \
- --deselect test/integration/test_b2_command_line.py::test_license[True] \
- --deselect test/integration/test_b2_command_line.py::test_license[False] \
- --deselect test/integration/test_b2_command_line.py::test_file_lock \
- --deselect test/integration/test_b2_command_line.py::test_profile_switch \
- --deselect test/integration/test_b2_command_line.py::test_replication_basic \
- --deselect test/integration/test_b2_command_line.py::test_replication_setup \
- --deselect test/integration/test_b2_command_line.py::test_replication_monitoring \
- --deselect test/integration/test_b2_command_line.py::test_enable_file_lock_first_retention_second \
- --deselect test/integration/test_b2_command_line.py::test_enable_file_lock_and_set_retention_at_once \
- --deselect test/integration/test_b2_command_line.py::test_cut \
- --deselect test/unit/test_console_tool.py::TestConsoleTool::test_sync_exclude_if_modified_after_exact \
- --deselect test/unit/test_console_tool.py::TestConsoleTool::test_sync_exclude_if_modified_after_in_range
-}
-
-pkg_postinst() {
- elog "The b2 executable has been renamed to backblaze2 in order to"
- elog "avoid a name clash with b2 from boost-build"
-}
diff --git a/app-backup/b2/files/b2-2.5.0-nameclash.patch b/app-backup/b2/files/b2-2.5.0-nameclash.patch
deleted file mode 100644
index 507392ae1..000000000
--- a/app-backup/b2/files/b2-2.5.0-nameclash.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-# boost installs an executable named b2, which clashes with the default name for
-# this package. This package changes the executable name to avoid this clash.
-diff --git a/setup.py b/setup.py
-index f9c1bbe..76ca28f 100644
---- a/setup.py
-+++ b/setup.py
-@@ -135,6 +135,6 @@ setup(
- # "scripts" keyword. Entry points provide cross-platform support and allow
- # pip to create the appropriate form of executable for the target platform.
- entry_points={
-- 'console_scripts': ['b2=b2.console_tool:main'],
-+ 'console_scripts': ['backblaze2=b2.console_tool:main'],
- },
- )
diff --git a/app-backup/b2/files/b2-3.9.0-disable-pip-requirement-installs.patch b/app-backup/b2/files/b2-3.9.0-disable-pip-requirement-installs.patch
deleted file mode 100644
index e9ec96911..000000000
--- a/app-backup/b2/files/b2-3.9.0-disable-pip-requirement-installs.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-# These configurations attempt to install missing dependencies using pip, which
-# violates the network sandbox. Instead, we'll manage the dependencies in
-# portage.
---- a/setup.py
-+++ b/setup.py
-@@ -104,7 +104,7 @@
- # requirements files see:
- # https://packaging.python.org/en/latest/requirements.html
- dependency_links=[],
-- 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,
-@@ -114,7 +114,7 @@
- 'doc': read_requirements('doc'),
- 'license': read_requirements('license'),
- },
-- 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
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-06-04 19:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-04 19:50 [gentoo-commits] repo/proj/guru:dev commit in: app-backup/b2/files/, app-backup/b2/ Wolfgang E. Sanyer
-- strict thread matches above, loose matches on Subject: below --
2024-04-03 2:40 Wolfgang E. Sanyer
2024-04-03 2:40 Wolfgang E. Sanyer
2021-01-04 2:15 Wolfgang E. Sanyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox