summaryrefslogtreecommitdiff
path: root/dev-python/cachecontrol
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-05-01 08:39:32 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-05-01 08:39:32 +0000
commit129358821b30468316bd6ff04501305b95ab8bed (patch)
tree5e0e2547289be5afc1030b41130ce175a251cc58 /dev-python/cachecontrol
parent23cdf322153700a1362a7ad7d872834c6f42dd1e (diff)
downloadbaldeagleos-repo-129358821b30468316bd6ff04501305b95ab8bed.tar.gz
baldeagleos-repo-129358821b30468316bd6ff04501305b95ab8bed.tar.xz
baldeagleos-repo-129358821b30468316bd6ff04501305b95ab8bed.zip
Adding metadata
Diffstat (limited to 'dev-python/cachecontrol')
-rw-r--r--dev-python/cachecontrol/Manifest1
-rw-r--r--dev-python/cachecontrol/cachecontrol-0.14.3.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/cachecontrol/Manifest b/dev-python/cachecontrol/Manifest
index ef8fd57e2a1f..9f68a4a14ced 100644
--- a/dev-python/cachecontrol/Manifest
+++ b/dev-python/cachecontrol/Manifest
@@ -1,2 +1,3 @@
DIST cachecontrol-0.14.1.tar.gz 28928 BLAKE2B 9f01bc35c905f0fb489e796f96ccc0063a475bacc24b980ee67f8053412a52d9167b4b96495a8a7f7c561e2485a1b6fcb4ec94b1408ea5111f8661fea59394fd SHA512 f99463ee08199058d0f84a173d6a85276cfe6caec0bec6692e5af74f4c8e684a68ab6910c6c85cbd1f4515c7044ee2fbf149cfd85e4ce9d9ac97e9850698c07f
DIST cachecontrol-0.14.2.tar.gz 28832 BLAKE2B fc572206871a39a2d4c50d0970b9aa2c58f9c99b28ab9bf98e76fad8c3f6e89962e84d368287d7d4beab1fcf16666e42a46a11e194c26f3c487359b767d8d77f SHA512 694dc7dfc976a4087471119a8d5f4b76aa08d62f814293d183331164a4225e8d6f9cbf58551ad806ea9e4bb4adac0d98bb54d7aa09ef4a64feff93a8899c4a58
+DIST cachecontrol-0.14.3.tar.gz 28985 BLAKE2B 130b372dc5b17eadc1f16ca6ee361bbc5fc83306a333059f538972b2e9cf29b2e0f608faa904c3d2793c7289e5ad176193534a3d1997aca97c490b9784a10bc0 SHA512 12205946ac78263148da4751a55d8c19356bdf055953a014cedfb3084869bb73034860592b5785d4e3e0bd3317c7dc80061105146460a1059eeef458ed5e8dfb
diff --git a/dev-python/cachecontrol/cachecontrol-0.14.3.ebuild b/dev-python/cachecontrol/cachecontrol-0.14.3.ebuild
new file mode 100644
index 000000000000..f28a507ca6cf
--- /dev/null
+++ b/dev-python/cachecontrol/cachecontrol-0.14.3.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_{9,10,11,12,13} pypy3 )
+
+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-2[${PYTHON_USEDEP}]
+ >=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
+}