dev-python/graphql-core: add 3.2.3

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-04-28 10:40:33 +05:00
parent d9b371e10c
commit 8bd66c34ab
3 changed files with 56 additions and 1 deletions

View File

@@ -1 +1,2 @@
DIST graphql-core-3.1.6.tar.gz 499188 BLAKE2B c47d95854601de6f524b266de84384d334c99f05aa9c1a226a55413b9a55111dc2eb87813d2650253c502e2bd9904aa1eeaef5373b830ffa1ab8efdf0bec80e7 SHA512 fe7068fb9100e57f2198f653166136d81e98c863f56f3ac1a6b04c65f31ef73d8d1aff5e70870e13c01f333542b442a772157111db58992a4a0b36a17e0e7120
DIST graphql-core-3.2.3.tar.gz 529552 BLAKE2B 5931579fe860ffd8f0166e703ba3d055eb39660ac3bcd5335c42811da1a692382ab0e968bacfc7b3cb9fae72c74bec160516c74ab56775e3ed6e3756c67ee23a SHA512 6a43b802ae71de7229daa3c9bc8266a17955b163d6b342107034168bc71fb026ad2f8de1ab5fc40dfb6ebbd5c47030ad978d54a825f6aca1c318190e325b405e

View File

@@ -0,0 +1,47 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517=poetry
PYPI_NO_NORMALIZE=1
inherit distutils-r1 pypi
DESCRIPTION="Python port of GraphQL.js, the JavaScript reference implementation for GraphQL"
HOMEPAGE="
https://pypi.org/project/graphql-core/
https://github.com/graphql-python/graphql-core
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
$(python_gen_cond_dep \
'dev-python/typing-extensions[${PYTHON_USEDEP}]' python3_9)
"
BDEPEND="
test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-describe[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
)
"
EPYTEST_IGNORE=( tests/benchmarks )
distutils_enable_tests pytest
distutils_enable_sphinx docs \
dev-python/sphinx-rtd-theme
python_test() {
if [[ ${EPYTHON} == "python3.11" ]]; then
local EPYTEST_DESELECT=(
tests/pyutils/test_is_awaitable.py::describe_is_awaitable::recognizes_an_old_style_coroutine
)
fi
epytest
}

View File

@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- Maintainer Needed -->
<maintainer type="person">
<email>cyber+gentoo@sysrq.in</email>
<name>Anna</name>
</maintainer>
<upstream>
<remote-id type="pypi">graphql-core</remote-id>
<remote-id type="github">graphql-python/graphql-core</remote-id>
</upstream>
</pkgmetadata>