mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
dev-python/b2sdk: bump to 1.17.2
Signed-off-by: Wolfgang E. Sanyer <ezzieyguywuf@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
59
dev-python/b2sdk/b2sdk-1.17.2.ebuild
Normal file
59
dev-python/b2sdk/b2sdk-1.17.2.ebuild
Normal file
@@ -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 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
|
||||
}
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user