summaryrefslogtreecommitdiff
path: root/dev-python/strawberry-graphql
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/strawberry-graphql
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/strawberry-graphql')
-rw-r--r--dev-python/strawberry-graphql/Manifest2
-rw-r--r--dev-python/strawberry-graphql/files/strawberry-0.288.3-no-emoji-test.patch19
-rw-r--r--dev-python/strawberry-graphql/metadata.xml13
-rw-r--r--dev-python/strawberry-graphql/strawberry-graphql-0.311.0.ebuild99
-rw-r--r--dev-python/strawberry-graphql/strawberry-graphql-0.312.3.ebuild99
5 files changed, 232 insertions, 0 deletions
diff --git a/dev-python/strawberry-graphql/Manifest b/dev-python/strawberry-graphql/Manifest
new file mode 100644
index 000000000000..0db927d5f08e
--- /dev/null
+++ b/dev-python/strawberry-graphql/Manifest
@@ -0,0 +1,2 @@
+DIST strawberry-graphql-0.311.0.gh.tar.gz 1266374 BLAKE2B efb47f68c3e4d60e689ed82e3adbf3a4455ae9ca6881389c0eabb2139ae774fe52251ad6000c431502389df92c66dc5cb59138916d75b95305cd1eab5bebf02f SHA512 3fa8e6b607530ba5ae81631bdd4a8b4b47a1d725f9d897a77065b689ccd8c816357cf971d647bd6b2f43508f39509a632b0879bc5b9a1fa31fa0223281565d58
+DIST strawberry-graphql-0.312.3.gh.tar.gz 1273652 BLAKE2B 0cace4518fcd65f5920cd860809ccac9fb9decfc9b0062ddbd3cb7418fcb4e41059f74464d2c44c8743d769dc3eba746534dee0e82c541f8c04fbe85b8f3cdc0 SHA512 2b4a9a28fe5551077e127d23460748be38798eaf10d8d7d78a5ec76f34efa9028145725493af06fa3f9e11683113b4dd5691b6e2cecb56bd42cdadf2ddccc493
diff --git a/dev-python/strawberry-graphql/files/strawberry-0.288.3-no-emoji-test.patch b/dev-python/strawberry-graphql/files/strawberry-0.288.3-no-emoji-test.patch
new file mode 100644
index 000000000000..ebc9c98ebf8b
--- /dev/null
+++ b/dev-python/strawberry-graphql/files/strawberry-0.288.3-no-emoji-test.patch
@@ -0,0 +1,19 @@
+diff --git a/tests/conftest.py b/tests/conftest.py
+index 954b5e32..7c30ad2f 100644
+--- a/tests/conftest.py
++++ b/tests/conftest.py
+@@ -6,14 +6,6 @@ import pytest
+ from strawberry.utils import IS_GQL_32
+
+
+-def pytest_emoji_xfailed(config: pytest.Config) -> tuple[str, str]:
+- return "🤷‍♂️ ", "XFAIL 🤷‍♂️ "
+-
+-
+-def pytest_emoji_skipped(config: pytest.Config) -> tuple[str, str]:
+- return "🦘 ", "SKIPPED 🦘"
+-
+-
+ pytest_plugins = ("tests.plugins.strawberry_exceptions",)
+
+
diff --git a/dev-python/strawberry-graphql/metadata.xml b/dev-python/strawberry-graphql/metadata.xml
new file mode 100644
index 000000000000..6de4fabacb09
--- /dev/null
+++ b/dev-python/strawberry-graphql/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>negril.nx+gentoo@gmail.com</email>
+ <name>Paul Zander</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">strawberry-graphql/strawberry</remote-id>
+ <remote-id type="pypi">strawberry-graphql</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/strawberry-graphql/strawberry-graphql-0.311.0.ebuild b/dev-python/strawberry-graphql/strawberry-graphql-0.311.0.ebuild
new file mode 100644
index 000000000000..a4cc540becdb
--- /dev/null
+++ b/dev-python/strawberry-graphql/strawberry-graphql-0.311.0.ebuild
@@ -0,0 +1,99 @@
+# Copyright 2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1 #pypi
+
+DESCRIPTION="A library for creating GraphQL APIs"
+HOMEPAGE="
+ https://strawberry.rocks/
+ https://github.com/strawberry-graphql/strawberry/
+ https://pypi.org/project/strawberry-graphql/
+"
+# no tests in sdist
+SRC_URI="
+ https://github.com/strawberry-graphql/strawberry/archive/refs/tags/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+S="${WORKDIR}/strawberry-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/cross-web-0.4.0[${PYTHON_USEDEP}]
+ <dev-python/graphql-core-3.4.0[${PYTHON_USEDEP}]
+ >=dev-python/graphql-core-3.2.0[${PYTHON_USEDEP}]
+ >=dev-python/packaging-23[${PYTHON_USEDEP}]
+ >=dev-python/python-dateutil-2.7[${PYTHON_USEDEP}]
+ >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}]
+"
+
+# dev
+# integrations
+BDEPEND="
+ test? (
+ dev-python/asgiref[${PYTHON_USEDEP}]
+ dev-python/email-validator[${PYTHON_USEDEP}]
+ dev-python/freezegun[${PYTHON_USEDEP}]
+ dev-python/libcst[${PYTHON_USEDEP}]
+ dev-python/markupsafe[${PYTHON_USEDEP}]
+ dev-python/opentelemetry-api[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/pyinstrument[${PYTHON_USEDEP}]
+ dev-python/python-multipart[${PYTHON_USEDEP}]
+ dev-python/rich[${PYTHON_USEDEP}]
+ dev-python/typer[${PYTHON_USEDEP}]
+ dev-python/urllib3[${PYTHON_USEDEP}]
+ dev-python/inline-snapshot[${PYTHON_USEDEP}]
+
+ dev-python/aiohttp[${PYTHON_USEDEP}]
+ dev-python/chalice[${PYTHON_USEDEP}]
+ dev-python/channels[${PYTHON_USEDEP}]
+ dev-python/django[${PYTHON_USEDEP}]
+ dev-python/fastapi[${PYTHON_USEDEP}]
+ dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/quart[${PYTHON_USEDEP}]
+ dev-python/pydantic[${PYTHON_USEDEP}]
+ dev-python/starlette[${PYTHON_USEDEP}]
+ dev-python/litestar[${PYTHON_USEDEP}]
+ dev-python/uvicorn[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_IGNORE=(
+ "tests/benchmarks/"
+ # avoid daphne which requires autobahn
+ "tests/channels/test_layers.py"
+ "tests/channels/test_testing.py"
+ "tests/http/clients/channels.py"
+ # FIXME:
+ "tests/http/test_graphql_ide.py"
+)
+EPYTEST_DESELECT=(
+ # TODO: sanic
+ "tests/sanic/test_file_upload.py::test_file_cast"
+ "tests/sanic/test_file_upload.py::test_endpoint"
+ # test stdlib?
+ "tests/schema/test_lazy/test_lazy_generic.py::test_lazy_types_loaded_from_same_module[script]"
+ # FIXME
+ "tests/django/test_dataloaders.py::test_fetch_data_from_db"
+)
+EPYTEST_PLUGINS=( pytest-aiohttp pytest-asyncio pytest-django pytest-mock pytest-snapshot )
+distutils_enable_tests pytest
+
+PATCHES=(
+ "${FILESDIR}"/strawberry-0.288.3-no-emoji-test.patch
+)
+
+python_test() {
+ local -x DJANGO_SETTINGS_MODULE="tests.django.django_settings"
+
+ # avoid superfluous pytest-emoji dependency
+ epytest -o addopts=
+}
diff --git a/dev-python/strawberry-graphql/strawberry-graphql-0.312.3.ebuild b/dev-python/strawberry-graphql/strawberry-graphql-0.312.3.ebuild
new file mode 100644
index 000000000000..a4cc540becdb
--- /dev/null
+++ b/dev-python/strawberry-graphql/strawberry-graphql-0.312.3.ebuild
@@ -0,0 +1,99 @@
+# Copyright 2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1 #pypi
+
+DESCRIPTION="A library for creating GraphQL APIs"
+HOMEPAGE="
+ https://strawberry.rocks/
+ https://github.com/strawberry-graphql/strawberry/
+ https://pypi.org/project/strawberry-graphql/
+"
+# no tests in sdist
+SRC_URI="
+ https://github.com/strawberry-graphql/strawberry/archive/refs/tags/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+S="${WORKDIR}/strawberry-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/cross-web-0.4.0[${PYTHON_USEDEP}]
+ <dev-python/graphql-core-3.4.0[${PYTHON_USEDEP}]
+ >=dev-python/graphql-core-3.2.0[${PYTHON_USEDEP}]
+ >=dev-python/packaging-23[${PYTHON_USEDEP}]
+ >=dev-python/python-dateutil-2.7[${PYTHON_USEDEP}]
+ >=dev-python/typing-extensions-4.5.0[${PYTHON_USEDEP}]
+"
+
+# dev
+# integrations
+BDEPEND="
+ test? (
+ dev-python/asgiref[${PYTHON_USEDEP}]
+ dev-python/email-validator[${PYTHON_USEDEP}]
+ dev-python/freezegun[${PYTHON_USEDEP}]
+ dev-python/libcst[${PYTHON_USEDEP}]
+ dev-python/markupsafe[${PYTHON_USEDEP}]
+ dev-python/opentelemetry-api[${PYTHON_USEDEP}]
+ dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/pyinstrument[${PYTHON_USEDEP}]
+ dev-python/python-multipart[${PYTHON_USEDEP}]
+ dev-python/rich[${PYTHON_USEDEP}]
+ dev-python/typer[${PYTHON_USEDEP}]
+ dev-python/urllib3[${PYTHON_USEDEP}]
+ dev-python/inline-snapshot[${PYTHON_USEDEP}]
+
+ dev-python/aiohttp[${PYTHON_USEDEP}]
+ dev-python/chalice[${PYTHON_USEDEP}]
+ dev-python/channels[${PYTHON_USEDEP}]
+ dev-python/django[${PYTHON_USEDEP}]
+ dev-python/fastapi[${PYTHON_USEDEP}]
+ dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/quart[${PYTHON_USEDEP}]
+ dev-python/pydantic[${PYTHON_USEDEP}]
+ dev-python/starlette[${PYTHON_USEDEP}]
+ dev-python/litestar[${PYTHON_USEDEP}]
+ dev-python/uvicorn[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_IGNORE=(
+ "tests/benchmarks/"
+ # avoid daphne which requires autobahn
+ "tests/channels/test_layers.py"
+ "tests/channels/test_testing.py"
+ "tests/http/clients/channels.py"
+ # FIXME:
+ "tests/http/test_graphql_ide.py"
+)
+EPYTEST_DESELECT=(
+ # TODO: sanic
+ "tests/sanic/test_file_upload.py::test_file_cast"
+ "tests/sanic/test_file_upload.py::test_endpoint"
+ # test stdlib?
+ "tests/schema/test_lazy/test_lazy_generic.py::test_lazy_types_loaded_from_same_module[script]"
+ # FIXME
+ "tests/django/test_dataloaders.py::test_fetch_data_from_db"
+)
+EPYTEST_PLUGINS=( pytest-aiohttp pytest-asyncio pytest-django pytest-mock pytest-snapshot )
+distutils_enable_tests pytest
+
+PATCHES=(
+ "${FILESDIR}"/strawberry-0.288.3-no-emoji-test.patch
+)
+
+python_test() {
+ local -x DJANGO_SETTINGS_MODULE="tests.django.django_settings"
+
+ # avoid superfluous pytest-emoji dependency
+ epytest -o addopts=
+}