diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/boto3/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/boto3/boto3-1.34.114.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 7df48138b477..f231a73ca3f7 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,3 +1,4 @@ DIST boto3-1.34.103.gh.tar.gz 807394 BLAKE2B da291c86a8b20bcaac5f93779899bfa5c6ce207499df393cd921f37021c1c38ed0587edd2261cee8de7ce17264670f9cda072d6748f274e6f3d9b40caa499803 SHA512 3b879f88a145ca7ea7533e4d8aa77cec351f272c59fa119622dab061fd6354f88d33709bd1621802f38f19e8378505caa94b8a6b561d16f4a2aa168828021206 DIST boto3-1.34.108.gh.tar.gz 809808 BLAKE2B 56d21fdc35917426ea94f27ee4c7a59bc9eb8b265bdd6366216df090e25e834a7045cc26559b4773a12771a825054462552a44a701acabf2ba662aae9aee1f90 SHA512 d286bb99b838469b8f467f54fcebba4f3712fd1247cda227ba42dab2690ddc937368edcf54452b1ea555d19c9e0f8852c7ac01f0a3612b0592b16e97abbb6697 DIST boto3-1.34.113.gh.tar.gz 812031 BLAKE2B ffb4cc54a83d9d783eb69694393a6cc8c4d07325496802de80e8ac1999a1b5f45166571ae52eb8b38cb7d3e58d0cc8114088f7cd698f090b6ab1244565c0af63 SHA512 eebde25a83b2a7169b6892fa61475f26f9bf6baf7eff242d8bde0a5cd1920a7a39107071b093e59aca2a742662e16825b7fcf2850f59840da63a9cf78a19615d +DIST boto3-1.34.114.gh.tar.gz 812014 BLAKE2B fd11639c03d8b5a106af0781d71bc10f185aadeeb27aa5cd62fb6c005e4fa57eb1cbfa544c4940817e4ac28a085ff6c6aaa77d4a9ef19928f605e21b93ff7984 SHA512 3f4ace4460d467a490e885bd1e523799495e83dcc51815ddd7ca77a7ba054057763fa9f13f5c6c89e2603be880d7d85b5ac0ae523c05a016285bf8dd9b3e1f29 diff --git a/dev-python/boto3/boto3-1.34.114.ebuild b/dev-python/boto3/boto3-1.34.114.ebuild new file mode 100644 index 000000000000..2c733040b7a3 --- /dev/null +++ b/dev-python/boto3/boto3-1.34.114.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 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 + +DESCRIPTION="The AWS SDK for Python" +HOMEPAGE=" + https://github.com/boto/boto3/ + https://pypi.org/project/boto3/ +" +SRC_URI=" + https://github.com/boto/boto3/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/botocore-${PV}[${PYTHON_USEDEP}] + >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] +" + +EPYTEST_XDIST=1 +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} +} |
