diff options
Diffstat (limited to 'dev-python/responses')
-rw-r--r-- | dev-python/responses/Manifest | 2 | ||||
-rw-r--r-- | dev-python/responses/responses-0.25.5.ebuild | 47 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/responses/Manifest b/dev-python/responses/Manifest index 59be8d1d2291..c623383bd043 100644 --- a/dev-python/responses/Manifest +++ b/dev-python/responses/Manifest @@ -1,3 +1,5 @@ DIST responses-0.25.3.tar.gz 77798 BLAKE2B c85ccca93bf24e392e33bffc697d657e1bdb1d733c36ba035dffb0e1185ad579e35b44c9342d257c3eec735ea789961ea37e739884511b0c5ef9ef88f344dd77 SHA512 f5691cb603174a06a8efebde3e64091a8b21005adc841dcfa83f2bb9aea0c0b8bd8a3d490cc579d77fd4a1106bbdd2f140da1d3c04cbcfd42a6d49c900618f47 +DIST responses-0.25.5.tar.gz 79099 BLAKE2B f945ac9ce60a46a598e675daab0cdffcf72edce0aa43e90082a2054f2978a1bafdf18cd9c5b6b7b3b7e2609eacb78ca0fba0e2152fd8101f1d6086c684b3a101 SHA512 327d2c7a6bafd9054e0450add98023e16a8f58a8c7a1c44b0493804e125813912a4f6ac613f6beb7e81983a0e9820609edfec2b62829d4cf65c86f7e95068a12 EBUILD responses-0.25.3.ebuild 1244 BLAKE2B d03d45f10df9997910c0ff00daa3918ce55dd6cc73cd0dc2a71bc6e9e433f2e24805e64a7d2bbeb0c5ba67773bc6cb4e4af20d6eba1574ef12e32976438af3ae SHA512 4ed06c69d967e1688e6b0e456a8fd10e4fcd0282e0a8e7ac523c6e68936ad47042aca1824af6db534885dd43714bc17fbd40c46f69c0e857325610c61abfb6d6 +EBUILD responses-0.25.5.ebuild 1252 BLAKE2B 992027852105395d0f391d4189a13c272df2a708781b29324197ed88768956d08034c420b323f4867d578ce00c2de6abe357f77bfcc3453bb9f41bd4e8959af4 SHA512 51c48467ef60d9141797a1c4f53ad000ebc1e4f7ee7b727abe8651050ad3610f01922092d7d9bbcb6d24a1854b3b02556da68e01047725c8bbcfb8c457304c7e MISC metadata.xml 463 BLAKE2B 64d3c7be57863ae6088ce746fbfcc68a8eefc37c6d8fbe1bc6866d4c24ad18e75215158d89217d13f0e5b9db2e82d1aab86fa2ff664098239440bfd3fa3e7cd1 SHA512 546de31e1cde62b866673aedb4d3c1278213b36cc75fe86a8e759eaf16471cdefe91d6b0005b4ec4caf4316f8449717d672ede4181f1c1912f5647d50557eca9 diff --git a/dev-python/responses/responses-0.25.5.ebuild b/dev-python/responses/responses-0.25.5.ebuild new file mode 100644 index 000000000000..20c4714b14ad --- /dev/null +++ b/dev-python/responses/responses-0.25.5.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 +} |