diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-01-11 12:47:17 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-01-11 12:47:17 +0000 |
| commit | 6aa2bfa39225b95de78ae7a4043881dfe8bc77cd (patch) | |
| tree | a9aa3ed08b487ef5523335d2fc3f0d6c33f8406b /dev-python/botocore | |
| parent | 6c0f684d28eb60e07b5e4d0eb45107431275dde5 (diff) | |
| download | baldeagleos-repo-6aa2bfa39225b95de78ae7a4043881dfe8bc77cd.tar.gz baldeagleos-repo-6aa2bfa39225b95de78ae7a4043881dfe8bc77cd.tar.xz baldeagleos-repo-6aa2bfa39225b95de78ae7a4043881dfe8bc77cd.zip | |
Adding metadata
Diffstat (limited to 'dev-python/botocore')
| -rw-r--r-- | dev-python/botocore/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/botocore/botocore-1.29.47.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 07bb2bc8999f..a700f1808c52 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -2,3 +2,4 @@ DIST botocore-1.29.37.gh.tar.gz 11077206 BLAKE2B 59c877edba074d4d5858dbf0a4026c0 DIST botocore-1.29.41.gh.tar.gz 11082628 BLAKE2B a42a66299715159e82bb7bd9ceb5d1d60e88bfe2f59f66231605c909b03110ec18e6f946690c5b33e662fc92719e45fa4cf64ac31176d809908f3574fece5d49 SHA512 b3a5409f3d868c93fd038687d8c864be3c9cacbf4740ba0dd745358cadcce9aa8d76616d7f93316ac14f5f94f18ed42505ec108e2557b234b26c01ca0f3fc22c DIST botocore-1.29.45.gh.tar.gz 11090136 BLAKE2B 4c5cbd6e80a061793276b40124124c6c8e8c0d9f5bfbe4d5089d755b7af8399635107ed94da6602b2d0788159c1d883b7821db989fe47ad02bcf8bbaa7784b08 SHA512 dfbbc2b30449fa7526794489d3f0c3951e81ddbf53d7915d4492697398febd3b4b918604054a85c950c26a2423e969042de395b8b513688dcf8ad3fe305df4f7 DIST botocore-1.29.46.gh.tar.gz 11096104 BLAKE2B 540840e08fb7d8a9a8a220108e624600dd28d494937e0439f4d7ad93e9f2c4f09566e69a95cd5806a0576b458256b1293b0764461fa7c27d0e39074a3591b0d3 SHA512 b7ea07081464c3799fadd736371229ca6dfab8b05f8941daa681905ef135e4c0273f30eb2f19b64fbe85b6913886664f83dff0484413b3018ab6f508b0d51f05 +DIST botocore-1.29.47.gh.tar.gz 11097124 BLAKE2B 3ec2fbc1e518854c6e423d8528a52b25d2bec401e38d65cc9e551e46510d4fc8142eafc44f911e02578860265c13303f4e565eaab6963845e291f5270a832528 SHA512 562954e6c9cf45ba8f7fda13d7acfed0e466126fb45b8e8c577ce17b5b97381df264d6dca0381d55f7e15021035b3e8f318e977469fae9d846d2adb81c675b22 diff --git a/dev-python/botocore/botocore-1.29.47.ebuild b/dev-python/botocore/botocore-1.29.47.ebuild new file mode 100644 index 000000000000..0f4daaa48e81 --- /dev/null +++ b/dev-python/botocore/botocore-1.29.47.ebuild @@ -0,0 +1,74 @@ +# 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..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 + # TODO + tests/functional/test_credentials.py::SSOSessionTest::test_token_chosen_from_provider + ) + + epytest tests/{functional,unit} -n "$(makeopts_jobs)" +} |
