diff options
author | 2023-03-11 06:42:35 +0100 | |
---|---|---|
committer | 2023-03-11 06:53:34 +0100 | |
commit | fdc55b3b1ce5ca63d25cc5a22feb93e4cff15c14 (patch) | |
tree | 4298bdb462476493fbcc6d4203aab2b771ed8863 /dev-python/responses | |
parent | dev-python/xlsxwriter: Bump to 3.0.9 (diff) | |
download | gentoo-fdc55b3b1ce5ca63d25cc5a22feb93e4cff15c14.tar.gz gentoo-fdc55b3b1ce5ca63d25cc5a22feb93e4cff15c14.tar.bz2 gentoo-fdc55b3b1ce5ca63d25cc5a22feb93e4cff15c14.zip |
dev-python/responses: Bump to 0.23.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/responses')
-rw-r--r-- | dev-python/responses/Manifest | 1 | ||||
-rw-r--r-- | dev-python/responses/responses-0.23.1.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/responses/Manifest b/dev-python/responses/Manifest index 016066db1554..1148f759d0a3 100644 --- a/dev-python/responses/Manifest +++ b/dev-python/responses/Manifest @@ -1,2 +1,3 @@ DIST responses-0.22.0-tomli.patch 4793 BLAKE2B d5991f55f4378d35224a19d4e85ee9786612f6b5931e52e326c46ca2b791e6e2f8985f69ebff14779948b45a6433d6b4223f8fabe615b0ad479364d941128179 SHA512 0d0bd3d10e4f38fdb236204f161ae499f876d8daadc8306b6ad02efec9277fdfdbc1c862704f49aec69cabbd52f3616acf74d3baab573f1f5418436928af3c6c DIST responses-0.22.0.gh.tar.gz 54094 BLAKE2B eacb1ba4fcae10d3a4e29fe1516da3f1d3ff07eacbaf65b0dd3f86ecfb36aa51527c0d89547a1480064654c49fd1233d2c3491d9afdf4eff34a4058e4f89ec0d SHA512 361e59e02df36fac0fb0ba2a070b730e485ec94fe90490c271e4ac86fae7954a551bf2486714d95c91e9d0b011f06a9d10b0d6408fd4d03234e1224cca1e9d0e +DIST responses-0.23.1.gh.tar.gz 56004 BLAKE2B 0aed72cb999cddc5991aa70077cb047f26d5d7ea7fa911b37dd8a267cb60795ad1ea3ef5a2a36b8f556c0866d9afaf705160022959412bf8414c996c5485b4fa SHA512 589bb2b6e5f259ec56ae8e4575f9c7dbfc915cf5ed622c9cb48492f34e13035164daea3806c7393533217237dbabf99e436754e9944f518bbfc5658391cc2e84 diff --git a/dev-python/responses/responses-0.23.1.ebuild b/dev-python/responses/responses-0.23.1.ebuild new file mode 100644 index 000000000000..1d8148d6f43d --- /dev/null +++ b/dev-python/responses/responses-0.23.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Utility for mocking out the Python Requests library" +HOMEPAGE=" + https://pypi.org/project/responses/ + https://github.com/getsentry/responses/ +" +SRC_URI=" + https://github.com/getsentry/responses/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +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.22.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.{8..10}) + dev-python/tomli-w[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.10[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest -p no:localserver +} |