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 73B04158015 for ; Sat, 23 Dec 2023 05:12:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 220912BC01B; Sat, 23 Dec 2023 05:12:41 +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 03B642BC01B for ; Sat, 23 Dec 2023 05:12:40 +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 DE8FB342FFC for ; Sat, 23 Dec 2023 05:12:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EDE21AE5 for ; Sat, 23 Dec 2023 05:12:37 +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: <1703308345.e7ceb041768f90ea13cc07d5b924762bde2212e0.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/botocore/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/botocore/Manifest dev-python/botocore/botocore-1.34.7.ebuild X-VCS-Directories: dev-python/botocore/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e7ceb041768f90ea13cc07d5b924762bde2212e0 X-VCS-Branch: master Date: Sat, 23 Dec 2023 05:12:37 +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: abeeac08-403a-4912-8543-a4d1254b7f4d X-Archives-Hash: 80014bf92c1c38b29d80f3613bd69eaa commit: e7ceb041768f90ea13cc07d5b924762bde2212e0 Author: Michał Górny gentoo org> AuthorDate: Sat Dec 23 04:07:35 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Dec 23 05:12:25 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7ceb041 dev-python/botocore: Bump to 1.34.7 Signed-off-by: Michał Górny gentoo.org> dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.34.7.ebuild | 68 ++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index ec850e22077c..add3ce718004 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -6,3 +6,4 @@ DIST botocore-1.34.3.gh.tar.gz 12574694 BLAKE2B f171337299c886d0b9c78e50ea57b0e2 DIST botocore-1.34.4.gh.tar.gz 12582501 BLAKE2B fa7578a30cf8e6c72ef83756923c77f4c8d89c6ce0902614f6661d6174b3d1fc176866087dea80b61c8328137796f41a1e295fc04de7fee34267b521cc3d9201 SHA512 07e60e42bfd2be4de0b2cf824978acd87eadeba77e8e191fb4e29001e9868494fe9e4676b38f6769557b0119139cb9f432d426cba34307504e8a218ccec66c0f DIST botocore-1.34.5.gh.tar.gz 12587260 BLAKE2B 08ffafc5b6678cb48f7ca59413c787fcb15924076927113634e4db674d6cac52a1cae72f559abf614be622137e28b0862b140bd2e5c92231aa659d15d655fad9 SHA512 c99a9c4d1cc86bf6aab3c8672f2dc95f69577fdbfb5cc4723bc6be41df9a34aa07eae29ab00ec84b55e50694b1288ad8a5b5673f4d6839c13608f28f0c9420b0 DIST botocore-1.34.6.gh.tar.gz 12597372 BLAKE2B 34aaf3e27478440a4f8fac28adb0f6bd9e63851435fd1bd51699a8b0c2a384d8aace86c4629404cb30602606a5497d5b30628e7a2174095914ab34879c1c13de SHA512 c90de3f2c18610ee5d5e649d368eebdbdb97ec737637b06ef8d5951502f2b5655a72b4859025cb007213b665c075078cc604bd7ac95af4ccf8073800bf346d34 +DIST botocore-1.34.7.gh.tar.gz 12606475 BLAKE2B 387ee7dfab43c44c39c7b0566b6ddcb2b666024b5b7bee2c996194988781c169e1e9462b36d09861d1c3ca899d263392f3d79129e7a2f2fc4bbfed402f5c7dd6 SHA512 3f162d4d028dd81da552e0117671971aa891bf8fab513730f40083660fa83c1f82bf1b52875cf9f7f11089ecdd79f084f3c8e76227aa826c1aac7e5735032450 diff --git a/dev-python/botocore/botocore-1.34.7.ebuild b/dev-python/botocore/botocore-1.34.7.ebuild new file mode 100644 index 000000000000..05766e84276c --- /dev/null +++ b/dev-python/botocore/botocore-1.34.7.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 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI=" + https://github.com/boto/botocore/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/six[${PYTHON_USEDEP}] + =dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +}