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 5C60E15802F for ; Fri, 24 Feb 2023 06:00:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 90975E079E; Fri, 24 Feb 2023 06:00:26 +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 78CB2E079E for ; Fri, 24 Feb 2023 06:00:26 +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 53B72340DBF for ; Fri, 24 Feb 2023 06:00:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B3B218B7 for ; Fri, 24 Feb 2023 06:00:23 +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: <1677215203.4d9a95ebcaf3e3ad45cc5264171ff2ec3b977568.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.78.ebuild X-VCS-Directories: dev-python/boto3/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4d9a95ebcaf3e3ad45cc5264171ff2ec3b977568 X-VCS-Branch: master Date: Fri, 24 Feb 2023 06:00:23 +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: c8f8b4bb-5012-4c57-8ec0-8fd74140e452 X-Archives-Hash: 46e9615c65f9b8627a7d2e0dc364d00b commit: 4d9a95ebcaf3e3ad45cc5264171ff2ec3b977568 Author: Michał Górny gentoo org> AuthorDate: Fri Feb 24 05:06:43 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Feb 24 05:06:43 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d9a95eb dev-python/boto3: Bump to 1.26.78 Signed-off-by: Michał Górny gentoo.org> dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.26.78.ebuild | 68 +++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index cf6825dbf473..d8f2ea9b4b35 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -3,3 +3,4 @@ DIST boto3-1.26.74.gh.tar.gz 602525 BLAKE2B 6d9b397864649ecd9b3f46bcee832c57cdce DIST boto3-1.26.75.gh.tar.gz 602878 BLAKE2B 8bce90fd5b6474316922a6da571dfe27a0d5c15743f05c184314d74ae2323635a71d0b7adf02ff7c8ebdea1cfbcb8e730c1d97de96b29fcaa4d178645c760748 SHA512 5d5cbb5e9606aae1a90c5766315c120f799a1cae528b1cc5d052c18b70c276524d9ffb077a662273d30ffa3fff86405c00ec35718bc510505c3fa6f7edc01ad0 DIST boto3-1.26.76.gh.tar.gz 603285 BLAKE2B 1235c9fd21073b9291e581aaf4c298dc498deb1ea51cb66f58a631964c26eb064a4e8ec7b3b0c47f3be166d478101e8edec1f6e77cd162dcc0762bdda19da7b8 SHA512 2fcd0dfca17d86bddde0c752fef1135b8451d1949d4303ffa30f922b389274ca8adf0033dc5459a4964498bf48f15df6b0f58bb90be3351764fd549dbfad9a6d DIST boto3-1.26.77.gh.tar.gz 603958 BLAKE2B 70944ec50e026e0b78dea8294264034882166293d04e78c18d4429429ea2391b61c791776aa0dbadfb181757afffc33c8db11dc07163d201fe7b95ee02bfda85 SHA512 c33bd44a74da211e6019b6bf64bacb00f979e2470366ede0e283146b1be713519f80d3cce4ad80ba1fc74a3dc3fe568a7237ea2ed897a85b45dc2a21e371ef16 +DIST boto3-1.26.78.gh.tar.gz 604792 BLAKE2B d8abfe3d06c30ce9cc26575aeaabfe4f693477ca40a5ee89faf336ef76e4948cec04f4b9aff15ee33f0e75e156483f80a0d437347317350002293ee8f176f56c SHA512 9a11b7c50ec38b36726ee8f286885cb5b8b8239fa2503255bb1ade8dc76b7b7ce5db731ed99db3dcf6e0062adb7903d48fc2aeee02978e5a60b5279a57a29a43 diff --git a/dev-python/boto3/boto3-1.26.78.ebuild b/dev-python/boto3/boto3-1.26.78.ebuild new file mode 100644 index 000000000000..9523f65d5fb9 --- /dev/null +++ b/dev-python/boto3/boto3-1.26.78.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..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_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +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)" +}