summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-30 18:06:39 +0200
committerMichał Górny <mgorny@gentoo.org>2023-03-30 18:08:55 +0200
commit1793526ed7048fe893dd56d90cd9da7a58635cc1 (patch)
treee7a984cc5f35cbf29cebcc2a38768e3d14db659c /dev-python/genson
parentdev-libs/openpace: Stabilize 1.1.2 amd64, #903027 (diff)
downloadgentoo-1793526ed7048fe893dd56d90cd9da7a58635cc1.tar.gz
gentoo-1793526ed7048fe893dd56d90cd9da7a58635cc1.tar.bz2
gentoo-1793526ed7048fe893dd56d90cd9da7a58635cc1.zip
dev-python/genson: Fix test failures
Closes: https://bugs.gentoo.org/887971 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/genson')
-rw-r--r--dev-python/genson/genson-1.1.0.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-python/genson/genson-1.1.0.ebuild b/dev-python/genson/genson-1.1.0.ebuild
index cabd95c29347..f8cbb896733f 100644
--- a/dev-python/genson/genson-1.1.0.ebuild
+++ b/dev-python/genson/genson-1.1.0.ebuild
@@ -16,3 +16,9 @@ KEYWORDS="~amd64 ~x86"
BDEPEND="test? ( dev-python/jsonschema[${PYTHON_USEDEP}] )"
distutils_enable_tests unittest
+
+src_prepare() {
+ distutils-r1_src_prepare
+ # https://github.com/wolverdude/GenSON/pull/70
+ sed -i -e 's@TEST_URI@test://@' test/test_builder.py || die
+}