From 09eb9766849b2eddd0c3a6c408a5ba171eccf3e0 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 28 Apr 2025 07:13:31 +0000 Subject: [PATCH] dev-python/cachecontrol: Sync with Gentoo It's from Gentoo commit 86e866a417d9c7f12632c9b9e044695f765d8d54. --- .../dev-python/cachecontrol/Manifest | 1 + .../cachecontrol/cachecontrol-0.14.2.ebuild | 46 +++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/dev-python/cachecontrol/cachecontrol-0.14.2.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/cachecontrol/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/cachecontrol/Manifest index 7453c370ad..ef8fd57e2a 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/cachecontrol/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/cachecontrol/Manifest @@ -1 +1,2 @@ DIST cachecontrol-0.14.1.tar.gz 28928 BLAKE2B 9f01bc35c905f0fb489e796f96ccc0063a475bacc24b980ee67f8053412a52d9167b4b96495a8a7f7c561e2485a1b6fcb4ec94b1408ea5111f8661fea59394fd SHA512 f99463ee08199058d0f84a173d6a85276cfe6caec0bec6692e5af74f4c8e684a68ab6910c6c85cbd1f4515c7044ee2fbf149cfd85e4ce9d9ac97e9850698c07f +DIST cachecontrol-0.14.2.tar.gz 28832 BLAKE2B fc572206871a39a2d4c50d0970b9aa2c58f9c99b28ab9bf98e76fad8c3f6e89962e84d368287d7d4beab1fcf16666e42a46a11e194c26f3c487359b767d8d77f SHA512 694dc7dfc976a4087471119a8d5f4b76aa08d62f814293d183331164a4225e8d6f9cbf58551ad806ea9e4bb4adac0d98bb54d7aa09ef4a64feff93a8899c4a58 diff --git a/sdk_container/src/third_party/portage-stable/dev-python/cachecontrol/cachecontrol-0.14.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/cachecontrol/cachecontrol-0.14.2.ebuild new file mode 100644 index 0000000000..4a29add382 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/cachecontrol/cachecontrol-0.14.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 ) + +inherit distutils-r1 pypi + +DESCRIPTION="httplib2 caching for requests" +HOMEPAGE=" + https://pypi.org/project/CacheControl/ + https://github.com/psf/cachecontrol/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + =dev-python/msgpack-0.5.2[${PYTHON_USEDEP}] + >=dev-python/requests-2.16.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/cherrypy[${PYTHON_USEDEP}] + >=dev-python/filelock-3.8.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + if [[ ${EPYTHON} == pypy3* ]]; then + EPYTEST_DESELECT+=( + tests/test_adapter.py::TestSessionActions::test_do_not_leak_response + ) + fi + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}