2021-09-20 18:44:27 +02:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2022-04-30 15:59:07 +02:00
|
|
|
EAPI=8
|
2021-09-20 18:44:27 +02:00
|
|
|
|
2021-09-20 18:44:55 +02:00
|
|
|
PYTHON_COMPAT=( python3_{8..10} )
|
2021-09-20 18:44:27 +02:00
|
|
|
|
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="GraphQL for Python"
|
|
|
|
HOMEPAGE="https://github.com/graphql-python/graphql-core"
|
|
|
|
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
|
|
|
|
BDEPEND="
|
|
|
|
test? (
|
|
|
|
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
|
|
|
dev-python/pytest-describe[${PYTHON_USEDEP}]
|
|
|
|
dev-python/pytest-benchmark[${PYTHON_USEDEP}]
|
|
|
|
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
|
|
|
)
|
|
|
|
"
|
|
|
|
|
|
|
|
distutils_enable_tests pytest
|
|
|
|
distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
|