diff options
author | 2023-10-05 04:09:27 +0200 | |
---|---|---|
committer | 2023-10-05 04:49:45 +0200 | |
commit | a30f77ea7d5ee59170b998fd6e728e426d1cb251 (patch) | |
tree | 28703caf0cb956fab89f998a6e8125b7a8e25fb8 /dev-python/boto3 | |
parent | dev-python/botocore: Bump to 1.31.60 (diff) | |
download | gentoo-a30f77ea7d5ee59170b998fd6e728e426d1cb251.tar.gz gentoo-a30f77ea7d5ee59170b998fd6e728e426d1cb251.tar.bz2 gentoo-a30f77ea7d5ee59170b998fd6e728e426d1cb251.zip |
dev-python/boto3: Bump to 1.28.60
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/boto3')
-rw-r--r-- | dev-python/boto3/Manifest | 1 | ||||
-rw-r--r-- | dev-python/boto3/boto3-1.28.60.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 18ff4c97178b..0779b1df91c9 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -6,3 +6,4 @@ DIST boto3-1.28.56.gh.tar.gz 704679 BLAKE2B b7413df6f6cfe9b0b604ac44888b4141b67d DIST boto3-1.28.57.gh.tar.gz 705839 BLAKE2B 5d536c8465de64b7a0dfff909325d719d6d36f0bf531b14211dd45f4539170e8b0c78ae1ba111028d6273d6453f4087b2de7a7b62ad6b1da115281b87d99b248 SHA512 b5277a0c03a57147e9d0cf05800b1f30059151dc019045dbaa91a36f6cd0c08b21bd4dad25d4359d594379f84b8f862e1dde306382a3cdd6070eaa300dcfd23b DIST boto3-1.28.58.gh.tar.gz 706435 BLAKE2B 18bd0fe690a004070e7f25207710b02b6d943b913849db32970dc998ff0e0ba51cb294111ac13fe472760966fc66594893a89ff3e03253d99048dbe9dee3a230 SHA512 283b4908f6774f4c63e206ea3552dbbb34bf40159c2a877a7f54816bc3334151d99f9d6aeccca918b6e91ee20d021c6628afe822f008e773da097a4c7cbfb4a0 DIST boto3-1.28.59.gh.tar.gz 710405 BLAKE2B f5eefd333ef17cfe388330f656716548bfa85c511ed39d193808e3d6d8fa028eeb9737882a56c36d8ea4ada3f74f94a0ac6f429a3d707de351d6675dbe709ceb SHA512 5976c38cb5ee528bb2410d84c4320e39a39b5c43a67d3c2cc64f9d2ff89b3283398bbfe48c11fbeb41fd8f38801084d3a44d254c73b3137d434dfc24164335a3 +DIST boto3-1.28.60.gh.tar.gz 710868 BLAKE2B fc743b242ab49aab2f1c8483e2d44112372422755cf8a8d9d52c87c40d19f36ca9a0dbe2c26cd05445eeb5fff84fddafaba83bf30529c7653a557e6ec26e8497 SHA512 352a53843be76833556687e92645937858ce29750e29d4fe805b669465be4f3f997124e706a11c14e46342a2ac03ff4d503ff052d8472a9c633f9f5a8261d4c3 diff --git a/dev-python/boto3/boto3-1.28.60.ebuild b/dev-python/boto3/boto3-1.28.60.ebuild new file mode 100644 index 000000000000..a37cc38af2f3 --- /dev/null +++ b/dev-python/boto3/boto3-1.28.60.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 multiprocessing + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/boto3" + inherit git-r3 + BOTOCORE_PV=${PV} +else + SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + + # botocore is x.(y+3).z + BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)" +fi + +RDEPEND=" + >=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.7.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # don't lock versions to narrow ranges + sed -e '/botocore/ d' \ + -e '/jmespath/ d' \ + -e '/s3transfer/ d' \ + -i setup.py || die + + # do not rely on bundled deps in botocore (sic!) + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} \ + -p xdist -n "$(makeopts_jobs)" --dist=worksteal +} |