diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-12-02 06:58:33 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-12-02 07:59:29 +0100 |
commit | 24e32d6bf336082d35fc3f796385ee0e6e37b2b9 (patch) | |
tree | db50dd1fd312e6fd3ef662ef4be16a71dfdab85e /dev-python/botocore | |
parent | dev-libs/nss: add 3.95 (diff) | |
download | gentoo-24e32d6bf336082d35fc3f796385ee0e6e37b2b9.tar.gz gentoo-24e32d6bf336082d35fc3f796385ee0e6e37b2b9.tar.bz2 gentoo-24e32d6bf336082d35fc3f796385ee0e6e37b2b9.zip |
dev-python/botocore: Bump to 1.33.6
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/botocore')
-rw-r--r-- | dev-python/botocore/Manifest | 1 | ||||
-rw-r--r-- | dev-python/botocore/botocore-1.33.6.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 6637ab09c40c..9a794e4ff6d0 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -6,3 +6,4 @@ DIST botocore-1.33.1.gh.tar.gz 12352240 BLAKE2B e87e0204e3b4c2274a9bb7a9b31128cb DIST botocore-1.33.2.gh.tar.gz 12455360 BLAKE2B 8cc7c4cea1d2cb342c63e2d335801ae2fe27e3473ffd05205b01ce33c7d7610b24960e5cb3899d7145a1dcd4a4d7b3d279e96210a8e86bcf5b192090a75204ea SHA512 f25893ebd7e172ca354b203121a7516e242ecc7c320b7f9e7b8313936710dc2fecfebe987be401de73f0c6cc8301163689ec4bff9354ebe63ae862d32d892378 DIST botocore-1.33.4.gh.tar.gz 12506808 BLAKE2B d8bba2722e13e37ef867e1565d52de439b6e143301f9ea3bcb0eeb896903f69d226041234e6ed570b9483d6cd2e3ad687a57d24a5bae66560f70939f75d1122f SHA512 a0a980d261618aba5b55bef588fc8b5c5c852d134921977d2714ba6698246955187864ab3b6219900735e8d294a58b7953bc8f226c56b06065bf1fd2e6f8f1b6 DIST botocore-1.33.5.gh.tar.gz 12514042 BLAKE2B ba16606352fffdf478b3f1ceb0712aa0b0a18508ec0f3f4e4f9ba1c3366a2a615549e6b194101d7634bd22eebdea63ad5aa41e810ec4b733b9c09fdfaef02ba3 SHA512 1f26f58009ae84acd7b4557c04af3acc2f5f6900357419565c4fbb5ee54fc54c8593e7b21a27a9c374f4edab8b95555bd891f52f9026283df20f867ad90b74ea +DIST botocore-1.33.6.gh.tar.gz 12516087 BLAKE2B da3ca22acb5b6ee27eb3c0f7dab4ad43597ab985aa7512f4f4a51c2ca3db80a049e13faaf986dd4a02125f92c088129506651125a826184656250665dc7b7128 SHA512 cae5019d85c9b3afcfd93fe58d0e51c5a6e0769d58b2a8b1285a34ce66be8db34e9c5dc4dc74ff72e0992cdd142d101e3663fa1d68a2779fa9c09de37d2f2001 diff --git a/dev-python/botocore/botocore-1.33.6.ebuild b/dev-python/botocore/botocore-1.33.6.ebuild new file mode 100644 index 000000000000..05766e84276c --- /dev/null +++ b/dev-python/botocore/botocore-1.33.6.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2023 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="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +LICENSE="Apache-2.0" +SLOT="0" + +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://github.com/boto/botocore" + inherit git-r3 +else + SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +fi + +RDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + # unpin deps + sed -i -e "s:>=.*':':" setup.py || die + + # unbundle deps + rm -r botocore/vendored || die + find -name '*.py' -exec sed -i \ + -e 's:from botocore[.]vendored import:import:' \ + -e 's:from botocore[.]vendored[.]:from :' \ + {} + || die + + distutils-r1_src_prepare +} + +python_test() { + local EPYTEST_DESELECT=( + # rely on bundled six + tests/functional/test_six_imports.py::test_no_bare_six_imports + tests/functional/test_six_threading.py::test_six_thread_safety + ) + + local -x EPYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} |