summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-10-29 15:24:27 +0200
committerMichał Górny <mgorny@gentoo.org>2022-10-29 17:30:35 +0200
commit75a5b6bc3a43bd02057bf17e70c433b8ed5b160f (patch)
treeb23881c0a722a03dea4c7b75b098d11c7a4babc6 /dev-python/responses
parentvirtual/dist-kernel: Bump to 6.0.6 (diff)
downloadgentoo-75a5b6bc3a43bd02057bf17e70c433b8ed5b160f.tar.gz
gentoo-75a5b6bc3a43bd02057bf17e70c433b8ed5b160f.tar.bz2
gentoo-75a5b6bc3a43bd02057bf17e70c433b8ed5b160f.zip
dev-python/responses: Backport tomli support patch
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/responses')
-rw-r--r--dev-python/responses/Manifest1
-rw-r--r--dev-python/responses/responses-0.22.0-r1.ebuild (renamed from dev-python/responses/responses-0.22.0.ebuild)9
2 files changed, 9 insertions, 1 deletions
diff --git a/dev-python/responses/Manifest b/dev-python/responses/Manifest
index eca80389c095..a813d44ba754 100644
--- a/dev-python/responses/Manifest
+++ b/dev-python/responses/Manifest
@@ -1,2 +1,3 @@
DIST responses-0.21.0.gh.tar.gz 49551 BLAKE2B 3796fd29353f80a04b26a7348153902d959038e072bf512ee4ba8ffd434157c0ce5c37073d114e0d2865c827d82166ee1fcefe2f250c895c23c53664ab919903 SHA512 9e82f0fb7d2a2a4ea071a6384584ba58ebde13504408f8bac351d24df206f0f6815ce3b6d7e013fb87b04d3a1cdccbe7a5287f56f4f9bfb3d4567ad2eeafa778
+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
diff --git a/dev-python/responses/responses-0.22.0.ebuild b/dev-python/responses/responses-0.22.0-r1.ebuild
index 02ff161185c6..7c1c6e391766 100644
--- a/dev-python/responses/responses-0.22.0.ebuild
+++ b/dev-python/responses/responses-0.22.0-r1.ebuild
@@ -16,6 +16,8 @@ HOMEPAGE="
SRC_URI="
https://github.com/getsentry/responses/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
+ https://github.com/getsentry/responses/pull/596.patch
+ -> ${P}-tomli.patch
"
LICENSE="Apache-2.0"
@@ -25,7 +27,8 @@ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
RDEPEND="
<dev-python/requests-3[${PYTHON_USEDEP}]
>=dev-python/requests-2.22.0[${PYTHON_USEDEP}]
- dev-python/toml[${PYTHON_USEDEP}]
+ dev-python/tomli[${PYTHON_USEDEP}]
+ dev-python/tomli-w[${PYTHON_USEDEP}]
>=dev-python/urllib3-1.25.10[${PYTHON_USEDEP}]
"
@@ -36,3 +39,7 @@ BDEPEND="
"
distutils_enable_tests pytest
+
+PATCHES=(
+ "${DISTDIR}"/${P}-tomli.patch
+)