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 721D615800A for ; Thu, 24 Aug 2023 04:30:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 751BA2BC01C; Thu, 24 Aug 2023 04:30:50 +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 5F02A2BC01C for ; Thu, 24 Aug 2023 04:30:50 +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 682F73412E2 for ; Thu, 24 Aug 2023 04:30:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AC36E1077 for ; Thu, 24 Aug 2023 04:30:47 +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: <1692851441.9c52c33128aa8c12ed2a8875d76dc63ccd35a52c.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.28.33.ebuild X-VCS-Directories: dev-python/boto3/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9c52c33128aa8c12ed2a8875d76dc63ccd35a52c X-VCS-Branch: master Date: Thu, 24 Aug 2023 04:30:47 +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: b29c20bb-9f50-49e9-94c4-e5b48bb5ab7a X-Archives-Hash: 7e9826a348772186284a1c2d9e5cc5df commit: 9c52c33128aa8c12ed2a8875d76dc63ccd35a52c Author: Michał Górny gentoo org> AuthorDate: Thu Aug 24 03:05:38 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Aug 24 04:30:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c52c331 dev-python/boto3: Bump to 1.28.33 Signed-off-by: Michał Górny gentoo.org> dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.28.33.ebuild | 66 +++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index f2d8ed03efdb..e22477b2b753 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -8,3 +8,4 @@ DIST boto3-1.28.29.gh.tar.gz 689353 BLAKE2B 6d8816cd1857b2c9b968730488ccc6822a72 DIST boto3-1.28.30.gh.tar.gz 689629 BLAKE2B 03081369f995ae470717c32ffd0e80c1bac6677467cd4af57b4a7e19d5c0249c825a2db787d5e6d7319b1af808936043e07b1d5ff13eb413125478710a18a416 SHA512 ace77ea7898cd7baa47c256affe553bbec2410f0143caf3b06311d66c306dfe2d4ce8b47820d6c8ceb3f4a7a195d94610b46db2bb0ed2e3716dcee99b8841468 DIST boto3-1.28.31.gh.tar.gz 690064 BLAKE2B 409dcdb3c4a0ee2bb32d8a68ba2779d347b0686076c9bc922320b370def9faa6cde964279d8fb2d885f547299e1358c05db80688fdf953ddf70030eb282ebed9 SHA512 6a1de5568c5663a9f37ae991ae072fbfa7fcafbfa5786bfcd4335c6dcdb1eadee8050ead64251cc687b8f954b6d3a79fd3bef0b1fedd4cd4fcb2d63f405a0323 DIST boto3-1.28.32.gh.tar.gz 690385 BLAKE2B 2d5ff74dc8f27d43329796910c6810257f997780afae1fdaaa9934853735244512464dbe7eb882376720e4c76bb2ec2fd9e56673f7677dc9a88d6a838fe2d2a9 SHA512 e7faa2e40b8fbb5e69070277fa9ee50000ab94f2540f9ca6e781c61e99d674e3039bc7b16dd3e196dc2876dc8149b6513a0d8c8c888c96aeef13abb3e7617f1e +DIST boto3-1.28.33.gh.tar.gz 690686 BLAKE2B 572f5aa0b9a71e39a62fccdce84fa359e0b96d196d983965d335de2299e734239586bfde43c5f48463afddace7d7a91139cabc2737a5b4f3b40684c13112f267 SHA512 2bb4375f5c3d85283a10ff9325b8688ab1e2aceb7be8cd255bc2d054c75eda54df320a85eb4910e0119633e8977158f216df2fdb373c9bb5df8eb7cb4389a4fd diff --git a/dev-python/boto3/boto3-1.28.33.ebuild b/dev-python/boto3/boto3-1.28.33.ebuild new file mode 100644 index 000000000000..ec9fc93bf23a --- /dev/null +++ b/dev-python/boto3/boto3-1.28.33.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..12} ) + +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)" --dist=worksteal +}