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 9C97415ACFB for ; Wed, 26 Apr 2023 05:36:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AEFF3E0876; Wed, 26 Apr 2023 05:36:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 8B00AE0876 for ; Wed, 26 Apr 2023 05:36:48 +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 8AE50335DE6 for ; Wed, 26 Apr 2023 05:36:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D75C6A49 for ; Wed, 26 Apr 2023 05:36:45 +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: <1682487387.53bf9a49d104cf9ff23038e1dd2a7e3396888c55.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.26.120.ebuild X-VCS-Directories: dev-python/boto3/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 53bf9a49d104cf9ff23038e1dd2a7e3396888c55 X-VCS-Branch: master Date: Wed, 26 Apr 2023 05:36:45 +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: 618de3b0-92db-4756-981f-c999670fc342 X-Archives-Hash: 319626d118153bf5735f09b88e5600ee commit: 53bf9a49d104cf9ff23038e1dd2a7e3396888c55 Author: Michał Górny gentoo org> AuthorDate: Wed Apr 26 04:04:49 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Apr 26 05:36:27 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53bf9a49 dev-python/boto3: Bump to 1.26.120 Signed-off-by: Michał Górny gentoo.org> dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.26.120.ebuild | 66 ++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 902167d832e8..a65918522d1c 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,3 +1,4 @@ DIST boto3-1.26.114.gh.tar.gz 637000 BLAKE2B 06f74ac214f4c2161ebe464e1c8fc42c74cb4429110c8ce979db3962fde5240c62ac94b4b9ca002fff89a36659a8830265ac693bd9522082b8cae21108e16cf9 SHA512 324ea177c8ee98a0935d1935f08b31f1640eedf8a7dd19f2bc958f6c1c2fb9deea29f0482b1f4c903d70860a93274dd0d70eafe0564116361daf5e7df51abd26 DIST boto3-1.26.118.gh.tar.gz 639685 BLAKE2B 45ba98f4a1b72c45caef8f04e1b5f5fe5a35e8e8fd4248f77889f780e9909caebb3d5715d0de5bb5f25ee353352e0860745643ddee503ffb8d1f99c8e42658c6 SHA512 cd62f9a9b087db2b2805e672c9e938da230390980d2163e06549b03cc3f009dbdad1e80205c392c24af5c4d98cefe3f2354244e9e9d20d706a8c69e34caa07ea DIST boto3-1.26.119.gh.tar.gz 640125 BLAKE2B c2a1e954c09b4322d6d369205a11013e5b84786cf3c1193ecb80792f215eeb9c6d96fd56c99fd2845c25bc8ab1a99a8f075dad142be79d2e5eb57f0bd20a7942 SHA512 21e3f5750d91de981cbfd0d7cd4dd6a7bacae56391544889ab683e686c2cdb843e1c67d67f62dfe1465e46eb59efe503eb4d626241c2372988bf40d5cfc66f23 +DIST boto3-1.26.120.gh.tar.gz 639240 BLAKE2B 835fb02e44ccdb7d2b7aa2604d3605db9efa454ca455a52e67861b218523acc6737260c9d860639195a4d4181f4be9eaab0acf2b80e33416274cd99d65a74c80 SHA512 426aed9ba45cdc0d584fa0a571104b6f17dfb32c78da17a85b0dbe9f6c77c84a70533b4affa4728758a9d3a339d5d72b54186eb08dc2bd319b3d1e75374adbd0 diff --git a/dev-python/boto3/boto3-1.26.120.ebuild b/dev-python/boto3/boto3-1.26.120.ebuild new file mode 100644 index 000000000000..2a4a7643203e --- /dev/null +++ b/dev-python/boto3/boto3-1.26.120.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)" +}