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-05-24 22:50:17 +02:00
|
|
|
PYTHON_COMPAT=( python3_{9..11} )
|
|
|
|
inherit distutils-r1 pypi
|
2021-09-16 16:47:42 +02:00
|
|
|
|
|
|
|
DESCRIPTION="Graphene Django integration"
|
|
|
|
HOMEPAGE="https://pypi.org/project/graphene-django/"
|
2023-05-24 22:50:17 +02:00
|
|
|
SRC_URI="$(pypi_sdist_url --no-normalize)"
|
|
|
|
S=${WORKDIR}/${P^}
|
2021-09-16 16:47:42 +02:00
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
2021-09-20 18:51:48 +02:00
|
|
|
DEPEND="
|
2023-02-06 19:45:30 +01:00
|
|
|
<dev-python/graphene-3
|
2023-02-06 20:11:01 +01:00
|
|
|
<dev-python/graphql-core-3
|
2021-09-20 18:51:48 +02:00
|
|
|
>=dev-python/django-2.2[${PYTHON_USEDEP}]
|
|
|
|
>=dev-python/djangorestframework-3.6.3[${PYTHON_USEDEP}]
|
2023-02-06 22:04:56 +01:00
|
|
|
<dev-python/djangorestframework-3.14.0
|
2023-02-06 19:45:30 +01:00
|
|
|
>=dev-python/graphene-2.1.9[${PYTHON_USEDEP}]
|
2023-02-06 20:11:01 +01:00
|
|
|
>=dev-python/graphql-core-2[${PYTHON_USEDEP}]
|
2021-09-20 18:51:48 +02:00
|
|
|
>=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"
|
|
|
|
)
|