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 62DA115800F for ; Wed, 18 Jan 2023 06:58:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 312E4E07B3; Wed, 18 Jan 2023 06:58:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D6EF4E07B3 for ; Wed, 18 Jan 2023 06:58:28 +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 B3E6C340D3A for ; Wed, 18 Jan 2023 06:58:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E322F851 for ; Wed, 18 Jan 2023 06:58:25 +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: <1674025102.2c48126b12533631271b1c668da48a2aed4e3802.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.51.ebuild X-VCS-Directories: dev-python/boto3/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2c48126b12533631271b1c668da48a2aed4e3802 X-VCS-Branch: master Date: Wed, 18 Jan 2023 06:58:25 +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: 2c53ca75-f239-4226-ba13-08dd1131039e X-Archives-Hash: 34ba93d64792a930ef979b6a5f98ac80 commit: 2c48126b12533631271b1c668da48a2aed4e3802 Author: Michał Górny gentoo org> AuthorDate: Wed Jan 18 06:28:17 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jan 18 06:58:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c48126b dev-python/boto3: Bump to 1.26.51 Signed-off-by: Michał Górny gentoo.org> dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.26.51.ebuild | 68 +++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 2a908bbb6002..ffc6de51090a 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -6,3 +6,4 @@ DIST boto3-1.26.47.gh.tar.gz 588689 BLAKE2B 31a2bfebcac762422e1aee78f05c5a19d3e8 DIST boto3-1.26.48.gh.tar.gz 588770 BLAKE2B 1176ed430821157266e54f198774b2b2718549373f8c1fa72d898f5644a8ff3bdb428f2baeac862566b5f7fad334c6f99fe2f62f63575635bbd9a540bfef9fdb SHA512 64f40e8305c7462c28c33afc5197b71c77e4298e94161389b422df9783a6fd6f828aafa14927b035d15bfa5753253c37c17f716389d5673c5ca78a310312b460 DIST boto3-1.26.49.gh.tar.gz 589315 BLAKE2B 31840e499766f0d9aeed149ebd89cd4daf340aabfe06034d27c2e8e97768ae0a8ed9d55dc94dcbbf304b7fd4da52c2afc0c76bb86bfbb1832560560a52d84ff7 SHA512 028b38ffac965355f3bb0675bc3c1bd0dc6ef67e6bf31e6d174377be58071c3c9732eb83d2cbfe76cff96c6d1d0eb872a8f1b198d1064d5f080b543ca7496574 DIST boto3-1.26.50.gh.tar.gz 589841 BLAKE2B 98808cc2811f6371152b75424abe7da24230beb9caa4fcb62c273c232998fa1bbd4195d47e173c181f6b77cd95c6d90e21dc6126d65a0ce5453244cc03a5a12f SHA512 d4a8fd68c7fa099009e491f697ce3089a7f9d54433d25aa76d2733facde82f62f3955efc8ea5156dabce9502a2912847d45f7e1ab5dc71c1db26ca5d2b4ae220 +DIST boto3-1.26.51.gh.tar.gz 590304 BLAKE2B 351f5f414d4519203cda435834b52db827016f53b9594658e5bd7dcaca1090c58b50c49f276b3c1e1fd8aed248428a0e5ccf306db8353c1bbf9caef5e0e0f375 SHA512 77a55c994f7e6e617022bc52b5f20b72e30e273e7dfc5061336739b05ae436f5ab57015237749e087f5c7847fb107fd0ae7f73467dbd8a1b710e8dcf5e128a76 diff --git a/dev-python/boto3/boto3-1.26.51.ebuild b/dev-python/boto3/boto3-1.26.51.ebuild new file mode 100644 index 000000000000..9523f65d5fb9 --- /dev/null +++ b/dev-python/boto3/boto3-1.26.51.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)" +}