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 65C72158089 for ; Fri, 27 Oct 2023 02:44:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8AE4C2BC01D; Fri, 27 Oct 2023 02:44:38 +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 6C2E02BC01D for ; Fri, 27 Oct 2023 02:44:38 +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 665A4335C31 for ; Fri, 27 Oct 2023 02:44:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D591612C1 for ; Fri, 27 Oct 2023 02:44:35 +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: <1698374669.baaa6b4996058b8b424eb0f3881ef06cab2f0bc8.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.72.ebuild X-VCS-Directories: dev-python/boto3/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: baaa6b4996058b8b424eb0f3881ef06cab2f0bc8 X-VCS-Branch: master Date: Fri, 27 Oct 2023 02:44:35 +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: 219cbb50-1c37-463f-90bd-061f5fda3b82 X-Archives-Hash: 02f581de6a4ab0f8e4827683ab5db866 commit: baaa6b4996058b8b424eb0f3881ef06cab2f0bc8 Author: Michał Górny gentoo org> AuthorDate: Fri Oct 27 01:33:22 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Oct 27 02:44:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baaa6b49 dev-python/boto3: Bump to 1.28.72 Signed-off-by: Michał Górny gentoo.org> dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.28.72.ebuild | 68 +++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 7239e90f5e59..ad573ae523d0 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,3 +4,4 @@ DIST boto3-1.28.68.gh.tar.gz 717553 BLAKE2B dd8ba562613456e30c0f8bfe2f3befa9601b DIST boto3-1.28.69.gh.tar.gz 717978 BLAKE2B d7339e73fec81a8c8eb013b4136ab3961bb7c27cbf2b479abf12d814bb49f959dad91cc091b5ceabc01de9205b732b7df6c7fb7c37dfacc72a7d862f3e54a3f7 SHA512 2f6fa2192115367f8a899fe16308365509f543146c00be4e04c2aa323a188dedfe3e531b8d2a8b80fe9a143d101039a8a34babf5c3b1073f306f7946a45ec976 DIST boto3-1.28.70.gh.tar.gz 718741 BLAKE2B 0d8c0f8e4ceda65f223a6b5151015182905e4c76dc34ceede2af78ee8e71bbda95a70add771cdb313f4f63d7ae83fdbcb1c505a0157219c06a4d2dbcac584b27 SHA512 aea9a1c957c3a184ed8f8472f245b822b27185aa9427b14fd5cd380282a5c6f4dbb831940b4b39b147093448d8889910a52e26fb790b1e3e18ae24d9b2ddca15 DIST boto3-1.28.71.gh.tar.gz 719518 BLAKE2B 0ed15aaf3c340ebb492ec58b7a4b7754a4e5ca7c3fa3e71c6940c99c13eba0e46d24fbfbcdd6a6c6ebc57fec98499f9478ac4f531730b226d2534042ff282b89 SHA512 88ec46e9051bb963db8c3123548337910fae92aa0dd39668665db6a94c0f59ce14a1bf98630e92a5e736d539fe470d8e4ff8395e600e1b8166a8fe47ad89f4e8 +DIST boto3-1.28.72.gh.tar.gz 720666 BLAKE2B bbce0af7cba130ba30d4a319fc05fd0e7749fba2056136b5874fe18a70478f52c2c4e25ba89fc56b71831d48d3f95b6bc2b2e9fd5318c1ff259cb6789ece0d0b SHA512 38ed50770c0bd355d462f7a4eb824b14bf01cc6772392f5eb79df2bb5dd96f3cbc843456256646f8e2ad9335c2de1465c4a9d68d8a66e9895e7280404218671f diff --git a/dev-python/boto3/boto3-1.28.72.ebuild b/dev-python/boto3/boto3-1.28.72.ebuild new file mode 100644 index 000000000000..a37cc38af2f3 --- /dev/null +++ b/dev-python/boto3/boto3-1.28.72.ebuild @@ -0,0 +1,68 @@ +# 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.7.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() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} \ + -p xdist -n "$(makeopts_jobs)" --dist=worksteal +}