# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{12..14} ) DISTUTILS_USE_PEP517=uv-build inherit distutils-r1 pypi DESCRIPTION="GraphQL implementation for Python, a port of GraphQL.js, the JavaScript reference implementation for GraphQL." HOMEPAGE="https://github.com/graphql-python/graphql-core https://pypi.org/project/graphql-core/" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm64" IUSE="test" RESTRICT="!test? ( test )" DOCS="README.md" BDEPEND=" test? ( dev-python/pytest[${PYTHON_USEDEP}] dev-python/pytest-cov[${PYTHON_USEDEP}] dev-python/pytest-timeout[${PYTHON_USEDEP}] ) " distutils_enable_tests pytest