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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E737415802E for ; Tue, 25 Jun 2024 08:01:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A82582BC019; Tue, 25 Jun 2024 08:01:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F3752BC019 for ; Tue, 25 Jun 2024 08:01:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 66CA3343026 for ; Tue, 25 Jun 2024 08:01:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 043261D58 for ; Tue, 25 Jun 2024 08:01:55 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1719302504.c8ecb32f93194d93ac851b25131107896283bf3c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/s3transfer/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/s3transfer/Manifest dev-python/s3transfer/s3transfer-0.10.2.ebuild X-VCS-Directories: dev-python/s3transfer/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c8ecb32f93194d93ac851b25131107896283bf3c X-VCS-Branch: master Date: Tue, 25 Jun 2024 08:01:55 +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: bb4a3f64-1cf7-40d9-84ee-02bc07c14623 X-Archives-Hash: 8aaf4b44688a5a897a3a204947ad2c62 commit: c8ecb32f93194d93ac851b25131107896283bf3c Author: Michał Górny gentoo org> AuthorDate: Tue Jun 25 04:26:16 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jun 25 08:01:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8ecb32f dev-python/s3transfer: Bump to 0.10.2 Signed-off-by: Michał Górny gentoo.org> dev-python/s3transfer/Manifest | 1 + dev-python/s3transfer/s3transfer-0.10.2.ebuild | 43 ++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/s3transfer/Manifest b/dev-python/s3transfer/Manifest index 27c44751d0fc..4b8562589831 100644 --- a/dev-python/s3transfer/Manifest +++ b/dev-python/s3transfer/Manifest @@ -1 +1,2 @@ DIST s3transfer-0.10.1.tar.gz 143308 BLAKE2B cab8c94ed4ea4277583a902a6a943157cdaf5f742842e1c1a24f7f90ccb6e07dce0c50aa66b500097ad17f06ff398c90c73dadb3959f8317dbf31573c5ff2a1f SHA512 f18a5f655b354cba1c745bba699b8abdeae406669b0dded249925e4189c1d849bc0966ddc415ca25562a7214fbf7979553a67b4d993d054bc5237e301414f0a1 +DIST s3transfer-0.10.2.tar.gz 144095 BLAKE2B 6fc9af9bc33a115d03253441881710aa72e9b4df3e6fac1fa49b069ec6f5e19198b464f0d7fd2bae63229fd6b54cb0c8673a6e9c5a9642010f3b725d355b5992 SHA512 6d11a3a79042070b764042d502878854c18b641723a8e1fb0b8d90f06bd6100ac295350ab3a91b23acd742bb69da18bfc98e9b834f71f57d58548296de0c8d75 diff --git a/dev-python/s3transfer/s3transfer-0.10.2.ebuild b/dev-python/s3transfer/s3transfer-0.10.2.ebuild new file mode 100644 index 000000000000..e31fb9539e6e --- /dev/null +++ b/dev-python/s3transfer/s3transfer-0.10.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="An Amazon S3 Transfer Manager" +HOMEPAGE=" + https://github.com/boto/s3transfer/ + https://pypi.org/project/s3transfer/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-1.33.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + distutils-r1_src_prepare +} + +python_test() { + epytest tests/{unit,functional} +}