commit:     29a27378eaa7d253c5d65856ce73f09c24976975
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 16 06:46:00 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul 16 08:02:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29a27378

dev-python/botocore: Bump to 1.27.31

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/botocore/Manifest                |  1 +
 dev-python/botocore/botocore-1.27.31.ebuild | 66 +++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index affbf2225ac3..822d8993e62d 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -5,3 +5,4 @@ DIST botocore-1.27.27.tar.gz 9168895 BLAKE2B 
71cc1d94a570110305a37c6813e626bf2c0
 DIST botocore-1.27.28.tar.gz 9170693 BLAKE2B 
9efecb772f0a84edf61f9556bc3c2081fc4681b922c176ba56a42a951e18959ab135d80183e3667df6b21a1a129bc09b5e223d69081c45f33f3aebf7599e03e3
 SHA512 
22286e962a6e2f90d37e004e78b8b55cd446141f0c0dd2e21ac54b9ee2eb2a00dd791f10eaf511b0f31d93795fee042985cea431a7ced4ded2de5f174cfe9c8b
 DIST botocore-1.27.29.tar.gz 9172216 BLAKE2B 
9ebf2594a21d3b48ce13bac6901884db14ef1216cbb73783a30390ef67973cca24aa50e1226e836124c97512a8f3307b2c18dbfcd52cbf01e69c44046d1f572a
 SHA512 
8897209c8edef1f8e1f5a877e62809760b62a2009f8c0bf59922fde7193fe60b49a15d9eecb6d6bf647418d35b580e277eff2bb14152be301ce67b4dc8dd6f1d
 DIST botocore-1.27.30.tar.gz 9181239 BLAKE2B 
a9076ee8dfd19f3d29f4dee028af9ec7e49b5888b4655e32cb38428cd29abd44435e51f45d5be64f45715899ebb72046dd99ded3e76351903d83cc674632f2d3
 SHA512 
be3cff0e0482fe6f6b981da6b523b78cab5727956b19d6cce3cad8748766253ede38522f1ce93f17726481c16d54eb87fb1aae5514c6eb1690a143fc42e61cd2
+DIST botocore-1.27.31.tar.gz 9184651 BLAKE2B 
01dcd9e94490923f7d0f463d3019007f58c5e441ae65ea2c365ed20417e8f7b532228a335c6f461ca97411269aaa78aa48fa33cccd8b2e45a6665c2410bb4352
 SHA512 
27f810e0519144fae71600ea7f6d9a15cca30386ee0f2b06beeeb64c06da8728b54709fb770673f708697dd930fe744703728ce00b6a1149361ab550fef9ccb4

diff --git a/dev-python/botocore/botocore-1.27.31.ebuild 
b/dev-python/botocore/botocore-1.27.31.ebuild
new file mode 100644
index 000000000000..830c713f6036
--- /dev/null
+++ b/dev-python/botocore/botocore-1.27.31.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1 multiprocessing
+
+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="mirror://pypi/${PN:0:1}/${PN}/${P}.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}]
+               dev-python/pytest-xdist[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_sphinx docs/source \
+       'dev-python/guzzle_sphinx_theme'
+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
+       )
+
+       epytest tests/{functional,unit} -n "$(makeopts_jobs)"
+}

Reply via email to