15
0
2025-02-04 14:08:58 +00:00
committed by Git OBS Bridge
parent 81888c75f8
commit 646e3c6795

View File

@@ -16,7 +16,6 @@
#
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-graphql-core
Version: 3.2.6
@@ -26,9 +25,10 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/graphql-python/graphql-core
Source: https://files.pythonhosted.org/packages/source/g/graphql_core/graphql_core-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module pytest-asyncio >= 0.14}
BuildRequires: %{python_module pytest-benchmark >= 3.2}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Conflicts: python-graphql
@@ -43,10 +43,10 @@ the JavaScript reference implementation for GraphQL.
%setup -q -n graphql_core-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -55,6 +55,7 @@ the JavaScript reference implementation for GraphQL.
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/graphql
%{python_sitelib}/graphql_core-%{version}*info
%changelog