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 D3041158013 for ; Thu, 14 Dec 2023 08:28:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 79B802BC029; Thu, 14 Dec 2023 08:28:35 +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 5E0802BC029 for ; Thu, 14 Dec 2023 08:28:35 +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 58D0C33BE3B for ; Thu, 14 Dec 2023 08:28:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9DC52125F for ; Thu, 14 Dec 2023 08:28:32 +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: <1702542508.63dd14e3e7b2d4566566ab2584ee2640ff453a85.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.0.ebuild X-VCS-Directories: dev-python/boto3/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 63dd14e3e7b2d4566566ab2584ee2640ff453a85 X-VCS-Branch: master Date: Thu, 14 Dec 2023 08:28:32 +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: d8fb0466-b89f-401c-9820-d2f24c5b26e9 X-Archives-Hash: 8885c26da648eadaf8cfe13e0eae1326 commit: 63dd14e3e7b2d4566566ab2584ee2640ff453a85 Author: Michał Górny gentoo org> AuthorDate: Thu Dec 14 07:44:14 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Dec 14 08:28:28 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63dd14e3 dev-python/boto3: Bump to 1.34.0 Signed-off-by: Michał Górny gentoo.org> dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.34.0.ebuild | 64 ++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 7592cedc476d..b3b1904223ad 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,3 +3,4 @@ DIST boto3-1.33.11.gh.tar.gz 754430 BLAKE2B f206c6eeb9859af85f09bb48298b941fc0c9 DIST boto3-1.33.12.gh.tar.gz 754822 BLAKE2B d21644445c7d95e8aa0ea858cc4cdbe3c88754f1c16b43945e608243b11f7ea557dadf593a8281d895b432eb2f56328c32ce1366086566e2b6b832472757291e SHA512 6e6977e61ceddb1fc4bf7d8c7ba5fbcdcd6028d4aea04327289094d609102e33755f7420eeccc2bbd8e0232ee975d2f2169625c6ff5c98c9428066ca9361cbc5 DIST boto3-1.33.13.gh.tar.gz 754864 BLAKE2B 4dc2900b26610ad10361885ffbdcf2ca55b73a1d665bb2c19f98d0afae619b8cb885d3d5b5fa8e1cda299aab8ac0ccd66a9c85a765c0eeb4fdac2b85d75e7617 SHA512 40489e66fd591c05d58312015a91b5d42485af9d643db163b725a857438ca6b2306b237fd38f685ce4a4380688dcbf734aa8a49c4336bbe5135838bda8e7da82 DIST boto3-1.33.6.gh.tar.gz 752467 BLAKE2B f0f344a9e93ff3ad1dd03b44784a41637d05961855e2cd0700dbb840f98940f387cf81d1eb36cc63579be810f5a7d52c49cdb3831e930f89b1b2026af1e4b357 SHA512 1d3d2dd734621cf94e88015273f6fd4d68ec956145eb2b91fe34920f9abe7786a64e2e7f4057db30e71574e392fff9190944c3d9e6143fd43c5e48f04e9eb2ae +DIST boto3-1.34.0.gh.tar.gz 754752 BLAKE2B 7044d826916db027af792d7d5026adbdd5424a68500eda40ec6b3d403cd8e712645175c75b1c04a74c57d43be430cab15ff4e06d42c054d5b345089482e440c2 SHA512 c2d8a3325fce8ad8e44847b2214b0b6a64a27fa01ed6982150ae4a59f9fbaf4ee64b15b20323046fb455e1f6de99f355a6503bc2ab9bd0c14bd786cde3307cb4 diff --git a/dev-python/boto3/boto3-1.34.0.ebuild b/dev-python/boto3/boto3-1.34.0.ebuild new file mode 100644 index 000000000000..9d696a310a62 --- /dev/null +++ b/dev-python/boto3/boto3-1.34.0.ebuild @@ -0,0 +1,64 @@ +# 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 + +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.9.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} +}