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 6E0EA15838C for ; Fri, 19 Jan 2024 05:10:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19D04E2B57; Fri, 19 Jan 2024 05:10:25 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E5B31E2B51 for ; Fri, 19 Jan 2024 05:10:24 +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 05BEE343347 for ; Fri, 19 Jan 2024 05:10:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DFF4614BD for ; Fri, 19 Jan 2024 05:10:20 +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: <1705638478.f3f4601ced13808ac174f19b92cfa6fe5cdbc443.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.34.22.ebuild X-VCS-Directories: dev-python/boto3/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f3f4601ced13808ac174f19b92cfa6fe5cdbc443 X-VCS-Branch: master Date: Fri, 19 Jan 2024 05:10:20 +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: 0a6e75b1-fcaf-4669-8734-f5664b90d5c9 X-Archives-Hash: 22ba0480132edfd3daaffcc7b6aaf534 commit: f3f4601ced13808ac174f19b92cfa6fe5cdbc443 Author: Michał Górny gentoo org> AuthorDate: Fri Jan 19 04:27:58 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jan 19 04:27:58 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3f4601c dev-python/boto3: Bump to 1.34.22 Signed-off-by: Michał Górny gentoo.org> dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.34.22.ebuild | 64 +++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 0c94fbb84052..03d8a073cfe1 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,3 +4,4 @@ DIST boto3-1.34.18.gh.tar.gz 765458 BLAKE2B 29414e20fa034f63c899b6f2d5460d8973dd DIST boto3-1.34.19.gh.tar.gz 764452 BLAKE2B c0388452728e54cdded0a9944e37e6725e8150b242c8e91ce812aed29a1316ce59e880d5e466e956d9c3dafcea99996801d90a1bfdef2b4eed9852f6dd861f0b SHA512 bad2a283c7c829f1de661c19058b963bfe2dca5e71513729f6099a4102d130a48e5095e44877d29e73308c8104f667229ba402503d4eba287ae975f4cef18c29 DIST boto3-1.34.20.gh.tar.gz 766685 BLAKE2B e68cb60bdbec6ccd4e5ec1c1ae116c0cdb952862902c5e38788ea735083f515a89923b7056f862cffdd40bd967ca717a2387537f1e17bb0f76a9bf49ecb39fc8 SHA512 a2c8bc7f09571f27c45595c15794a8125a23317a785d7e8ea296455b2f63e8375fd818906bf28c6788ff65dd6d40a2abd28aaf8ef4a22fe80a56d01c6464585b DIST boto3-1.34.21.gh.tar.gz 766816 BLAKE2B 79e9c81ce1cfd16b0f8fc4431c2ebba35cdca7e06b48a608986bd4a8aabb08d46a23779e7243c20d2905a1699d40d45062b3450600fb620a1eadeb460c93615b SHA512 3d2176886d0f2da0207b479c71480d6e02f55d8b511c5b12f935d5c4a799911601d5519f5daf629cd002a93c508d323647af06201fd486a5b355192e17bc1096 +DIST boto3-1.34.22.gh.tar.gz 766081 BLAKE2B 34e4eae8387e27acb8eb9a6518ed025b18fea03d900b1b07646cbf16ff47e50a1cbda9b1b36c68a70f2961c6f05020cdc5b8956bac2a860066cd4d498981df59 SHA512 7a7a5431b2410303688e76c8e48561606d173757ed0fc98d1b0ef7511927f45b8fa9eab9d9baaad04c1c705deddc330d422cbc83bde03b82b194ee55fe3be300 diff --git a/dev-python/boto3/boto3-1.34.22.ebuild b/dev-python/boto3/boto3-1.34.22.ebuild new file mode 100644 index 000000000000..037a85ad96ee --- /dev/null +++ b/dev-python/boto3/boto3-1.34.22.ebuild @@ -0,0 +1,64 @@ +# 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 + +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.10.0[${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} +}