diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-04-30 05:49:21 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-04-30 07:35:43 +0200 |
| commit | a3e2cac723b139421ffe515eeb7b17e73e79aeb4 (patch) | |
| tree | 72f506c4a6daa186ea2ffb8b458d86ecc68354f0 /dev-python | |
| parent | 2830ad3c8876557abf6bf537e7c6cc41a60da7f9 (diff) | |
| download | gentoo-a3e2cac723b139421ffe515eeb7b17e73e79aeb4.tar.gz gentoo-a3e2cac723b139421ffe515eeb7b17e73e79aeb4.tar.bz2 gentoo-a3e2cac723b139421ffe515eeb7b17e73e79aeb4.zip | |
dev-python/botocore: Bump to 1.38.5
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/botocore/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/botocore/botocore-1.38.5.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index c55b3d92a238..e952f001b2b5 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,3 +2,4 @@ DIST botocore-1.37.33.gh.tar.gz 14547041 BLAKE2B 65fc9cd205b582dd5b046670dec5708 DIST botocore-1.37.37.gh.tar.gz 14563135 BLAKE2B 290689f13333ab7ebdbac0bccf6568035776482dbab62c542a41ce6bf93b9d5e01400526c50534fb068798dc5626408c039f8746f091fe881cb70629c6ccd6e4 SHA512 3e020f6f264ef19a71f812733536812abe92e5998f3c19766782e01cdd235a17648b330bdb64289ea8b87a520625e0c7ece9436e014ade111d66bc4181f5bec9 DIST botocore-1.38.3.gh.tar.gz 14578552 BLAKE2B 4766db1ba2651ebe65c79f8a37c91cf95875a20c0cc51c1886cd394b90d50109738daa79b398e0c4b80031cfab69e1338dfaafbc0ae796fffa3348f6b13fc1ce SHA512 ad69e119d5bbc98a0c14c1c927badeecc1f57d31305e6a07af41d4d4bf6755f5abc150e36321f71b9495221ad93052d84a1dc964fb9ef6fdd791d4c37e75a01a DIST botocore-1.38.4.gh.tar.gz 14586930 BLAKE2B 0af73a09979542d92656ecd0f4ad8bdc1d16d99e708b256f7f5150fbd45a3e6fdce261ef388663490174df6a5851118894a69858cd3cb9050d22f6005f92fdd9 SHA512 779ae3bfafc3538871cde13f6aaaf4efdbc1c6ce94d66c6329ec547fd10404d9679b7ab754723fb34c9748217ceccbe921ed8e67da2c0164b291201e0541d530 +DIST botocore-1.38.5.gh.tar.gz 14593808 BLAKE2B 2b9d177cc2da31dfffa76004ded8d1c71bdd8fc89006aa18218d0b5450b23ee953f3afd813e940197b6eadc84a9e46482b013ebdf512a3026d3e3694c822da65 SHA512 cd66fc5e71739c4880af2db7a08f11693e6ce89f97edd1af57f30b517ea28d75bfbede0d2188c197682d06012f8762e8018dca792ecc0e0b561631c076bb6eb0 diff --git a/dev-python/botocore/botocore-1.38.5.ebuild b/dev-python/botocore/botocore-1.38.5.ebuild new file mode 100644 index 000000000000..9e1580d45581 --- /dev/null +++ b/dev-python/botocore/botocore-1.38.5.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 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 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=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} +} |
