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 3E17915800A for ; Tue, 22 Aug 2023 04:12:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9A9D2BC016; Tue, 22 Aug 2023 04:12:32 +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 9237F2BC013 for ; Tue, 22 Aug 2023 04:12:32 +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 5B48C34124F for ; Tue, 22 Aug 2023 04:12:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7581BFCC for ; Tue, 22 Aug 2023 04:12:29 +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: <1692673638.ef45d15fcdc94aa6f5ab646e56be084863a7424c.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.31.31.ebuild X-VCS-Directories: dev-python/botocore/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ef45d15fcdc94aa6f5ab646e56be084863a7424c X-VCS-Branch: master Date: Tue, 22 Aug 2023 04:12:29 +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: a0b599b7-3849-43e0-8170-b3661c3d88cf X-Archives-Hash: fceb4bfc6c93c4a50ea2c13f28d49d09 commit: ef45d15fcdc94aa6f5ab646e56be084863a7424c Author: Michał Górny gentoo org> AuthorDate: Tue Aug 22 03:07:18 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Aug 22 03:07:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef45d15f dev-python/botocore: Bump to 1.31.31 Signed-off-by: Michał Górny gentoo.org> dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.31.31.ebuild | 72 +++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index b915fd06a8de..c2f0b1f12257 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -6,3 +6,4 @@ DIST botocore-1.31.27.gh.tar.gz 11871182 BLAKE2B 818464a312ebf32eb38956fe6d58a1c DIST botocore-1.31.28.gh.tar.gz 11872151 BLAKE2B 97541606ddc488cc1b07f02a1ab55939596f6fcf8515b19579e7c836b4b5fb7cb41c04b1b15e4836b8bf33982044db93694371a8c966682ad4f22ab973041f30 SHA512 88956b9537e6db15c0a5976b25a63d01a0fbe12f8220a5ee3028b6ab6118a3384db3749a8cd2ff2ad32393a419145f9c8027842d290e7bf655b063adf50fd984 DIST botocore-1.31.29.gh.tar.gz 11874948 BLAKE2B a4a2dabdfdb574814878009a29cee4dfd2014a45b40e10f4769b49d487de1f58e75f27ac897cc140590b03922dd1c2bfc6e28ad211d45743f5358b80fef238c4 SHA512 5796b5b985b68ebde998133c6b33ef2bcc3b7f64615198e0e73f6e24fd2782b796a3acd8a3603cce0890ad820d00c2021da5bdf408ea89154ad21bfafb71c738 DIST botocore-1.31.30.gh.tar.gz 11873788 BLAKE2B 0e0f7500c838c1dc1978956a1b191b30f217ff55ae17a3f601956362b0be2058bf895477db486f532dbb334d925da2ebe7c24c5a8e08585e2c817bb2539b4f3c SHA512 310d5c23ad1ca38550032b9810106fefd5f6431b717c8296bf6e7d208d5c7d1a6b4a97684f2386f4dac27463e1005e08fd67b0e6be07a5c625fa3c8c3a383378 +DIST botocore-1.31.31.gh.tar.gz 11877393 BLAKE2B 6f1d09ce68815ad9a97bf7df9a4153d76898dc2814ab39f2406812ec6e1075f70e0fe10c33f258c1af0855e2b5f429d2862fae67a8a4deac2aa907a239b1f98e SHA512 00ff060d1dfc7d810d654afea8e75bf69693d0205621ef66eb8003dcd81def3215e55e8e7e643cf9401e39f5cab82edb025aefe5a78d100ca651bcc82564c7e4 diff --git a/dev-python/botocore/botocore-1.31.31.ebuild b/dev-python/botocore/botocore-1.31.31.ebuild new file mode 100644 index 000000000000..5894fd995097 --- /dev/null +++ b/dev-python/botocore/botocore-1.31.31.ebuild @@ -0,0 +1,72 @@ +# 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="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}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +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 + # fails on unrelated warnings + tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME + tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME + # TODO + tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +}