diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-03-11 18:55:07 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-03-11 18:55:07 +0000 |
| commit | 3e9fa44e9c862fccfedf3cfdad18bf1f3c29d64c (patch) | |
| tree | 1e9737da90333e74292693eab5272eba2d8097df /dev-python/botocore | |
| parent | a9166d320c9303e8acc20b59b69ed219aa3eee29 (diff) | |
| download | baldeagleos-repo-3e9fa44e9c862fccfedf3cfdad18bf1f3c29d64c.tar.gz baldeagleos-repo-3e9fa44e9c862fccfedf3cfdad18bf1f3c29d64c.tar.xz baldeagleos-repo-3e9fa44e9c862fccfedf3cfdad18bf1f3c29d64c.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.37.10.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-python/botocore/Manifest b/dev-python/botocore/Manifest index 1b2cec9acb96..2c810151f879 100644 --- a/dev-python/botocore/Manifest +++ b/dev-python/botocore/Manifest @@ -1,3 +1,4 @@ DIST botocore-1.36.26.gh.tar.gz 14281837 BLAKE2B 925ebbca3e415ea7e3388c52e53a6d0a9a1aec001bd579293bfbbba5d756503371a137399d679926d5894f8f4e0fe498a37570dc4c19af99dfa67b4e3d374c3c SHA512 2f2d960a6519efae499acdb704d66a1f329927b30a53900ed035909847ca9a6c1a3b57291e0a0aa153b4bc49a959935b1840ad0d81244f8c2577fd4ba910fcf6 +DIST botocore-1.37.10.gh.tar.gz 14351248 BLAKE2B eccd8c6e7b994dcfee49ea322bfee7503e5fb89eded7dc78757a1d2e6627afdf7ac3c73e16d9ef6f9e3ccfe2f9a4f8f917eab80ff6d010fb6db277bac6b4dc99 SHA512 7c3fa7f4f13fd6c7e04b42d0dcf7232a5f73255dead103713cf8b5883b5827f7881eeaa3260156971d0a1120bbb1352fd83d33ab8349a1b45646cf265e116e76 DIST botocore-1.37.4.gh.tar.gz 14291786 BLAKE2B ab55a62f2291e623e61a0ec6712241815279ae6d8f25e678adbf6cf167265d216f44b0eae78f2b66a454253dc4ef977b90c38f1aa329c855b38fa844eaa478b7 SHA512 07921ca8d51ff2afd8a4dafa77b40b5c24afa0351d71dbf68cef716573ba1f695a331634734fb6d9822eee55c91829128dbf215920e3da92ea2b40b727d0a0f6 DIST botocore-1.37.9.gh.tar.gz 14346488 BLAKE2B 29ac550ad462ab7c83bad7989588ec62fb57959586a8ec91be9756d90712ad86e3dfd813a347e619b7cac3fd7afb56affcd81926e15d91b8d0ceae2cd4436a8d SHA512 e191c9485e95188049c02020fcb32c4429de6cfd78f237a2026200b7240890d5759f5cdd96166cd2aec035dac82d32db155fe00d9ec6be482c655cfdb44265f9 diff --git a/dev-python/botocore/botocore-1.37.10.ebuild b/dev-python/botocore/botocore-1.37.10.ebuild new file mode 100644 index 000000000000..df85ee0d220c --- /dev/null +++ b/dev-python/botocore/botocore-1.37.10.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Low-level, data-driven core of boto 3" +HOMEPAGE=" + https://github.com/boto/botocore/ + https://pypi.org/project/botocore/ +" +SRC_URI=" + https://github.com/boto/botocore/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + <dev-python/jmespath-2[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}] +" +# unbundled packages +RDEPEND+=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + ) +" + +EPYTEST_XDIST=1 +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 + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest tests/{functional,unit} +} |
