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 5A939158099 for ; Fri, 1 Dec 2023 05:39:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96B932BC021; Fri, 1 Dec 2023 05:39:03 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7E2142BC021 for ; Fri, 1 Dec 2023 05:39:03 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A3AA2335CB4 for ; Fri, 1 Dec 2023 05:39:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 07767143D for ; Fri, 1 Dec 2023 05:39:01 +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: <1701405237.a82cdb356dfb40584328dc5a8532dd9b7e00cabb.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/boto3/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/boto3/Manifest dev-python/boto3/boto3-1.33.5.ebuild X-VCS-Directories: dev-python/boto3/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a82cdb356dfb40584328dc5a8532dd9b7e00cabb X-VCS-Branch: master Date: Fri, 1 Dec 2023 05:39:01 +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: 47d89752-7410-464d-906c-38453e65e094 X-Archives-Hash: 7edfe550507f9d9c9b141c1d63c19220 commit: a82cdb356dfb40584328dc5a8532dd9b7e00cabb Author: Michał Górny gentoo org> AuthorDate: Fri Dec 1 04:33:57 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Dec 1 04:33:57 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a82cdb35 dev-python/boto3: Bump to 1.33.5 Signed-off-by: Michał Górny gentoo.org> dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.33.5.ebuild | 64 ++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index b8992852b4d3..f79951790614 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -5,3 +5,4 @@ DIST boto3-1.33.0.gh.tar.gz 748113 BLAKE2B 0db5a6b8bfb10854374b178c885a8e8383a65 DIST boto3-1.33.1.gh.tar.gz 748452 BLAKE2B 59e7c28d59c69e6ab440740e85f6ed016d1df7078635cfab4616095182f4ad7bba5bcc01a9484f97a8a0388f2ac5d9b53ab595431a8117f9d4731954df63149f SHA512 95996e4005d33e85de8f15889e69c4725943b5a0dd74ee97ae82c282b9da68cdbfcbd494b66c4adca5b530eefbe5505b963f9fcb9e97bd78bc74525c78708818 DIST boto3-1.33.2.gh.tar.gz 749706 BLAKE2B b83b6bfc2953c5d353e9e245da99deea9e6428c8c5e3fa3041a249b2a34981b329ef7a2fbf272066b2a11c8bb707c9a5e1e2b040e070958062080979a1bd0a16 SHA512 245343fb8a3f5adacfa4b379152feff70adc7d99487dae1cc793f5531f83cd06b7ef40200b9dcac91ad936113a13dbe6cdf1add2b4b94922a83d3e979a226698 DIST boto3-1.33.4.gh.tar.gz 751698 BLAKE2B 71510f09eb944b551451e0ed4fa9e4216f1ffc06aef6752a5d179228b49f3c2e81949fe9f615aaf5b7196bd9697ef319d29d3299c897be05a67d55c02a4c9455 SHA512 450377581351f78a43027ab9c50d543d714bc590eab26833c62df88b2d7b5a7da2b79b5ebb276836688e1dde09beef0769a80cc4ad30772a5c515636620d36b9 +DIST boto3-1.33.5.gh.tar.gz 752183 BLAKE2B c94996b306fece564dab4601223776f8c9ae7a3f038c0b762581cfd681cce8378c95c9aaa66c95487968582bf07343e173d070d5a1061e1aae29335ce04f13a9 SHA512 07c0f533a0b7cb6761a4f2f6608f75f8053cfba9fa4550732bbc2ef79bfffd266222b9cf4aa21e2ed2a28f9ac07b23543d998202d5e03b985cf7272d4996cdc7 diff --git a/dev-python/boto3/boto3-1.33.5.ebuild b/dev-python/boto3/boto3-1.33.5.ebuild new file mode 100644 index 000000000000..8123b4a12a79 --- /dev/null +++ b/dev-python/boto3/boto3-1.33.5.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 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 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.8.2[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # 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_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +}