summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-02-23 01:35:37 +0100
committerMichał Górny <mgorny@gentoo.org>2021-02-23 01:35:37 +0100
commite78e226278c44be2171d67f03fd0a8f512c1087d (patch)
tree56ee164a74d5bb04eb5841ef1e72668f99ae67e8 /dev-python/botocore
parentapp-admin/puppet-agent: 7.3.0 stable amd64 with cleanup (diff)
downloadgentoo-e78e226278c44be2171d67f03fd0a8f512c1087d.tar.gz
gentoo-e78e226278c44be2171d67f03fd0a8f512c1087d.tar.bz2
gentoo-e78e226278c44be2171d67f03fd0a8f512c1087d.zip
dev-python/botocore: Bump to 1.20.13
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/botocore')
-rw-r--r--dev-python/botocore/Manifest1
-rw-r--r--dev-python/botocore/botocore-1.20.13.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest
index 06fe87a2ba59..f568c64eda26 100644
--- a/dev-python/botocore/Manifest
+++ b/dev-python/botocore/Manifest
@@ -10,6 +10,7 @@ DIST botocore-1.20.1.tar.gz 7443093 BLAKE2B 62541070fca195777a79619b6270341bed74
DIST botocore-1.20.10.tar.gz 7461957 BLAKE2B 4fe97bc346ca296be929b8173918fb712f68942fb9a8765ff1ea3d0d18a3a269564dc3dad6ccd7d4430e0a69f14c04ea15f15d941d3bc1de39a9757f3c10a3af SHA512 42fc97cc1178d0c5eb6d2758d2a2c2f7642347965df2c13d3220f7868a169435aa28766d3c94b9ea15bb864ce62a280cd492f34a3f96398e07c29b98c9fa18f9
DIST botocore-1.20.11.tar.gz 7465706 BLAKE2B 25fc668ee93f04a538be736678e4186dadf9078d502d11462fda18c75964d14076f2007e48fc70e2b7924243726e1e9cfd8ca34c2c9c0c0ed7ffa4865b576337 SHA512 d7b490873836023252280852b09861ef7d3e8e2acd8d4416ffe627d7688efe992f47338d5c3fe060173b79861716dc2f01ba926a23a925f048ed7f008e43a37e
DIST botocore-1.20.12.tar.gz 7466322 BLAKE2B 07eb28f5b0fef5ffb284a5eac0c78e3430c3539cc18178c8b6bcf10cc397e91c263d89fb08a5f9c6edcaf903602f08ba445836a771b19591ad2acf58cfc4e771 SHA512 c1dee323290e1e1fa31253e23d24671fcf4806872098a8b2e5e851348dcd078ad222f858e3e284a7daa151a3b8caaf6249440d468a3c86d786dc829627bfc4b3
+DIST botocore-1.20.13.tar.gz 7467277 BLAKE2B 9662965ecb4acf1c8ff90e2ee35100c5f14459acc9aefeba4a47fde00acfa1cd20140bea82273f6d7bf74065154be928c97585728cc7650153d2c747c6b87a13 SHA512 e61c2736cd40d15f01550b2c0d1ec289ad6cefbc485ace7f1d11c39c6e29daf37d2fdd34aebb0dd613c7af75312bf672b3bddbfb588d8782e73e949101586155
DIST botocore-1.20.2.tar.gz 7446650 BLAKE2B 777dbcbfcd824a7d009ffc3a1aec8afbd14a097c61a49116db37c6957e6046b8cd0011cdcb3cc344944e568e9f24d15d625a51d0d2d87761279b449783ce9f68 SHA512 3e225dfa55febb9d7bf77dfcbf4b75c8505ed4a90a5a86cc6eea750b4ab7d8a2ceb16891d4473b1bd7ce1cfd43642ee32e20eea65a25d9d6da1a5f02067fa050
DIST botocore-1.20.3.tar.gz 7446281 BLAKE2B 536cbe8f6b6c150f3c66468f3e0c51ae0e602f277ff64ee67a2f149c0481fe603b10439e2fa37831b106d7ca4b23d1e7037cfc55c8e7caf06b8f9cf5561d9544 SHA512 ad0982fb9095e4d8e36a5805f5041fa1241526409d6a1fad3628c52d9870e54fd4a828816eb77f39b60f49ade7805e97cd286f7ac4070ebafbb696e513691e0f
DIST botocore-1.20.4.tar.gz 7447611 BLAKE2B 05cb501cf40748ac1053c4687bd6de7a17d9ac31fe688de8d6aaf8047260f230ea14cc947c4c208a11d26477508b38428fdca116b9fa8212c5ee6ac020a6367f SHA512 b3ec1597b1cf4e9d18e21216f9ba703e4ae0a924653d21cfd93eeffbb13041ad96c3cd099ff1c8631bdcd5c7d6a70e6d36848fdbc44de9f7cebf7ee223918743
diff --git a/dev-python/botocore/botocore-1.20.13.ebuild b/dev-python/botocore/botocore-1.20.13.ebuild
new file mode 100644
index 000000000000..4e5d698e619b
--- /dev/null
+++ b/dev-python/botocore/botocore-1.20.13.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Low-level, data-driven core of boto 3"
+HOMEPAGE="https://github.com/boto/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 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+RDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/jmespath[${PYTHON_USEDEP}]
+ dev-python/python-dateutil[${PYTHON_USEDEP}]
+ >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/jsonschema[${PYTHON_USEDEP}]
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
+)
+
+distutils_enable_sphinx docs/source \
+ 'dev-python/guzzle_sphinx_theme'
+distutils_enable_tests nose
+
+src_prepare() {
+ # unpin deps
+ sed -i -e "s:>=.*':':" setup.py || die
+ # very unstable
+ sed -i -e 's:test_stress_test_token_bucket:_&:' \
+ tests/functional/retries/test_bucket.py || die
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ # note: suites need to be run separately as one of the unit tests
+ # seems to be leaking mocks and breaking a few functional tests
+ nosetests -v tests/unit ||
+ die "unit tests failed under ${EPYTHON}"
+ nosetests -v tests/functional ||
+ die "functional tests failed under ${EPYTHON}"
+}