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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9AA2F158016 for ; Fri, 15 Dec 2023 08:17:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7FF32BC01B; Fri, 15 Dec 2023 08:17:56 +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 9F1BB2BC01B for ; Fri, 15 Dec 2023 08:17:56 +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 B6C80335DE9 for ; Fri, 15 Dec 2023 08:17:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 56F1C104F for ; Fri, 15 Dec 2023 08:17:54 +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: <1702628266.cb7fccd46f2ee4bcb3b3913d4013719594a31c79.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.1.ebuild X-VCS-Directories: dev-python/botocore/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: cb7fccd46f2ee4bcb3b3913d4013719594a31c79 X-VCS-Branch: master Date: Fri, 15 Dec 2023 08:17:54 +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: 50adcbe2-485b-4dc7-9f23-1fdb3444fb78 X-Archives-Hash: 52e70d74a7182ffd33a6abd617719aa9 commit: cb7fccd46f2ee4bcb3b3913d4013719594a31c79 Author: Michał Górny gentoo org> AuthorDate: Fri Dec 15 07:23:09 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Dec 15 08:17:46 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb7fccd4 dev-python/botocore: Bump to 1.34.1 Signed-off-by: Michał Górny gentoo.org> dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.34.1.ebuild | 68 ++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 07e4b9fdf6e4..22ef94fe75fc 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -4,3 +4,4 @@ DIST botocore-1.33.12.gh.tar.gz 12538468 BLAKE2B 1f0008bc523a24ad56fc265d4ce829b DIST botocore-1.33.13.gh.tar.gz 12542999 BLAKE2B 7a80c3d5bf3a5bcb623eb77447609fbef8efd4391cfe98bbe9c85a4ca10a308bf3b4c9de3340707c392147631318a78c44145a0c2d1457a5c4e79cfb8414aa1f SHA512 9039b6b545ad7fa6f319a9cb20728b9c1ff4e0955e97fd146e580e9b7f6675ba43dc25e90c8222f35c7f24ffa902a8e01cbc0dd5a69daddb7f79cc3e87867023 DIST botocore-1.33.6.gh.tar.gz 12516087 BLAKE2B da3ca22acb5b6ee27eb3c0f7dab4ad43597ab985aa7512f4f4a51c2ca3db80a049e13faaf986dd4a02125f92c088129506651125a826184656250665dc7b7128 SHA512 cae5019d85c9b3afcfd93fe58d0e51c5a6e0769d58b2a8b1285a34ce66be8db34e9c5dc4dc74ff72e0992cdd142d101e3663fa1d68a2779fa9c09de37d2f2001 DIST botocore-1.34.0.gh.tar.gz 12542563 BLAKE2B 18f92b753f31962672e977aa105a6c59bda845c60c1db4df028e82d3ac77cb59a9430dbd08098b9671ea124652d8e0fa7c67faab061ac109f5a144248c30c46c SHA512 fb537e181129fa073f7e0a68952767f6a219c6ac3a410cbbe774dd3b9339ecc4457a434771b9f47438087215d22423bee33d2e2dfb6b0cf16b16b09c0fe9a793 +DIST botocore-1.34.1.gh.tar.gz 12561522 BLAKE2B 67b42866c4a00ea960b8d942110acdf9fd642e9164c987e12f9e12ceee37b1c4d9be59a3185006c19b52c31b957442fe4fa9de9d4d1d697854c0c1c7b9eb23cc SHA512 04cba828baf7bb14f2cb2a3eedca6332842ca1d0c8d1e5ad837607ea6c5fe1564a222c516835d7f67e2fea85490032ef04d61d631c0cff6849ee7cdca5eeabf4 diff --git a/dev-python/botocore/botocore-1.34.1.ebuild b/dev-python/botocore/botocore-1.34.1.ebuild new file mode 100644 index 000000000000..05766e84276c --- /dev/null +++ b/dev-python/botocore/botocore-1.34.1.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} +}