From a1df04211ef5645eaadab27c70088258111c9a590301ca2c9edbeadde07c665e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 27 May 2025 14:27:46 +0000 Subject: [PATCH 1/2] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-graphql-relay?expand=0&rev=11 --- python-graphql-relay.changes | 5 +++++ python-graphql-relay.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-graphql-relay.changes b/python-graphql-relay.changes index 58ffa6a..1135841 100644 --- a/python-graphql-relay.changes +++ b/python-graphql-relay.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 27 14:27:34 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Thu Jul 6 11:19:37 UTC 2023 - ecsos diff --git a/python-graphql-relay.spec b/python-graphql-relay.spec index 4d1c0e9..9ad14a8 100644 --- a/python-graphql-relay.spec +++ b/python-graphql-relay.spec @@ -1,7 +1,7 @@ # # spec file for package python-graphql-relay # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,11 +26,13 @@ Group: Development/Languages/Python URL: https://github.com/graphql-python/graphql-relay-py Source: https://files.pythonhosted.org/packages/source/g/graphql-relay/graphql-relay-%{version}.tar.gz BuildRequires: %{python_module graphql-core >= 3.2} +BuildRequires: %{python_module pip} BuildRequires: %{python_module promise} BuildRequires: %{python_module pytest >= 6.2} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-describe} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-promise @@ -48,10 +50,10 @@ the GraphQL Python reference implementation of a GraphQL server. %setup -q -n graphql-relay-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check From 07578d383223e2034d6473efa250514b6dbcc0eacc07c15b11fc5858b321490b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 27 May 2025 15:44:59 +0000 Subject: [PATCH 2/2] change build backend OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-graphql-relay?expand=0&rev=12 --- python-graphql-relay.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-graphql-relay.spec b/python-graphql-relay.spec index 9ad14a8..a08257d 100644 --- a/python-graphql-relay.spec +++ b/python-graphql-relay.spec @@ -31,7 +31,7 @@ BuildRequires: %{python_module promise} BuildRequires: %{python_module pytest >= 6.2} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-describe} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module poetry-core} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros