commit: 8bd66c34ab0ed65b53b80665897d9513a9aa9f07 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Fri Apr 28 05:40:33 2023 +0000 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> CommitDate: Fri Apr 28 05:51:56 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8bd66c34
dev-python/graphql-core: add 3.2.3 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> dev-python/graphql-core/Manifest | 1 + dev-python/graphql-core/graphql-core-3.2.3.ebuild | 47 +++++++++++++++++++++++ dev-python/graphql-core/metadata.xml | 9 ++++- 3 files changed, 56 insertions(+), 1 deletion(-) diff --git a/dev-python/graphql-core/Manifest b/dev-python/graphql-core/Manifest index ffe12ee73..9ba5e6cbc 100644 --- a/dev-python/graphql-core/Manifest +++ b/dev-python/graphql-core/Manifest @@ -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 diff --git a/dev-python/graphql-core/graphql-core-3.2.3.ebuild b/dev-python/graphql-core/graphql-core-3.2.3.ebuild new file mode 100644 index 000000000..45510e7d1 --- /dev/null +++ b/dev-python/graphql-core/graphql-core-3.2.3.ebuild @@ -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 +} diff --git a/dev-python/graphql-core/metadata.xml b/dev-python/graphql-core/metadata.xml index 51d94e1dc..0016fba5f 100644 --- a/dev-python/graphql-core/metadata.xml +++ b/dev-python/graphql-core/metadata.xml @@ -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+gen...@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>