diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-08 00:08:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-08 00:08:11 +0100 |
commit | adc09cc4e6ebf7931735c02c0c272b4b885c2b30 (patch) | |
tree | d1e752b60c2ed90ae9e427cbe2b07061e3879191 /dev-python/responses | |
parent | 941687623283212199cbe6e36f7d61b89d6222b2 (diff) |
gentoo auto-resync : 08:06:2024 - 00:08:11
Diffstat (limited to 'dev-python/responses')
-rw-r--r-- | dev-python/responses/Manifest | 2 | ||||
-rw-r--r-- | dev-python/responses/responses-0.25.2.ebuild | 47 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/responses/Manifest b/dev-python/responses/Manifest index 3685df956017..746e2eacc9be 100644 --- a/dev-python/responses/Manifest +++ b/dev-python/responses/Manifest @@ -1,3 +1,5 @@ DIST responses-0.25.0.tar.gz 77681 BLAKE2B 0437c343feecb071f544d8f6ce1ad15c4d6e2f00c0fff0404dff9160c962a5de46d0b2c882e8d044b6e09c441a534e7bd8772f826a45c9a9b79e34daf0610546 SHA512 6aed8ce17f55e8c1a7438b3e1aa7e7e59322120f3580fede93d61224ea9f1e1f05382cdf82c11cbef29447b6591d7d6e25d156c087025b93d6e5a3e2da82d90d +DIST responses-0.25.2.tar.gz 77494 BLAKE2B 35df38f1a28c006b9b1edfe77cd8e68e55466c3ad50ea8c0a095dae4de35b8d89aa1290a0bab0a813fcbf63224f652ad7e1964d59151eb5633b4a6000ba489bf SHA512 32c9c3a5028687a23bc8b3ec5c3061cfa9f18c98d66867d2dd94de3e2d59c6176de2bbc3ae3c31df3826819e5f04eb5f4ab7cb0c09ac8e93ed2d8c4d5aa4225d EBUILD responses-0.25.0.ebuild 1244 BLAKE2B b745845a742594c47a917de9b7d5b114f264946b4c8aac3fe5309705e5b3b822be400b6a9ea5f68048cc1911bc3bd167019838aef3e9c265604dc07ff2f69ea4 SHA512 ea2e264097d70fb807e59a1495710c4420a559864162b04d8aeadeb1a619f893a927895c06a0097eccf9152eda6a8fb5139ad6b7762ebe8f0b44170f279b147f +EBUILD responses-0.25.2.ebuild 1252 BLAKE2B c2c70ffaf05abfc9cd907ccbdd43aff9942546819491e8cd929473b909bc12d26a9d6c02fb0a3479d0f255f55d1da45b39ad9ba9de11740cbe6b50c61171ab3f SHA512 6bd4e7398ef95d84a95cf768b31e98ccd0866794de051c92cd892e83bd00b6a8f387ca608347a67a0cfcf990fcf1ddef19705f73a4c62fa22ea8f6b7aa254014 MISC metadata.xml 463 BLAKE2B 64d3c7be57863ae6088ce746fbfcc68a8eefc37c6d8fbe1bc6866d4c24ad18e75215158d89217d13f0e5b9db2e82d1aab86fa2ff664098239440bfd3fa3e7cd1 SHA512 546de31e1cde62b866673aedb4d3c1278213b36cc75fe86a8e759eaf16471cdefe91d6b0005b4ec4caf4316f8449717d672ede4181f1c1912f5647d50557eca9 diff --git a/dev-python/responses/responses-0.25.2.ebuild b/dev-python/responses/responses-0.25.2.ebuild new file mode 100644 index 000000000000..dc9cf6c58d72 --- /dev/null +++ b/dev-python/responses/responses-0.25.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 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 ~ia64 ~loong ~m68k ~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 +} |