diff options
| author | Michał Górny <mgorny@gentoo.org> | 2023-05-04 05:44:10 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2023-05-04 07:01:26 +0200 |
| commit | 3a9351d87f53b27aef2f199df017611556cdb3db (patch) | |
| tree | 6897bcb2a45dc27b5293122c5188fbc594647eaa /dev-python | |
| parent | d28a675c0eef14938255aef22a804f87c5230c15 (diff) | |
| download | gentoo-3a9351d87f53b27aef2f199df017611556cdb3db.tar.gz gentoo-3a9351d87f53b27aef2f199df017611556cdb3db.tar.bz2 gentoo-3a9351d87f53b27aef2f199df017611556cdb3db.zip | |
dev-python/boto3: Bump to 1.26.126
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/boto3/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/boto3/boto3-1.26.126.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 513986ccd6f8..810447fe81e9 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -7,3 +7,4 @@ DIST boto3-1.26.122.gh.tar.gz 640221 BLAKE2B dce152282f7639e162dbfe1e83335de9d42 DIST boto3-1.26.123.gh.tar.gz 640741 BLAKE2B a4d46a9995ce2c496a1cc0a4f9835474546a2a3b2252793cb80ad08e879afc3b69cc3bd6d6661d52c9812e9bec3f7dc66e5bfeae7761cd1a2f122762abf1f247 SHA512 2640c057a7beda8bafb5aa59af387d368bbf04f9e7a8bbe2ca5fd3adb82eb0480ba3e0b2580331a057ede010a6945397cf056fac210aced4a7c981dfa96c4e85 DIST boto3-1.26.124.gh.tar.gz 643109 BLAKE2B 5305d04c3c04e18bce2383672562e3b340801a399daf803cd0a26c3c4e0e7517b87722b0fc01ee99ba688b3a2dd572ec7ccbdac158a822fb150960d74cb33dc6 SHA512 a867241cb31a7ad558811c5e6306f8ec0d4d81d3b2e7672f1dd8f6c0f74c831af743f4dd15a7bf319f9e72d79c65d89e085dd74a4b71ab16845262b274dd1316 DIST boto3-1.26.125.gh.tar.gz 643555 BLAKE2B b77d8d72bc933675f69df98bbb68597c026ee4ad7b78dd80871299d2191ca6df9952d677cbaf1b3c75bf91d1cc7ffef24d039ec48e8a124c7d8b827916161c8f SHA512 365e90d1119e18186b26e8f1ccc56aedba23839a590756f8410f7ea3ff454c88e06c48bc941c85cda71bc45075958bbb0d7c62108241c4096f3791bb012f6251 +DIST boto3-1.26.126.gh.tar.gz 642281 BLAKE2B c7a9130cac15843decf4543d6f74904080587d28c1158f6a01e390129a9e4feb8efd2ed806fb428c61e6f84285f4bc1beccb57b1c7fbec56499befeed4663fc9 SHA512 bd9633a2163cc251e83ab6f86d488e436255c6a0240468f372663aab77d09cb6c3039d424c0fda1c1a7c730be8b5cf7011c6e5a7efd04ba9e8e3cd6eb0d49f15 diff --git a/dev-python/boto3/boto3-1.26.126.ebuild b/dev-python/boto3/boto3-1.26.126.ebuild new file mode 100644 index 000000000000..2a4a7643203e --- /dev/null +++ b/dev-python/boto3/boto3-1.26.126.ebuild @@ -0,0 +1,66 @@ +# 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..11} ) + +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.6.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() { + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} |
