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 4F5B51581D3 for ; Sat, 1 Jun 2024 03:57:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95AC2E2A23; Sat, 1 Jun 2024 03:57:49 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 696D4E2A23 for ; Sat, 1 Jun 2024 03:57:49 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A4FC34133B for ; Sat, 1 Jun 2024 03:57:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E7A7B148D for ; Sat, 1 Jun 2024 03:57:46 +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: <1717214251.6e0afc9e55b6b0eecbbbb87d76699916b33a541e.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.117.ebuild X-VCS-Directories: dev-python/botocore/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6e0afc9e55b6b0eecbbbb87d76699916b33a541e X-VCS-Branch: master Date: Sat, 1 Jun 2024 03:57:46 +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: 3b7dd1c6-d331-4a9c-b71c-de38d348629b X-Archives-Hash: 7d4327663e2fd28f69ffafc54934a2db commit: 6e0afc9e55b6b0eecbbbb87d76699916b33a541e Author: Michał Górny gentoo org> AuthorDate: Sat Jun 1 03:01:10 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jun 1 03:57:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e0afc9e dev-python/botocore: Bump to 1.34.117 Signed-off-by: Michał Górny gentoo.org> dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.34.117.ebuild | 67 ++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 7702ff236950..fc98f640eb71 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,3 +4,4 @@ DIST botocore-1.34.113.gh.tar.gz 13060395 BLAKE2B 8f9329d613f489f2305d068566940a DIST botocore-1.34.114.gh.tar.gz 13062423 BLAKE2B 3d72a66466da0f2979bb8a6a47b7a732df048755eee3f2de4e44753aac1a2155502ed106ba5378e04b12d77fff1ee1c0f2baf317487a33a18645eca81e07f89a SHA512 183c91714f50a68e20663dde9cdd101d919c368fa8e0e95d4b71d89d0a560b2b0cac591d884b894de0b310cef5fa65784b288f21bb044c5e4ec196d81d645a6c DIST botocore-1.34.115.gh.tar.gz 13066625 BLAKE2B d894c358515f6c3b65cc4f562ac0afbf95efb7829bc8987d27be927b447f84e118d861f06df84b4f49e9b66ddd5f74ae94550419017cb9c8346d36498279c92e SHA512 82720ce84bc9ffafffc73bde5ae0033a5696c63f92d1c48538b2c257500e3f3597d0d44ab1d9e378917f59c1be085c9649b946512bf87175a1e8edb997b195f6 DIST botocore-1.34.116.gh.tar.gz 13074946 BLAKE2B a6d660beabfee65becff832f32c4a6a0908b5acbb7b9cc66f1fac987e2a33840f467907cf65d07a9dabc54a1ccc32d3437cf997e3c3d10a46441906d515c9157 SHA512 82e89462b15e5e46c97289ae7c99a7254b98357fe5cc65072c5c25652dba5ff90097a96385b4bc869d80f94c5cdf7f93402383e4e4371b445140ecfde52d56e6 +DIST botocore-1.34.117.gh.tar.gz 13076178 BLAKE2B defbd66d6409004fe49df44aec0a00b4bbe1a459d3e4b067c5c8609b998c63e7d62c8d3c48805416d44c08aeb3ab261f4449cc7e6a7c66dd3ca5f97bdcce291f SHA512 d9736ddb868e602afbaad95989d284b2835636f273e8a4263caa7eec619fe7cc45515fbbe98d4fd33121fe0d97d34353f7cd811bc878a81d1f5f7437798b24d6 diff --git a/dev-python/botocore/botocore-1.34.117.ebuild b/dev-python/botocore/botocore-1.34.117.ebuild new file mode 100644 index 000000000000..ba6cd2a5d2a2 --- /dev/null +++ b/dev-python/botocore/botocore-1.34.117.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2024 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/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + =dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${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 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +}