2021-09-16 16:47:42 +02:00
|
|
|
# Copyright 2021 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
2023-01-31 00:22:15 +01:00
|
|
|
PYTHON_COMPAT=( python3_{9..11} )
|
2021-09-16 16:47:42 +02:00
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="Graphene Django integration"
|
|
|
|
HOMEPAGE="https://pypi.org/project/graphene-django/"
|
|
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
2021-09-20 18:51:48 +02:00
|
|
|
DEPEND="
|
|
|
|
<dev-python/graphene-4
|
|
|
|
<dev-python/graphql-core-4
|
|
|
|
>=dev-python/django-2.2[${PYTHON_USEDEP}]
|
|
|
|
>=dev-python/djangorestframework-3.6.3[${PYTHON_USEDEP}]
|
2023-01-31 01:08:28 +01:00
|
|
|
>=dev-python/graphene-3.0.0[${PYTHON_USEDEP}]
|
2021-09-20 18:51:48 +02:00
|
|
|
>=dev-python/graphql-core-3.1.0[${PYTHON_USEDEP}]
|
|
|
|
>=dev-python/promise-2.1[${PYTHON_USEDEP}]
|
|
|
|
dev-python/text-unidecode[${PYTHON_USEDEP}]
|
|
|
|
"
|
2021-09-16 16:47:42 +02:00
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND=""
|
2021-09-20 18:51:48 +02:00
|
|
|
|
|
|
|
PATCHES=(
|
|
|
|
"${FILESDIR}/${P}-pytest-runner.patch"
|
|
|
|
)
|