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
|
|
|
|
|
2024-08-21 11:45:34 +02:00
|
|
|
PYTHON_COMPAT=( python3_{10..12} )
|
2023-05-24 22:50:17 +02:00
|
|
|
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)"
|
2021-09-16 16:47:42 +02:00
|
|
|
|
2024-08-22 03:40:59 +02:00
|
|
|
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="
|
2024-08-22 03:06:24 +02:00
|
|
|
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
|
|
|
>=dev-python/graphene-2.1.7[${PYTHON_USEDEP}]
|
2023-02-06 19:45:30 +01:00
|
|
|
<dev-python/graphene-3
|
2024-08-22 03:06:24 +02:00
|
|
|
>=dev-python/graphql-core-2.1.0[${PYTHON_USEDEP}]
|
2023-02-06 20:11:01 +01:00
|
|
|
<dev-python/graphql-core-3
|
2024-08-22 03:06:24 +02:00
|
|
|
>=dev-python/django-1.11[${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}"
|
2021-09-20 18:51:48 +02:00
|
|
|
|
|
|
|
PATCHES=(
|
|
|
|
"${FILESDIR}/${P}-pytest-runner.patch"
|
|
|
|
)
|