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 264E215808B for ; Thu, 26 Sep 2024 04:50:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 35BFBE2BBC; Thu, 26 Sep 2024 04:50:03 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 1F9C0E2A2A for ; Thu, 26 Sep 2024 04:50:03 +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 2B4AD343065 for ; Thu, 26 Sep 2024 04:50:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A2B3C36 for ; Thu, 26 Sep 2024 04:50:00 +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: <1727326183.d6e463a84ccfcb379aadefdbb09e77a6101e9134.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.35.27.ebuild X-VCS-Directories: dev-python/botocore/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d6e463a84ccfcb379aadefdbb09e77a6101e9134 X-VCS-Branch: master Date: Thu, 26 Sep 2024 04:50:00 +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: 34b11c19-de9e-470f-958c-8ffb7a67d2d2 X-Archives-Hash: 0c6277d5a1a262e42c5941b45b963d5f commit: d6e463a84ccfcb379aadefdbb09e77a6101e9134 Author: Michał Górny gentoo org> AuthorDate: Thu Sep 26 03:51:54 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Sep 26 04:49:43 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6e463a8 dev-python/botocore: Bump to 1.35.27 Signed-off-by: Michał Górny gentoo.org> dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.35.27.ebuild | 76 +++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 6b1d28e702de..e6b9db8bd3ce 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -3,3 +3,4 @@ DIST botocore-1.35.19.gh.tar.gz 13376459 BLAKE2B ba64ff0dc221782ce23592a6d6a146a DIST botocore-1.35.24.gh.tar.gz 13406391 BLAKE2B ddc1c456e4358b3e28ca8f6a92230fb843309fd6059eaf909a9fb3de0bd580fb52389173187e0794054b9f1bc21a829f457b80067868c13fd7987fc682acd024 SHA512 7a1e8c1a85e8699a811a41b59cdefcee2457c5dfdf01d54f3048f894869c5c4033287909095bf15304e408c268cf772194655afffff280dbb6fd6c6daac1d8cb DIST botocore-1.35.25.gh.tar.gz 13409661 BLAKE2B 49f846dfd62033b320a7b5e1afeae6c18cb94768b9b8dda1b9b373dac35ed846f8958ab5efd183c70f297de1dfb6ed0447503cab6f9b380cd31b8445c760bfd9 SHA512 d6a2ad3db3dda7597d351a1f216feb3453b708055b956a2e4eacd24035298dffe54d906edfe5da3fdb674a9bb44a5ca4096022f3d0a312b1a12b29eea5ea48da DIST botocore-1.35.26.gh.tar.gz 13410309 BLAKE2B da2111d9f6af1795ab1c50332089109b4627a64a7904080f8586bfc5c5c5228896caff703131d864bfde8dd3b8ec2d39eaac2cdc03b4d38febded9ac56b0eaab SHA512 6364e9af0b619961eb2984e34619617a75706c468538c91d375ed5172e85b39a2583e79278cce23fdbc08f68162fe83b4ec7f30d68f18ebf82eea8610d1243f9 +DIST botocore-1.35.27.gh.tar.gz 13402723 BLAKE2B e9c21aeff1470a7fdcf02f51b68f6d36c7186effdab2617cd91813d7db013de0131e7b17423f82c7a8bcdc2c8981695c4de3869bad93af2882a74dddfd4c96d0 SHA512 2b8fdba377bdb54ebd6f2a5ce48f38a4c20c8e77b1dff40271fa3d16b6eb69025edc7a7c8cdc4f0b9ab1c0fc584a14db18f366c096cbff11f7348978bb8a9574 diff --git a/dev-python/botocore/botocore-1.35.27.ebuild b/dev-python/botocore/botocore-1.35.27.ebuild new file mode 100644 index 000000000000..4f1ad852bdc1 --- /dev/null +++ b/dev-python/botocore/botocore-1.35.27.ebuild @@ -0,0 +1,76 @@ +# 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..13} ) + +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 + ) + + case ${EPYTHON} in + python3.13) + EPYTEST_DESELECT+=( + # memory use tests, probably fragile + tests/functional/leak/test_resource_leaks.py::TestDoesNotLeakMemory + ) + ;; + esac + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +}