From 2fd57282f0262ca084e05b0f2c63fbada395d02b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 16 Jan 2022 20:27:28 +0000 Subject: gentoo resync : 16.01.2021 --- dev-python/boto3/Manifest | 14 ++++++++- dev-python/boto3/boto3-1.20.23.ebuild | 4 +-- dev-python/boto3/boto3-1.20.31.ebuild | 59 +++++++++++++++++++++++++++++++++++ dev-python/boto3/boto3-1.20.32.ebuild | 59 +++++++++++++++++++++++++++++++++++ dev-python/boto3/boto3-1.20.33.ebuild | 59 +++++++++++++++++++++++++++++++++++ dev-python/boto3/boto3-1.20.34.ebuild | 59 +++++++++++++++++++++++++++++++++++ dev-python/boto3/boto3-1.20.35.ebuild | 59 +++++++++++++++++++++++++++++++++++ dev-python/boto3/boto3-1.20.37.ebuild | 59 +++++++++++++++++++++++++++++++++++ 8 files changed, 369 insertions(+), 3 deletions(-) create mode 100644 dev-python/boto3/boto3-1.20.31.ebuild create mode 100644 dev-python/boto3/boto3-1.20.32.ebuild create mode 100644 dev-python/boto3/boto3-1.20.33.ebuild create mode 100644 dev-python/boto3/boto3-1.20.34.ebuild create mode 100644 dev-python/boto3/boto3-1.20.35.ebuild create mode 100644 dev-python/boto3/boto3-1.20.37.ebuild (limited to 'dev-python/boto3') diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 58e04d3a7ce8..96ec2cd05454 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -4,13 +4,25 @@ DIST boto3-1.20.24.tar.gz 456338 BLAKE2B 4192f20a7a5c247a72b381506697034d744fd62 DIST boto3-1.20.25.tar.gz 457371 BLAKE2B f1e6ab3add86f0ba25b22d92f58580e4ab86affdfb5c3b6f9a53938a2a647d0fc8cd23975cd60b909e5db339d442820e557497e232bda836ac9f2028b376afcf SHA512 2693134800ad3313785922c654296ca04a5b561e135fc60a45784e8190cdeb1dd525e6a81f314fda9f14f9dfddd5ffd8bde9af2d2be50b61921b9ec1248fee07 DIST boto3-1.20.26.tar.gz 458382 BLAKE2B a2123120c07bc8e53004f6c76f6631f3363d5d8e58057a08d2edf914d3a7ea1d2d6a771529abf7031604ac1c366a5b8ee4934e6d34d27eb3dd0716bc16cd6d22 SHA512 5ad18954f8347f240031c2dfab2664bf760b334b12ae90f1d2613f53194843f500164e645445d17fd4e7e7061beb3e2fe34a5a2651a92fdef5efecb18324cd36 DIST boto3-1.20.29.tar.gz 457663 BLAKE2B 8bb10de51a0250c3bf18b339ca6d9aa54985ebb0ff860862ced57ca1f0455f4c95834a689530e3bad043711735c22fee41e2e860602d7024bb8128ecaee7aa85 SHA512 c19e24a70d68919a2953a1f8060b519782a422183385276e0a439da2150fb20bf24e89153ecd9a134ee0fd631921569739aebf226815ca9c63244c8f2bc3c59a +DIST boto3-1.20.31.tar.gz 458553 BLAKE2B 396acd8bbc47f76a0ba65da4b83f141f253690370f6cd36fcfad8b4ba1017889bb2c4c63bbcc8e3f817307cca666593072becde30b5739f38386f764a9f2c876 SHA512 0772959c735a6002431f171b6476398a1e1096301c20b5429504ed9a9bd6e3a2b6e95392504b3ea49ef942ab6c5210a0d26a0cdde6be52bb88d642ce776576b9 +DIST boto3-1.20.32.tar.gz 459036 BLAKE2B 21aaba2f5f5db65edc3570e44082cf394429407c0431bdfc19866e530b48358909ab730ecb5b871dcbb5f4c087af43f53474a7dca6ce9ca84e78ba480f5cc819 SHA512 a50f0724f4c6ab8b0fc0b329909ff35126bbdc9c73da5927dd1259565b2e43e87c718bbf8b2dd5433e75b4d35b8094d3fc122163febbbe66b6175ecfeb81fad9 +DIST boto3-1.20.33.tar.gz 459654 BLAKE2B bf2090e6af9cad5f4e9e5178d30e109c63c403137f9656c22358bb672da7e0ca2e9f36585b5721f2a7bbb2d3d3027fb3942e055d3db78ede0b03f5b6a2e6ad78 SHA512 877c8e59686cd7ac940aa7fb1f2adc75a89e4ce5c74e7a999bebe80e80819c6f909ee8f9acca1c85a6a11f3b7a8ba39a41221ec54a8b99c412da9208a791f4b3 +DIST boto3-1.20.34.tar.gz 460169 BLAKE2B d687bb3a90da0e8cd48e551dad68754edc97689350f43879c90e8c96470dc79d389b5332d06d079dd4d26f303d9260f1a83bfc2edfa2507e3a33020e4475e8f1 SHA512 ae13db5ed516a9166c14e72e078f45c911a9c16edc2e2d95dc296de09345fb311ecad92ec7615137b01edaae254d075b74e68c1c909a79b2eb1ac2416ab5bbad +DIST boto3-1.20.35.tar.gz 460636 BLAKE2B 4ec04ae5caac912beb4933727ef0f8f1266b9ab27788a98d7ae10fc8b19a79e3deeed0ce6c1156f12ad12062df24828909fff070813fae4efc705b5e7babc2b1 SHA512 59fcaf477d5d67d68dcc007d93391b71ad8d04d46fc3c098c3f0fb7c82806a1a37999bdb292a240862dbaf83a6c2890d947315d1d9a4faeae68fb9e896cae73b +DIST boto3-1.20.37.tar.gz 461197 BLAKE2B 4ae94815809401378bbd6c6b7774776c62436c3ae379be44b045105d00ffdebc6cfba1112ed6d4693662c6a00b5de53b4fcd1ea605a93cccb1406f3f983d8c9a SHA512 368abbe51e814b5a8080323f436d8e0b5ea660b31abd77a49299afd6363c3d10e51883a3237f06799be53472c3e24c76f5ba3ece8cc9721b87fe3fb40ad8911f DIST boto3-1.20.5.tar.gz 439166 BLAKE2B c140e15e497e6cdf6b4b77bb99e0a0f5ac01d5b5793f8bfb210b52bbc09e39e6fe06a957951375e0795210dc1c3b2a0afd2f498bc88e449d9e6846f2b357f016 SHA512 2823466e4851684253d4ce42a8c34e5cbdad6d04c823040fe2cebdf0cffb14d5d3f40e28d57ebec14533fab04ba74f27c25f078ddb8791b8f52d0424e11b39fc EBUILD boto3-1.20.14.ebuild 1416 BLAKE2B 089d128962ec5e55846a7a0c0af7bec14201267edcdef77a8b6e17d72081c025a686210aeecec47b4ff6ddeb772d1e239ef8f49b50cf0901a5c7dd8bd027cd9b SHA512 6fc35112e805b4d9f7ff1a20f7096d49d52fec6edd6fd1feb0762686778b2b9fb20d1edcbc90fe94545200525473c974f8af9d386aad59231c8d1bb88eb8a112 -EBUILD boto3-1.20.23.ebuild 1423 BLAKE2B 23c9d455b8d9a7db524b3452b203b35b075318890aaebb1602b0870ccdc47131e0eb6c3a66eb78782d51133f22e5698c13f2b21d3b125ad92bf96329e82fbc1b SHA512 e67197872e4193cf40cbeeb2812c6dee68a3b580a25d8b343312641cd0f54cb6fab7d6b14ba60a8fe0a708c0611308d1bc5579fc358e5b7421d4c6eede3a337f +EBUILD boto3-1.20.23.ebuild 1416 BLAKE2B 8298312daea6c7cf1ef5fbef47dd89671e74497cccbb26b388af53cbcad43250c041f4b5bf302be91d1002fa684b496bac27a59dcf6279084a53b0f5bbd5e6d4 SHA512 8d95d86348c6331574312f6622ea5c0a27169ea13cc30d3dca01b724df13e07791e55f39d127528d576e85872041921b7aef8d1baf53740474a4db9a71a23e28 EBUILD boto3-1.20.24.ebuild 1423 BLAKE2B 23c9d455b8d9a7db524b3452b203b35b075318890aaebb1602b0870ccdc47131e0eb6c3a66eb78782d51133f22e5698c13f2b21d3b125ad92bf96329e82fbc1b SHA512 e67197872e4193cf40cbeeb2812c6dee68a3b580a25d8b343312641cd0f54cb6fab7d6b14ba60a8fe0a708c0611308d1bc5579fc358e5b7421d4c6eede3a337f EBUILD boto3-1.20.25.ebuild 1423 BLAKE2B 23c9d455b8d9a7db524b3452b203b35b075318890aaebb1602b0870ccdc47131e0eb6c3a66eb78782d51133f22e5698c13f2b21d3b125ad92bf96329e82fbc1b SHA512 e67197872e4193cf40cbeeb2812c6dee68a3b580a25d8b343312641cd0f54cb6fab7d6b14ba60a8fe0a708c0611308d1bc5579fc358e5b7421d4c6eede3a337f EBUILD boto3-1.20.26.ebuild 1423 BLAKE2B 23c9d455b8d9a7db524b3452b203b35b075318890aaebb1602b0870ccdc47131e0eb6c3a66eb78782d51133f22e5698c13f2b21d3b125ad92bf96329e82fbc1b SHA512 e67197872e4193cf40cbeeb2812c6dee68a3b580a25d8b343312641cd0f54cb6fab7d6b14ba60a8fe0a708c0611308d1bc5579fc358e5b7421d4c6eede3a337f EBUILD boto3-1.20.29.ebuild 1423 BLAKE2B adf122753f3f34b4c12637d48c28310d9989dbcab37330a6badda36fee76aff46e613d4bf45280b802e5d99610b63a9baaf46709ddb7e4039dd2a0f2aef88081 SHA512 2f0f3e9c965119bed75901f60727dc8ca909dc8ed3d4dce571710a887d32e1fda53cddfd578c8bc76fe979212e937accd45aaff8c4b70f4e7565751ce3e9d700 +EBUILD boto3-1.20.31.ebuild 1423 BLAKE2B adf122753f3f34b4c12637d48c28310d9989dbcab37330a6badda36fee76aff46e613d4bf45280b802e5d99610b63a9baaf46709ddb7e4039dd2a0f2aef88081 SHA512 2f0f3e9c965119bed75901f60727dc8ca909dc8ed3d4dce571710a887d32e1fda53cddfd578c8bc76fe979212e937accd45aaff8c4b70f4e7565751ce3e9d700 +EBUILD boto3-1.20.32.ebuild 1423 BLAKE2B adf122753f3f34b4c12637d48c28310d9989dbcab37330a6badda36fee76aff46e613d4bf45280b802e5d99610b63a9baaf46709ddb7e4039dd2a0f2aef88081 SHA512 2f0f3e9c965119bed75901f60727dc8ca909dc8ed3d4dce571710a887d32e1fda53cddfd578c8bc76fe979212e937accd45aaff8c4b70f4e7565751ce3e9d700 +EBUILD boto3-1.20.33.ebuild 1423 BLAKE2B adf122753f3f34b4c12637d48c28310d9989dbcab37330a6badda36fee76aff46e613d4bf45280b802e5d99610b63a9baaf46709ddb7e4039dd2a0f2aef88081 SHA512 2f0f3e9c965119bed75901f60727dc8ca909dc8ed3d4dce571710a887d32e1fda53cddfd578c8bc76fe979212e937accd45aaff8c4b70f4e7565751ce3e9d700 +EBUILD boto3-1.20.34.ebuild 1423 BLAKE2B adf122753f3f34b4c12637d48c28310d9989dbcab37330a6badda36fee76aff46e613d4bf45280b802e5d99610b63a9baaf46709ddb7e4039dd2a0f2aef88081 SHA512 2f0f3e9c965119bed75901f60727dc8ca909dc8ed3d4dce571710a887d32e1fda53cddfd578c8bc76fe979212e937accd45aaff8c4b70f4e7565751ce3e9d700 +EBUILD boto3-1.20.35.ebuild 1423 BLAKE2B adf122753f3f34b4c12637d48c28310d9989dbcab37330a6badda36fee76aff46e613d4bf45280b802e5d99610b63a9baaf46709ddb7e4039dd2a0f2aef88081 SHA512 2f0f3e9c965119bed75901f60727dc8ca909dc8ed3d4dce571710a887d32e1fda53cddfd578c8bc76fe979212e937accd45aaff8c4b70f4e7565751ce3e9d700 +EBUILD boto3-1.20.37.ebuild 1423 BLAKE2B adf122753f3f34b4c12637d48c28310d9989dbcab37330a6badda36fee76aff46e613d4bf45280b802e5d99610b63a9baaf46709ddb7e4039dd2a0f2aef88081 SHA512 2f0f3e9c965119bed75901f60727dc8ca909dc8ed3d4dce571710a887d32e1fda53cddfd578c8bc76fe979212e937accd45aaff8c4b70f4e7565751ce3e9d700 EBUILD boto3-1.20.5.ebuild 1409 BLAKE2B 09669b67946f26bccb5f8886bc2ef412c4575263c129de5ebf5a1b9799077f44e2939a6c64e213f49ba54959d75ac2265e21eed71ce67e432a7f5d81d1ec4e7d SHA512 cc3047469af35dbc9e7e7963bec4b29c5af79680fd7aeb98aad094e751d13ae8dcf7b1f9f2e79e44531a086423a26a02a5b980314f2ded366b2a99fda8abd9bb EBUILD boto3-9999.ebuild 1343 BLAKE2B b2887132265c9ba8dc7ee25f402103f3384553d7cf921f2f0280ad04c508adeb21a27baa344a0a7bdfbe38bc5c822e93b2d7a04ff2dfb57e988f234eaf0fe642 SHA512 766f1cdc7617ae2cc9cceccc7ff8dbfddc200d84fef7edc6c9b5a7b42fd599715ab221054854b3f5a4f050f4f4a27d7a8f5216e063b340ef75aa82b2d2d2da8d MISC metadata.xml 493 BLAKE2B 7d6324fc877ffe1d20c5369c2af0b09a7028f94d28f1841188913d0d8be7ea699c9d3f92c624992c4c96bd69615d3a1211a2483c76c56b7d3082492e43512523 SHA512 44420d8c03d5986f990b76369edfa8dfd7659b4952db3ad946fd05392ec594628a28745ad888d055d4f074d5214f61fcffafe6c04c4ab54109d45ac0371582bd diff --git a/dev-python/boto3/boto3-1.20.23.ebuild b/dev-python/boto3/boto3-1.20.23.ebuild index 9e72dd682a4c..17ec30c411f8 100644 --- a/dev-python/boto3/boto3-1.20.23.ebuild +++ b/dev-python/boto3/boto3-1.20.23.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,7 +17,7 @@ if [[ "${PV}" == "9999" ]]; then 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" + 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-)" diff --git a/dev-python/boto3/boto3-1.20.31.ebuild b/dev-python/boto3/boto3-1.20.31.ebuild new file mode 100644 index 000000000000..0d5810a8ffe0 --- /dev/null +++ b/dev-python/boto3/boto3-1.20.31.ebuild @@ -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} +} diff --git a/dev-python/boto3/boto3-1.20.32.ebuild b/dev-python/boto3/boto3-1.20.32.ebuild new file mode 100644 index 000000000000..0d5810a8ffe0 --- /dev/null +++ b/dev-python/boto3/boto3-1.20.32.ebuild @@ -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} +} diff --git a/dev-python/boto3/boto3-1.20.33.ebuild b/dev-python/boto3/boto3-1.20.33.ebuild new file mode 100644 index 000000000000..0d5810a8ffe0 --- /dev/null +++ b/dev-python/boto3/boto3-1.20.33.ebuild @@ -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} +} diff --git a/dev-python/boto3/boto3-1.20.34.ebuild b/dev-python/boto3/boto3-1.20.34.ebuild new file mode 100644 index 000000000000..0d5810a8ffe0 --- /dev/null +++ b/dev-python/boto3/boto3-1.20.34.ebuild @@ -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} +} diff --git a/dev-python/boto3/boto3-1.20.35.ebuild b/dev-python/boto3/boto3-1.20.35.ebuild new file mode 100644 index 000000000000..0d5810a8ffe0 --- /dev/null +++ b/dev-python/boto3/boto3-1.20.35.ebuild @@ -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} +} diff --git a/dev-python/boto3/boto3-1.20.37.ebuild b/dev-python/boto3/boto3-1.20.37.ebuild new file mode 100644 index 000000000000..0d5810a8ffe0 --- /dev/null +++ b/dev-python/boto3/boto3-1.20.37.ebuild @@ -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} +} -- cgit v1.2.3