summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-09-09 07:37:19 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-09-09 10:22:47 +0300
commit04ca1dba34d3a19ce2979b4d5e40aabff157bbb9 (patch)
treea50eda00375f68b40488fd6ccccd76fb8f721fa5 /dev-python/botocore
parentgui-libs/egl-wayland: revbump with updated 1.1.11 tag (diff)
downloadgentoo-04ca1dba34d3a19ce2979b4d5e40aabff157bbb9.tar.gz
gentoo-04ca1dba34d3a19ce2979b4d5e40aabff157bbb9.tar.bz2
gentoo-04ca1dba34d3a19ce2979b4d5e40aabff157bbb9.zip
dev-python/botocore: add 1.27.69
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/botocore')
-rw-r--r--dev-python/botocore/Manifest1
-rw-r--r--dev-python/botocore/botocore-1.27.69.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index baf7bec4147b..6511a7f194d8 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -4,3 +4,4 @@ DIST botocore-1.27.63.gh.tar.gz 9581263 BLAKE2B 3b225160fe0095aa77754c874ceff558
DIST botocore-1.27.64.gh.tar.gz 9588817 BLAKE2B 2479d7f6565a78baf7b9504bfdbba74f486b37968bf5074fc1eac150bcf410bd64d23fe47c1a057a38a94c8b4d29bf393613fa739c6c2007e5f523852ae02a24 SHA512 40e689b86997961c149877dc896281f722d09c2ab95149f4a40e98cd55a4a35ce77da5ff793f53801609b9084879ce2af8679771bd6bde2305c9cb27a1360e74
DIST botocore-1.27.65.gh.tar.gz 9592250 BLAKE2B 7ecb6d13c061100d101b5c3fdf84b25a74137ee49efda86b13549341f6a6932d07ddf0858bd436e0de4719617f2352b423757fd618501ccd1a37b74b9bb5f358 SHA512 cc3ea5329c41e6b0ffc55f170feadc1550e5ca3656c59d809600148cc2268cb2bace6d0b95dfb9031338c90fe3c2e89081bfeb100903c0eed7249612e539c522
DIST botocore-1.27.66.gh.tar.gz 9595449 BLAKE2B 861421948b9ab5d80e77805f6bab8a013005ed89912084bc436cdd3d0ca00d4e94f82f0928a0a3c9833135ce5b91395f36d5d29633fb38355da4e23c03d4699e SHA512 163059aac7d75182ba85017f96be75ab556dbedda54ca51221530c51ee795e51fda0b5a0d59a42a4554a7059396d53f1f83a96fd16b90d738773cc97dfce4000
+DIST botocore-1.27.69.gh.tar.gz 9598373 BLAKE2B 678cfea9cee9c9dbdae1fc7d23ef8530de122fc6443d5531fbcc458015d12f03e2ca21efd7103d014db541a5b064210ac85d1a7a182d00caa5d3c61c6fbb74af SHA512 856d0a5e75b929f5ccea31aa0f164db6c2c402edd6070f92b2a1c3b794eb0189be677dc0f527315af9b0d788e3e6247b8402d6e60749faf147aca6b559d0ad7c
diff --git a/dev-python/botocore/botocore-1.27.69.ebuild b/dev-python/botocore/botocore-1.27.69.ebuild
new file mode 100644
index 000000000000..d1a6948e70e5
--- /dev/null
+++ b/dev-python/botocore/botocore-1.27.69.ebuild
@@ -0,0 +1,72 @@
+# 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="
+ 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}]
+ 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
+ # fails on unrelated warnings
+ tests/unit/test_client.py::TestAutoGeneratedClient::test_BOTO_DISABLE_COMMONNAME
+ tests/unit/test_client.py::TestClientErrors::test_BOTO_DISABLE_COMMONNAME
+ )
+
+ epytest tests/{functional,unit} -n "$(makeopts_jobs)"
+}