commit:     a43c379f4bdac1ec6d0c43441ffba793ad64159e
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Apr 29 06:14:45 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Apr 29 06:16:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a43c379f

dev-python/graphql-core: fix tests

Closes: https://bugs.gentoo.org/905272
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/graphql-core/graphql-core-3.2.3.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dev-python/graphql-core/graphql-core-3.2.3.ebuild 
b/dev-python/graphql-core/graphql-core-3.2.3.ebuild
index 45510e7d1..746425e77 100644
--- a/dev-python/graphql-core/graphql-core-3.2.3.ebuild
+++ b/dev-python/graphql-core/graphql-core-3.2.3.ebuild
@@ -37,6 +37,12 @@ distutils_enable_tests pytest
 distutils_enable_sphinx docs \
        dev-python/sphinx-rtd-theme
 
+src_prepare() {
+       distutils-r1_src_prepare
+
+       sed "/addopts =/d" -i setup.cfg pyproject.toml || die
+}
+
 python_test() {
        if [[ ${EPYTHON} == "python3.11" ]]; then
                local EPYTEST_DESELECT=(

Reply via email to