update boto3-1.20.24

This commit is contained in:
2022-01-28 17:41:38 +01:00
committed by Andreas Billmeier
parent 0ff3616248
commit c5cc769741
3 changed files with 61 additions and 59 deletions

View File

@@ -1,5 +1,5 @@
DIST boto3-1.16.52.tar.gz 342838 BLAKE2B 62ab3b2bd72369e08d514fb712eb6653c247e774fbfb579f1293ec1a42752d7321011cf75a054cd625846e72b1b5b6490b1d8bd48f5a2ed818fcf6ac060c0857 SHA512 6a80ee0181f5def2595e7a2d07e7a29e32c23b2d91908338c43fc4794be3d69504cdf8cec7372cdca09004dddb45ae49772404f59a222af4e3eb0bb869cdaf98
DIST boto3-1.9.252.tar.gz 271299 BLAKE2B a57af2c5e9e9247f614205fb1af1adf4f644566bcc7b8d9a5230f4978a728a51d01706a83f570871893bf371f403dd2cd76d5da59d259754a22e4a822f92f820 SHA512 db281b45650fd08416013d957b50def7acaf75f274ae4dd72b59d033ee9fa4c299817c783525a0a69dcdcedb80c93a589698ab2bb5de42e17115f8752bca70aa
DIST boto3-1.20.24.tar.gz 456338 BLAKE2B 4192f20a7a5c247a72b381506697034d744fd62c60d06402759942c3dc1ef0c136ea7b85ab80920831f876e098af549bcdff688ff287a0350ed00ed88aaf0adf SHA512 96a2d6dabaca0aa0d85efcbc2f98f8e41b568e2190352c00101c3df85623867036f64ad9935681ad2a104abd9f6aa9e79de8f7136a846e256185d065afed23a1
EBUILD boto3-1.16.52.ebuild 1353 BLAKE2B 18cf8ed72642a151a8eb99bc37eb7d23d8bd0423c1686b3508fa902847f7f585f94654cd72c0a54f5d9c968961296fe36baef77f8f0b02451a53992f4a4978b7 SHA512 b1d45a7a53b26efb405df89f600fcd82ddfe8afb2034afd35f5437f63399be0f1f6c9ef9f1ac3cdc30c5f5736927df126c1c899cee51c0cf1729c05674477815
EBUILD boto3-1.9.252.ebuild 1363 BLAKE2B 129489775044be0ff133c24b560b94f6a10bb8b14acff8534b41b0fd60b1f0c4c3497ede6831617cb7985d8b5c647d62cb91a97c4f3431e6c9a08c30b3239384 SHA512 838b045c0ec470566fe469eddc909b36d8a1ec37bd09a46dc45667a542a09a573cb798562559a881afa19dc5ae9157402b6b600ee64d13ca4493eeb7587b9f7b
EBUILD boto3-1.20.24.ebuild 1416 BLAKE2B 8298312daea6c7cf1ef5fbef47dd89671e74497cccbb26b388af53cbcad43250c041f4b5bf302be91d1002fa684b496bac27a59dcf6279084a53b0f5bbd5e6d4 SHA512 8d95d86348c6331574312f6622ea5c0a27169ea13cc30d3dca01b724df13e07791e55f39d127528d576e85872041921b7aef8d1baf53740474a4db9a71a23e28
MISC metadata.xml 252 BLAKE2B 507e0ddc9d50b879ff374b903b142f85d020dfd6c486aba2af84fe082c878e780edbb79188ae10104d57db0eb775c86814cc8c06891a3854c9da840a4d377050 SHA512 9470ac9c8a5a4f80e3f767e7aa198addc7b21866c63b2a310e9f41ce65817672fb77423117bdd619e99cb62322025aeadf50717e23eafabf99080fcc106820af

View File

@@ -0,0 +1,59 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="The AWS SDK for Python"
HOMEPAGE="https://github.com/boto/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/${PN}/archive/${PV}.tar.gz -> ${P}.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.3.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/mock[${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}
}

View File

@@ -1,57 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1 vcs-snapshot
DESCRIPTION="The AWS SDK for Python"
HOMEPAGE="https://github.com/boto/boto3"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="doc test"
if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URI="https://github.com/boto/boto3"
inherit git-r3
else
SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~arm ~arm64 x86 amd64-linux x86-linux"
fi
RDEPEND="
>=dev-python/botocore-1.12.252[${PYTHON_USEDEP}]
<dev-python/botocore-1.13.0[${PYTHON_USEDEP}]
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
<dev-python/jmespath-1.0.0[${PYTHON_USEDEP}]
>=dev-python/s3transfer-0.2.0[${PYTHON_USEDEP}]
<dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
doc? (
dev-python/guzzle_sphinx_theme[${PYTHON_USEDEP}]
dev-python/sphinx[${PYTHON_USEDEP}]
)
test? (
${RDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
)
"
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/build/html/. )
distutils-r1_python_install_all
}