mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
app-backup/b2: drop 3.4.0
Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user