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 38621158018 for ; Fri, 1 Oct 2021 20:24:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D61BE0864; Fri, 1 Oct 2021 20:24:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 69F7CE0864 for ; Fri, 1 Oct 2021 20:24:01 +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 56FB1342B59 for ; Fri, 1 Oct 2021 20:24:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC02379 for ; Fri, 1 Oct 2021 20:23:58 +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: <1633119794.d65c26e51fdae04e7195077cb71f9eeaa1ce510d.ezzieyguywuf@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-backup/b2/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-backup/b2/Manifest app-backup/b2/b2-3.0.3.ebuild X-VCS-Directories: app-backup/b2/ X-VCS-Committer: ezzieyguywuf X-VCS-Committer-Name: Wolfgang E. Sanyer X-VCS-Revision: d65c26e51fdae04e7195077cb71f9eeaa1ce510d X-VCS-Branch: dev Date: Fri, 1 Oct 2021 20:23:58 +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: 887349b0-ddcd-4cb6-a6fe-9add26205439 X-Archives-Hash: 04a30b0fd5251b07e6d3d37037520501 commit: d65c26e51fdae04e7195077cb71f9eeaa1ce510d Author: Wolfgang E. Sanyer gmail com> AuthorDate: Fri Oct 1 20:23:14 2021 +0000 Commit: Wolfgang E. Sanyer gmail com> CommitDate: Fri Oct 1 20:23:14 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d65c26e5 app-backup/b2: bump to 3.0.3 Signed-off-by: Wolfgang E. Sanyer gmail.com> app-backup/b2/Manifest | 1 + app-backup/b2/b2-3.0.3.ebuild | 58 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/app-backup/b2/Manifest b/app-backup/b2/Manifest index 79c31e99d..9e0338705 100644 --- a/app-backup/b2/Manifest +++ b/app-backup/b2/Manifest @@ -1 +1,2 @@ DIST b2-2.5.0.tar.gz 72245 BLAKE2B 321114925d594af631a2d489b46a45d35113f561c19223ba62a2777c3c4d578a5ec494c86f35ea4574f81c569de18eba1622a0a8af83379a61ac1341f9050597 SHA512 f9377bd1bbc61d4297afc4080173695df7d3f8461ba0b3c47c408e5cdfd195542a81a4110316d132dab69a90ab6e0a9bf2b08b7b2e4317d29ce8e49d327819ca +DIST b2-3.0.3.tar.gz 78692 BLAKE2B b216b40e7d3bb0a7b5564418ea463bf9e143a0f1a1408ebe2312869943e5bfbae175afa75aadbe203c05b71026f0fc8fa8f6031b7c3a636ba9b9b6017e2e17be SHA512 61ef1dd1d406f04b50b0d8bb3df921127d996465d53f00dc4cf77d5b6e63ce15fdb9a2d1fc5d7d1c01e734c93fe3e4fe316ca43f420aa6c31f7e3d88e134b659 diff --git a/app-backup/b2/b2-3.0.3.ebuild b/app-backup/b2/b2-3.0.3.ebuild new file mode 100644 index 000000000..65ae71bbd --- /dev/null +++ b/app-backup/b2/b2-3.0.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 + +DESCRIPTION="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}/${PN}-2.5.0-nameclash.patch" + "${FILESDIR}/${PN}-2.5.0-disable-pip-requirement-installs.patch" +) + +RDEPEND=" + $(python_gen_cond_dep ' + >=dev-python/arrow-0.8.0[${PYTHON_USEDEP}] + >=dev-python/b2sdk-1.12.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" +}