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..a08257d 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 poetry-core} +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