diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-08-27 20:37:42 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-08-27 20:37:42 +0300 |
commit | 671d7657f6fb4d6ff25db1e95ba50b10f24a4179 (patch) | |
tree | bd9c4619c101f1cfe9345973d90a0220f522141b | |
parent | dev-python/botocore: add 1.27.61 (diff) | |
download | gentoo-671d7657.tar.gz gentoo-671d7657.tar.bz2 gentoo-671d7657.zip |
dev-python/boto3: add 1.24.61
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | dev-python/boto3/Manifest | 1 | ||||
-rw-r--r-- | dev-python/boto3/boto3-1.24.61.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 3c7fc8790d97..1a6187458733 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -14,3 +14,4 @@ DIST boto3-1.24.57.gh.tar.gz 530363 BLAKE2B a2f3f39f0de79fc68a32da9bacbef863c705 DIST boto3-1.24.58.gh.tar.gz 530450 BLAKE2B 82746de410c03fd0757d088781a5a2ab8d60e3c63bed127f617aec0ccb1eafd7064aed6087f912466db37c257e02ba7328e5408573c0e429284893c3c8605803 SHA512 1d7f5335cd7c7683224d503f9b2787d8dc4a345cc4d13a2dcfab9e709652ffe5cef8b8866d7a3e0218a7efc30d1029a24bad1d8edf9d47911dead3f2d98435af DIST boto3-1.24.59.gh.tar.gz 531080 BLAKE2B a5efbe215f2a88c6a48640a4b459c426ce3954a2337c84626f39228437d392fab8ec1cf4aaf53887db00bba70500a57ddfd0752d0f09226c78f70d5875ec852a SHA512 6999fc12826072cfd1b06a89a323cc9f28a0874cca07b1ffd94e223e717cc874701f57c1d7b4f63724e329c1f51522631502e8ef19f640fe75c8c4c14e7ff38c DIST boto3-1.24.60.gh.tar.gz 531790 BLAKE2B b1734cb085e49609f46dea3ecc0ffdf5e197d31c69a5514d93b026282b0e1ddf04b72282a339b8076f9318f97548457d3e3db314e899e8eceb3e05d2bfced400 SHA512 a82ad5433ef31abfeacc885c8d5540568ec96c5e6b21a23de8f04eb48569f92dda740862d93c5e8e506e70e60e7d5e55e7cfba17b73e471ef49fc2a827846473 +DIST boto3-1.24.61.gh.tar.gz 531957 BLAKE2B b8cff8dea6b74ce1238a734cf1e2fb41ede27243216bf6c5b0e0d99a43948a6dc6999fe3ff0a13616b3a4ba0e1c675963faef5a299b9c1a86e3713eee9f07741 SHA512 7d957b9c9a120698fb2f7d1368500e456ea5e7834e4fc09c1680333b16056f089eea60480e50919c1dcc4596c72e43a74f6b57d433ed01f1ef53c7804b6dc2dc diff --git a/dev-python/boto3/boto3-1.24.61.ebuild b/dev-python/boto3/boto3-1.24.61.ebuild new file mode 100644 index 000000000000..6edcc751d54b --- /dev/null +++ b/dev-python/boto3/boto3-1.24.61.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..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_sphinx docs/source \ + 'dev-python/guzzle_sphinx_theme' +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)" +} |