Files
guru/dev-python/graphene/graphene-3.0.0_beta3.ebuild
Andrew Ammerlaan 9479fbb7c1 dev-python/graphene: version bump
fix tests

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
2020-07-05 13:37:29 +02:00

45 lines
1.1 KiB
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
MYPV="${PV/_beta/b}"
MYP="${PN}-${MYPV}"
DESCRIPTION="GraphQL Framework for Python"
HOMEPAGE="https://github.com/graphql-python/graphene"
SRC_URI="https://github.com/graphql-python/${PN}/archive/v${MYPV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-python/aniso8601[${PYTHON_USEDEP}]
dev-python/graphql-core[${PYTHON_USEDEP}]
dev-python/graphql-relay[${PYTHON_USEDEP}]
dev-python/unidecode[${PYTHON_USEDEP}]
"
DEPEND="test? (
dev-python/iso8601[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/promises[${PYTHON_USEDEP}]
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-benchmark[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
dev-python/snapshottest[${PYTHON_USEDEP}]
)"
S="${WORKDIR}/${MYP}"
distutils_enable_tests pytest
# ModuleNotFoundError: No module named 'sphinx_graphene_theme'
# There is a archived github, but no releases at the moment
#distutils_enable_sphinx docs