summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/pytest-golden/pytest-golden-0.2.2-r1.ebuild (renamed from dev-python/pytest-golden/pytest-golden-0.2.2.ebuild)6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-python/pytest-golden/pytest-golden-0.2.2.ebuild b/dev-python/pytest-golden/pytest-golden-0.2.2-r1.ebuild
index 343ed09d482b..e4f8e404860f 100644
--- a/dev-python/pytest-golden/pytest-golden-0.2.2.ebuild
+++ b/dev-python/pytest-golden/pytest-golden-0.2.2-r1.ebuild
@@ -33,6 +33,12 @@ RDEPEND="
distutils_enable_tests pytest
+src_prepare() {
+ # poetry, sigh
+ sed -i -e 's:\^:>=:' pyproject.toml || die
+ distutils-r1_src_prepare
+}
+
python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x PYTEST_PLUGINS=pytest_golden.plugin