From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 047DF158018 for ; Fri, 1 Oct 2021 20:01:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EBA5AE086E; Fri, 1 Oct 2021 20:01:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D1D00E086E for ; Fri, 1 Oct 2021 20:01:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9AD8F342B85 for ; Fri, 1 Oct 2021 20:01:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E1DDE79 for ; Fri, 1 Oct 2021 20:01:36 +0000 (UTC) From: "Wolfgang E. Sanyer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Wolfgang E. Sanyer" Message-ID: <1633118489.34f9d34b57c47f538802422753f155531ef8308d.ezzieyguywuf@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/b2sdk/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/b2sdk/Manifest dev-python/b2sdk/b2sdk-1.12.0.ebuild X-VCS-Directories: dev-python/b2sdk/ X-VCS-Committer: ezzieyguywuf X-VCS-Committer-Name: Wolfgang E. Sanyer X-VCS-Revision: 34f9d34b57c47f538802422753f155531ef8308d X-VCS-Branch: dev Date: Fri, 1 Oct 2021 20:01:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2ab4762b-f541-4168-afe5-a052349fd1a7 X-Archives-Hash: dccd8a854a8cf770f19c962e3f0d2186 commit: 34f9d34b57c47f538802422753f155531ef8308d Author: Wolfgang E. Sanyer gmail com> AuthorDate: Fri Oct 1 19:18:30 2021 +0000 Commit: Wolfgang E. Sanyer gmail com> CommitDate: Fri Oct 1 20:01:29 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=34f9d34b dev-python/b2sdk: bump to 1.12.0 Signed-off-by: Wolfgang E. Sanyer gmail.com> dev-python/b2sdk/Manifest | 1 + dev-python/b2sdk/b2sdk-1.12.0.ebuild | 48 ++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-python/b2sdk/Manifest b/dev-python/b2sdk/Manifest index 245834d91..38390b803 100644 --- a/dev-python/b2sdk/Manifest +++ b/dev-python/b2sdk/Manifest @@ -1 +1,2 @@ +DIST b2sdk-1.12.0.tar.gz 273412 BLAKE2B e67cf20a6d7277c3d2990e6f6c46cf9df253b3a46a8c8672cbdc810ca851e8c0cd6b6033b9034ce00283a577e2838cdb0c15410b12546f87c480581b5920074b SHA512 4d5eff1f9efed551c474a472a4c531b67b3356e959dde1d1058aad797abd5fd160781700753019d62ac2f05bd711bf1e6a0b15c0f5f86fd93bab17347a83cb13 DIST b2sdk-1.8.0.tar.gz 250511 BLAKE2B dad792589148fc3cad91fed1aeb43e02afca6f67f35e2f8239510606d601067abbdd36a3f0b2b2b8264697004d548d8077c999437f027c058072d7383d13c48c SHA512 ee1e1987f127835b2016bba9485c7a9d9503b4a675662a7364310fec7c963214805ed6bc15b3a1f07477f202bbe06325f480997eb202bcdfa1cb24f006d0a900 diff --git a/dev-python/b2sdk/b2sdk-1.12.0.ebuild b/dev-python/b2sdk/b2sdk-1.12.0.ebuild new file mode 100644 index 000000000..dafe65efb --- /dev/null +++ b/dev-python/b2sdk/b2sdk-1.12.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +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.8.0-disable-requirement-installation.patch" +) + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/arrow-0.8.0[${PYTHON_USEDEP}] + >=dev-python/logfury-0.1.2[${PYTHON_USEDEP}] + >=dev-python/requests-2.9.1[${PYTHON_USEDEP}] + >=dev-python/tqdm-4.5.0[${PYTHON_USEDEP}] + ') + $(python_gen_cond_dep ' + dev-python/importlib_metadata[${PYTHON_USEDEP}] + ' pypy3 python3_7) +" + +distutils_enable_tests pytest + +BDEPEND+=" test? ( + $(python_gen_cond_dep ' + >=dev-python/pytest-mock-3.3.1[${PYTHON_USEDEP}] + dev-python/pytest-lazy-fixture[${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 +}