From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1535098-garchives=archives.gentoo.org@lists.gentoo.org>
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 8555C15800D
	for <garchives@archives.gentoo.org>; Thu,  6 Jul 2023 03:31:10 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 61CB1E0870;
	Thu,  6 Jul 2023 03:31:09 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(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 47913E0870
	for <gentoo-commits@lists.gentoo.org>; Thu,  6 Jul 2023 03:31:09 +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 EB00F341002
	for <gentoo-commits@lists.gentoo.org>; Thu,  6 Jul 2023 03:31:07 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F7C5137
	for <gentoo-commits@lists.gentoo.org>; Thu,  6 Jul 2023 03:31:06 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
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" <mgorny@gentoo.org>
Message-ID: <1688614252.03151a8c3c5120227d5301307941f4efb0ad586c.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.27.1.ebuild
X-VCS-Directories: dev-python/boto3/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: 03151a8c3c5120227d5301307941f4efb0ad586c
X-VCS-Branch: master
Date: Thu,  6 Jul 2023 03:31:06 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 52e923d8-c48c-4109-ba1b-f5cbb9c98d20
X-Archives-Hash: f7959e389eaa0802a0846a3613066032

commit:     03151a8c3c5120227d5301307941f4efb0ad586c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  6 02:37:00 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul  6 03:30:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03151a8c

dev-python/boto3: Bump to 1.27.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/boto3/Manifest            |  1 +
 dev-python/boto3/boto3-1.27.1.ebuild | 66 ++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest
index 2e441ca2c95e..d565cc9b3755 100644
--- a/dev-python/boto3/Manifest
+++ b/dev-python/boto3/Manifest
@@ -5,3 +5,4 @@ DIST boto3-1.26.163.gh.tar.gz 670006 BLAKE2B c2bcd2a3a4aaf1f2f5b69a605971ee62a09
 DIST boto3-1.26.164.gh.tar.gz 670774 BLAKE2B d5a1f93ac403e738b754a915f6d64f16c083aa604cc535d33ca00c5484b3ff99a64b80173b0b1d60222e5cc797039d4135a767dab1284b0b16e913e2afcf00aa SHA512 165b779c667f7d6f53c4849e215425f9cd717923df582215a6966b0f30b81014c8e804d24072623c8210fae1c702c38c9331cc6d90903d2d270a9060318f3c08
 DIST boto3-1.26.165.gh.tar.gz 671248 BLAKE2B b9c390bb2a32fa75fc48258137f04961d54c269f78ac8a87ef5d5eb24aada8708c341f89051b8c8e5d306b7e0c59ebc128659bcf89e071c479edf9cb7b959a5c SHA512 734df5b6301eca682c0ae1f6bdda3024ed7171d3ed9952f24d177454fb19653b9bd573d9b9a09f44a9324163190620c72623f1f7f20706af42eecf5026e9f853
 DIST boto3-1.27.0.gh.tar.gz 671636 BLAKE2B 1a3927db8c67b066108b03a9018522b73f6b2ee95f7aaaad278a3e04c0e785764148e6b86ab63804acc035112df13203aa853f435d95e0a647ce8a83f4ca3504 SHA512 11a438c2cd9d55bada47575b784f151ff4ae1ad9520c6cbda2edfc2a0b2cfefbac231c11b977bcfbe031d0fc813a663b59cd29a04aeb6376fb9d4869d69feed7
+DIST boto3-1.27.1.gh.tar.gz 672067 BLAKE2B 63bc6fcb40c3623d84cdd5e21cb656f7ba0335e06c45c7ffe652bece36f7bbf0ddaf4d52b98625d31851b63f646abecf79eac727a35a31e6f58410def3be4289 SHA512 e3b339459a2ae221d8aefb4c540bfae6ec9fc5ec27b623c66d894aef5e50873b57ed6dd12b356b32a4c30aef3e8d98c4c43bbbb629033c850604ef2bfa6cb715

diff --git a/dev-python/boto3/boto3-1.27.1.ebuild b/dev-python/boto3/boto3-1.27.1.ebuild
new file mode 100644
index 000000000000..2a4a7643203e
--- /dev/null
+++ b/dev-python/boto3/boto3-1.27.1.ebuild
@@ -0,0 +1,66 @@
+# 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..11} )
+
+inherit distutils-r1 multiprocessing
+
+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"
+
+	# botocore is x.(y+3).z
+	BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
+fi
+
+RDEPEND="
+	>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
+	>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
+	>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		dev-python/mock[${PYTHON_USEDEP}]
+		dev-python/pytest-xdist[${PYTHON_USEDEP}]
+	)
+"
+
+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() {
+	epytest tests/{functional,unit} -n "$(makeopts_jobs)"
+}