commit: 6a3bedc605d0da514ff5f662daa9da14984a7bcf Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Oct 17 03:21:56 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Oct 17 03:21:56 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a3bedc6
dev-python/botocore: Bump to 1.18.18 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/botocore/Manifest | 1 + dev-python/botocore/botocore-1.18.18.ebuild | 59 +++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index f208e7b8cf0..7c5c121a3dc 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -11,6 +11,7 @@ DIST botocore-1.18.14.tar.gz 6924624 BLAKE2B 78aa481a792cdd54712730189808df3627c DIST botocore-1.18.15.tar.gz 6926102 BLAKE2B 04947ce595233c04c37268ffb237ba97b1a758280367ed4e01dc9dec17daf75e545d621f42b08fc74d7a27d680188ac3405b4368adef0c1adf6949225913af72 SHA512 a97f12a6fdbdeb97b4e44c895122bee6aeef0b67211dfdb43c7b5aa41af9b4881fcc9d75d83b0dfbc716000c8429577d7c2e73ea63b84f8337ef5f826a3a7015 DIST botocore-1.18.16.tar.gz 6930500 BLAKE2B 3fc435ab9963544d31675c12c63dee166d49804f857bb7a278af2f564d27551dcafc5f9c5e84aef8f8648eae1afcdc509e498820df94819a1ebdb8bf6e34c625 SHA512 ac4c714c29309fb423caf805a855795d6713be85643e4b7269e412f52b79ab67225efa30e25c425fff45ed742e7aa2b4ac2ebe803705d8f60f49d477b0dd49f4 DIST botocore-1.18.17.tar.gz 6940931 BLAKE2B 2a653036b343bdc8c390e41c2ecb871a51aac9c4de6ab58ce2ae4c42a723d02d35d807a9b70a147f67120468c8b0a0ec5bcedc1135d085d0e459480368d59881 SHA512 be64e4e945bc73eaeb394bd3f25dd2ae9b87d1bc39a2e35943ff407db05e982f498de4b80aa4c97e9b2d9ccc0478b7b973a97875cfc3a421e9f0131de1c805f1 +DIST botocore-1.18.18.tar.gz 6942407 BLAKE2B e58183d5aa79a210d82c1dc21806c9c86f993498055c52742e4c1ef2f697ae1faf120b9edf8efeb229dad3f3230f0847b534ac071a1e4d32136eacc3c18c7c84 SHA512 a92a20c86390905f22c10e3ba649008b7c9ccab147b6b3aecc89f26dc891aaf38a974fd8ba1f792a38ac89a98dba64a949741445abf7db133f60189d1e8da31e DIST botocore-1.18.2.tar.gz 6843154 BLAKE2B 77f4cbccd6a686cfbdb2f25fafb9f2210c0e23de72fb40403f905711ec5d073b92cfd003d39406d273feb0bfb90e2ab594f2bb9c1564b5b0879efdf3bcfa47e3 SHA512 f4fec4caf3b4ebca8a593d58827fb4377c2458b7ebccb53ccd830df5423a2021ecebd534d2fe276662f8d8e91078bb5adbf611a52baa29c8ab3526d9c7b975ac DIST botocore-1.18.3.tar.gz 6846755 BLAKE2B 3f6709cac832dff1ba07c2e8b4c235b5bcdf305c9851eedea2ce5f7847d0be93d7e9cbcb1765add47aaec1d0c1c31cdd2c88542a984af570140ffb7fe30d8388 SHA512 a8831b1549a768cea9d550dc2dc3c1c8afc03e018d2ce246569bed35cb9ce25bcb18689d066dc5b6e6dcc69db93e0b0957b32cb68c101127e01cfe3fbfa9fe08 DIST botocore-1.18.4.tar.gz 6850892 BLAKE2B 013319b1055db5a65f25b4d11c0ae97e6eb58a8976eafea98c80a33c756b8715d69fddb86c900e9c3c1a6447d05a7afd2f11a155db5f6cbcefc5f80fccbf680c SHA512 c84b7c5dcb78101d6d04bea2a4453e2c47711133bf4ee1e96c6bea18a0b3de7c41021bfe5ac501eeb2b35d50bfe8782ee29d931adf79ae77a45a2f3b117716df diff --git a/dev-python/botocore/botocore-1.18.18.ebuild b/dev-python/botocore/botocore-1.18.18.ebuild new file mode 100644 index 00000000000..ba67bf7ac94 --- /dev/null +++ b/dev-python/botocore/botocore-1.18.18.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6..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[${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}" +}