commit:     ece1e768569a04b228c11e9fc3c009914b38f942
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 14 06:45:19 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 14 06:59:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ece1e768

dev-python/responses: Bump to 0.25.6

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/responses/Manifest                |  1 +
 dev-python/responses/responses-0.25.6.ebuild | 47 ++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-python/responses/Manifest b/dev-python/responses/Manifest
index fa6b85386c7c..f63437ca7998 100644
--- a/dev-python/responses/Manifest
+++ b/dev-python/responses/Manifest
@@ -1,2 +1,3 @@
 DIST responses-0.25.3.tar.gz 77798 BLAKE2B 
c85ccca93bf24e392e33bffc697d657e1bdb1d733c36ba035dffb0e1185ad579e35b44c9342d257c3eec735ea789961ea37e739884511b0c5ef9ef88f344dd77
 SHA512 
f5691cb603174a06a8efebde3e64091a8b21005adc841dcfa83f2bb9aea0c0b8bd8a3d490cc579d77fd4a1106bbdd2f140da1d3c04cbcfd42a6d49c900618f47
 DIST responses-0.25.5.tar.gz 79099 BLAKE2B 
f945ac9ce60a46a598e675daab0cdffcf72edce0aa43e90082a2054f2978a1bafdf18cd9c5b6b7b3b7e2609eacb78ca0fba0e2152fd8101f1d6086c684b3a101
 SHA512 
327d2c7a6bafd9054e0450add98023e16a8f58a8c7a1c44b0493804e125813912a4f6ac613f6beb7e81983a0e9820609edfec2b62829d4cf65c86f7e95068a12
+DIST responses-0.25.6.tar.gz 79145 BLAKE2B 
c46ea523e2abf3e245cb80f6f81dd99bb0acf545c6393f6e79c8b2a2631f07e897eba30915acdac48d33ad65c702ff21c1f319cdeec0122f50c1c0a7194726a2
 SHA512 
03ea531ec5fda150245e8abd89245e71741a7b63e6c2e475254cd3fd56b81759da784c4c298f3f98975f49771cfbc298acceea8869bf5e7203f27c56e4afa87a

diff --git a/dev-python/responses/responses-0.25.6.ebuild 
b/dev-python/responses/responses-0.25.6.ebuild
new file mode 100644
index 000000000000..20c4714b14ad
--- /dev/null
+++ b/dev-python/responses/responses-0.25.6.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 )
+
+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
+}

Reply via email to