SwordArMor-gentoo-overlay/dev-python/graphene-django/graphene-django-2.15.0.ebuild

34 lines
825 B
Bash
Raw Normal View History

# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..10} )
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"
DEPEND="
<dev-python/graphene-3
<dev-python/graphql-core-3
>=dev-python/django-2.2[${PYTHON_USEDEP}]
>=dev-python/djangorestframework-3.6.3[${PYTHON_USEDEP}]
<dev-python/djangorestframework-3.14.0
>=dev-python/graphene-2.1.9[${PYTHON_USEDEP}]
>=dev-python/graphql-core-2[${PYTHON_USEDEP}]
>=dev-python/promise-2.1[${PYTHON_USEDEP}]
dev-python/text-unidecode[${PYTHON_USEDEP}]
"
RDEPEND="${DEPEND}"
BDEPEND=""
PATCHES=(
"${FILESDIR}/${P}-pytest-runner.patch"
)