mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
dev-python/graphene: cleanup old
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST graphene-2.1.8.tar.gz 102179 BLAKE2B 45c61f0f5965828f4b623a1a78678afdd9ef180c0ac83ff6d13ac4385479a787166e7401d75b4314cd125c623ebab7f43337fe2b00db471c1c8751177ca8b264 SHA512 238108c2047b9942de22f21b90581bbda42fb85ee3588ed5d4a26bd54784a6a71407c7a4e8308726ab22b6a62317e94253a60d1771272969e00e0097f3614d51
|
||||
DIST graphene-3.0.0_beta3.tar.gz 108606 BLAKE2B 20b1af8400b1fe3721eafb1ce6884702653c58931933d0e3d6058180c115b48bf00a59cc7b6feb61648e9a85195033d0b0ff8c7e4e44822c77b1904cfc3c3b45 SHA512 65b920e5d10d080678df5c9a57d173baab421a3d2c676d943fb3e25fe596cc3623ddb6987322dbdc47d3b299e8f4363e4136bdcd2df0af3c1cf4117e7bb18375
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
# 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
|
||||
|
||||
DESCRIPTION="GraphQL Framework for Python"
|
||||
HOMEPAGE="https://github.com/graphql-python/graphene"
|
||||
SRC_URI="https://github.com/graphql-python/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
<=dev-python/aniso8601-7[${PYTHON_USEDEP}]
|
||||
dev-python/graphql-core[${PYTHON_USEDEP}]
|
||||
dev-python/graphql-relay[${PYTHON_USEDEP}]
|
||||
dev-python/unidecode[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
DEPEND="test? (
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/promises[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_prepare_all() {
|
||||
# Package installs 'examples' package which is forbidden and likely a bug in the build system.
|
||||
rm -r examples || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
# ModuleNotFoundError: No module named 'sphinx_graphene_theme'
|
||||
# There is a github, but no releases at the moment
|
||||
#distutils_enable_sphinx docs
|
||||
|
||||
python_test() {
|
||||
#distutils_install_for_testing
|
||||
PYTHONPATH="${S}"
|
||||
pytest -vv || die "Tests fail with ${EPYHTON}"
|
||||
}
|
||||
Reference in New Issue
Block a user