commit: faec927432b7cabceff98819fe316bfa2e6b70d5
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 12 08:27:45 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 12 08:31:19 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faec9274
dev-python/responses: Bump to 0.25.7
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/responses/Manifest | 1 +
dev-python/responses/responses-0.25.7.ebuild | 47 ++++++++++++++++++++++++++++
2 files changed, 48 insertions(+)
diff --git a/dev-python/responses/Manifest b/dev-python/responses/Manifest
index 4cebcae4f623..e6b7e3f8270c 100644
--- a/dev-python/responses/Manifest
+++ b/dev-python/responses/Manifest
@@ -1 +1,2 @@
DIST responses-0.25.6.tar.gz 79145 BLAKE2B
c46ea523e2abf3e245cb80f6f81dd99bb0acf545c6393f6e79c8b2a2631f07e897eba30915acdac48d33ad65c702ff21c1f319cdeec0122f50c1c0a7194726a2
SHA512
03ea531ec5fda150245e8abd89245e71741a7b63e6c2e475254cd3fd56b81759da784c4c298f3f98975f49771cfbc298acceea8869bf5e7203f27c56e4afa87a
+DIST responses-0.25.7.tar.gz 79203 BLAKE2B
54225c450e965171e12d8f8d1847d34f40012ef4dc60a29d422347737da5870260ad697274185b847380a6e0d1aab3285c4a761b4aa03e58a7e339f7236b8a6f
SHA512
929d516b3670619b6ce399a7df1145b38aa498ffe7f7f5e16608c72e31f16bed5a1c2825ca9db84b51cd56c819ffd34f293679563d08895cd53b1c683f21578b
diff --git a/dev-python/responses/responses-0.25.7.ebuild
b/dev-python/responses/responses-0.25.7.ebuild
new file mode 100644
index 000000000000..cb0c4bc98596
--- /dev/null
+++ b/dev-python/responses/responses-0.25.7.ebuild
@@ -0,0 +1,47 @@
+# 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_{10..13} pypy3 pypy3_11 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Utility for mocking out the Python Requests library"
+HOMEPAGE="
+ https://pypi.org/project/responses/
+ https://github.com/getsentry/responses/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64
~riscv ~s390 ~sparc ~x86"
+
+# tomli backend is optional now, with pyyaml being the new default.
+# However, keeping it unconditional here for backwards compatibility.
+RDEPEND="
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ <dev-python/requests-3[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.30.0[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/tomli[${PYTHON_USEDEP}]
+ ' 3.10)
+ dev-python/tomli-w[${PYTHON_USEDEP}]
+ <dev-python/urllib3-3[${PYTHON_USEDEP}]
+ >=dev-python/urllib3-1.25.10[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+ test? (
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+ dev-python/pytest-httpserver[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -o asyncio_mode=auto -p asyncio -p pytest_httpserver
+}