From d47b7680e8c13e11ed7529d7773e5c5deb8b1173 Mon Sep 17 00:00:00 2001 From: Andreas Billmeier Date: Sat, 11 May 2024 19:31:51 +0200 Subject: [PATCH] dev-python/boto3: re-add old version from Gentoo Archive Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/3236 Signed-off-by: Andreas Billmeier --- dev-python/boto3/Manifest | 6 ++-- dev-python/boto3/boto3-1.33.13.ebuild | 2 +- ...o3-1.28.17.ebuild => boto3-1.34.51.ebuild} | 32 +++++++------------ 3 files changed, 16 insertions(+), 24 deletions(-) rename dev-python/boto3/{boto3-1.28.17.ebuild => boto3-1.34.51.ebuild} (60%) diff --git a/dev-python/boto3/Manifest b/dev-python/boto3/Manifest index 297f9a786..7f3c45d42 100644 --- a/dev-python/boto3/Manifest +++ b/dev-python/boto3/Manifest @@ -1,5 +1,5 @@ -DIST boto3-1.28.17.gh.tar.gz 683517 BLAKE2B 5643bb0da88893cf07013786dafeccd02ec0c060fcd74e8accc6e77d0ebc874b01741c1adfe5fc143f979d4d309a5f9b3fc1bb0d1cabafe6d5f4e724d4355da4 SHA512 5c943d3354a59c905e8d32fa5ebf854dee527dd2afbb18f421c256718cf2710d4f10158512a2aeda9b0a6687b668dd8ad76b593e9a2ba9037d665ecda2d30550 DIST boto3-1.33.13.gh.tar.gz 754864 BLAKE2B 4dc2900b26610ad10361885ffbdcf2ca55b73a1d665bb2c19f98d0afae619b8cb885d3d5b5fa8e1cda299aab8ac0ccd66a9c85a765c0eeb4fdac2b85d75e7617 SHA512 40489e66fd591c05d58312015a91b5d42485af9d643db163b725a857438ca6b2306b237fd38f685ce4a4380688dcbf734aa8a49c4336bbe5135838bda8e7da82 -EBUILD boto3-1.28.17.ebuild 1460 BLAKE2B 7d08eb64840f3fc2899d98f9e08bb87c53beeebc83e12750a95fd0752b5c811c2fb8a0673876786b0f4d40797c64f8531e5581e8f158abe28a40f6dd6afc3578 SHA512 2d0d4d47bc7243b1a5ec462a505241335b1311a461f17d6a954516171d16d168a9a165de3a921e00b9243af4fdcb0cc59c2db543d9df89d37229c5ca5bff43cd -EBUILD boto3-1.33.13.ebuild 1460 BLAKE2B 5091bab01d4a7a5ef6bc961004b2c8236b84d41d27bf1fc29ac8248d0b00012e05f20bc57a127e30e77763be696ff15124718ff4ba7f5b2992c5f73a8067bd72 SHA512 8cabdb9547fd9450afed5ea464ed5f5b40139048e047c4e41af3168ba199df0d2ddafb60944d9552226ea50b7f211a97d78c1079526c23501268d074e8fb6417 +DIST boto3-1.34.51.gh.tar.gz 777437 BLAKE2B f39d180cda6958307524ff26b8015fe50a5c41d6c0ef6858363b60c086a48b18263024d2801afa5ffa8838915de7789cd1d5d949892acc3b018e8191eeb06e8b SHA512 f524c9e0d7d91eb6dd40cc017b04cbc46593ef2c16eae3da7018e5bbaab0213d7defde5d3958c83122cf5e6895a896f74e1401f0d0227d0240066f52cfbbe64d +EBUILD boto3-1.33.13.ebuild 1460 BLAKE2B 68e8f9f8590a77fec74d5006475fab7022a885cc2e89e3715973c70581cd4bffb17222865d8bb5d84e837000bfc8d8ce7eb968e15e75aff64a45625e4273f989 SHA512 bcb47d2b0af5bbd1a7f555c5c2b1ef44df714b4f2f6dbd34609314701b2d73cf75d1ea3529067bbee7046c8c5a27286a9b8f06f59968b4c72eece90c9d3c6208 +EBUILD boto3-1.34.51.ebuild 1211 BLAKE2B 08ce87f6cbd27ab68c1a730d91671ac49747c9fa91ccf7a5a93434b21bb4857bfd2d7c42b23126b86738f77280c3b1cf1885fef85c0d603bf046b617693ded99 SHA512 e73f3eef53e46c38bf9e07dd9a0fedff79323fdd5a1b74c214234e00fc689c9103d386cecd533ac8b16b18862440a61c2da696507995b28e1d88b04020a5ea4d MISC metadata.xml 376 BLAKE2B 9f600dc5b70f21f29d0e2aeae5a0b63a8103aef7672886c73c426548be7d3c6456cb1db5ec1f9bafb25a842b1ee9eb8d2bc7e994a2bde97b22b314596af9bba4 SHA512 e4761064832b6e88f33c601c4011b2a99cfd60b92172f04fa112d97017b58f3647047b264f29c6955d116394067bf631f34872801e9ab13726716965a2f7cab4 diff --git a/dev-python/boto3/boto3-1.33.13.ebuild b/dev-python/boto3/boto3-1.33.13.ebuild index b07854b91..2e9341c14 100644 --- a/dev-python/boto3/boto3-1.33.13.ebuild +++ b/dev-python/boto3/boto3-1.33.13.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{11..13} ) inherit distutils-r1 multiprocessing diff --git a/dev-python/boto3/boto3-1.28.17.ebuild b/dev-python/boto3/boto3-1.34.51.ebuild similarity index 60% rename from dev-python/boto3/boto3-1.28.17.ebuild rename to dev-python/boto3/boto3-1.34.51.ebuild index c94b47317..8ec7e5f11 100644 --- a/dev-python/boto3/boto3-1.28.17.ebuild +++ b/dev-python/boto3/boto3-1.34.51.ebuild @@ -4,45 +4,36 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{11..13} ) -inherit distutils-r1 multiprocessing +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" - -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 x86" - # 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/botocore-${PV}[${PYTHON_USEDEP}] >=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}] - >=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}] + >=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}] " BDEPEND=" test? ( dev-python/mock[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] ) " +EPYTEST_XDIST=1 distutils_enable_tests pytest python_prepare_all() { @@ -62,5 +53,6 @@ python_prepare_all() { } python_test() { - epytest tests/{functional,unit} -n "$(makeopts_jobs)" + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} }