From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1338760-garchives=archives.gentoo.org@lists.gentoo.org> 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 AB467158086 for <garchives@archives.gentoo.org>; Fri, 12 Nov 2021 09:40:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 748EF2BC18E; Fri, 12 Nov 2021 09:40:37 +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 4E6532BC18E for <gentoo-commits@lists.gentoo.org>; Fri, 12 Nov 2021 09:40:37 +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 894C63432A5 for <gentoo-commits@lists.gentoo.org>; Fri, 12 Nov 2021 09:40:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B97CD1BC for <gentoo-commits@lists.gentoo.org>; Fri, 12 Nov 2021 09:40:32 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> 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" <mgorny@gentoo.org> Message-ID: <1636710021.688941252ac1d1c425c4fd92e231f9d9853a8ffe.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.20.4.ebuild X-VCS-Directories: dev-python/boto3/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 688941252ac1d1c425c4fd92e231f9d9853a8ffe X-VCS-Branch: master Date: Fri, 12 Nov 2021 09:40:32 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 775e051e-e35c-403a-a52b-b0218e58a155 X-Archives-Hash: e444d3235247aaead9da437b11192a3d commit: 688941252ac1d1c425c4fd92e231f9d9853a8ffe Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Nov 12 08:06:12 2021 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Nov 12 09:40:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68894125 dev-python/boto3: Bump to 1.20.4 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/boto3/Manifest | 1 + dev-python/boto3/boto3-1.20.4.ebuild | 59 ++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 5ace757ace1..1c0dd502cfa 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -6,3 +6,4 @@ DIST boto3-1.19.5.tar.gz 433567 BLAKE2B 52c12a4dd18d6f02326f8002b345cc5df224455f DIST boto3-1.20.1.tar.gz 437338 BLAKE2B b2d952263919404518ada651777fd8cbe501b46fe060c4e4c657e2a01801e8f4b0285864cef880cc7ffeb83a84709f1bc91de26d70378a7ab01e681cc8098857 SHA512 0536a90cefbe739941d1eb5e2cb667de144648a8ba4329b49475fc15855c495fdbb0bf73d0c5de57adfb58f86e01e19ff4ce876eabf185a1f5a93499dafa6d49 DIST boto3-1.20.2.tar.gz 437582 BLAKE2B 7fed58f44e7a6eb4f5aa3f8cf4d1f6e67d818debe55d2ea609f2b1419aafa0f2d9cd15aba48f7d238943bbe5d4b3f5285de731f36df3b8d3276fbd1d411f7374 SHA512 25c5b4f8cc154a408d2d07a88af9e6cad6c1e0ec3544ceb7d8191d8204e5fe45dbfc27796f0b3c2d2a15d86d3f586c53a104575f8ed1eb0ed8a3772723d66e20 DIST boto3-1.20.3.tar.gz 437920 BLAKE2B e4d6a0ca39bef3212a8eeaccfb79f1a299b7c39794a5ca63dddb0110f47ecf8066f2755bd7a5e016b011b31c2ab6d01f0e2096dde318c1919aba870e9cf0a248 SHA512 b04b46e75482ce8e52295be5c78397acedcb3558716199fcf3a66488f5b0ffb4a6c41818733f0a706d2f2da8f05adcb5a083420ceac490ee36d965246a5fb490 +DIST boto3-1.20.4.tar.gz 438251 BLAKE2B 8636b52a972d68f03e3f1d2a7bd1bcc03b0329fc7b0a372a06f74a0b7d441c8e9e80003195d36b1453e163bdaab99f30f5ec45f43b24aceb4e02df1d21b6ba65 SHA512 3ccf3db7da8507bac73826f0413ea11b3df07bca4a42d86a799efe857c68e435a0b7d68d77218ed6253820805f30d390776a6808adcff3dcab43dab0008382e2 diff --git a/dev-python/boto3/boto3-1.20.4.ebuild b/dev-python/boto3/boto3-1.20.4.ebuild new file mode 100644 index 00000000000..a4f6b1d0f3c --- /dev/null +++ b/dev-python/boto3/boto3-1.20.4.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE="https://github.com/boto/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/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~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.3.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${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} +}