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 5DDD615838C for ; Sat, 20 Jan 2024 07:09:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8DB4E29DB; Sat, 20 Jan 2024 07:09:24 +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 8BC6BE29DB for ; Sat, 20 Jan 2024 07:09: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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8DC8534328A for ; Sat, 20 Jan 2024 07:09:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AB42514B5 for ; Sat, 20 Jan 2024 07:09:21 +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: <1705729290.0376eb24b8a1b1a7c111e373c301e62fac816aeb.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.23.ebuild X-VCS-Directories: dev-python/boto3/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0376eb24b8a1b1a7c111e373c301e62fac816aeb X-VCS-Branch: master Date: Sat, 20 Jan 2024 07:09:21 +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: 14265560-59ce-4c9d-a7cc-e2d7cae25d8b X-Archives-Hash: e85ace00910336aefb5fc25d8c9484ce commit: 0376eb24b8a1b1a7c111e373c301e62fac816aeb Author: Michał Górny gentoo org> AuthorDate: Sat Jan 20 05:41:30 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jan 20 05:41:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0376eb24 dev-python/boto3: Bump to 1.34.23 Signed-off-by: Michał Górny gentoo.org> dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.34.23.ebuild | 64 +++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 03d8a073cfe1..4caae24481d8 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -5,3 +5,4 @@ DIST boto3-1.34.19.gh.tar.gz 764452 BLAKE2B c0388452728e54cdded0a9944e37e6725e81 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 +DIST boto3-1.34.23.gh.tar.gz 766609 BLAKE2B d00b010c84c41695f02df58a51d483162af1ba770263218b6465132fdb104424ea8dd7c8d96e278c50700aa3c90d2321a21d31e9ae3b42712aff31a1a5c4b65d SHA512 4f1c0cafb3d511a23c07b97ed2b41369299d0a4819e0bf103288c7b44074c93bc55b729a2979b133a50d390660078a0bb0e251dcd1523244fdbe06cae6ef037a diff --git a/dev-python/boto3/boto3-1.34.23.ebuild b/dev-python/boto3/boto3-1.34.23.ebuild new file mode 100644 index 000000000000..037a85ad96ee --- /dev/null +++ b/dev-python/boto3/boto3-1.34.23.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} +}