|
 |
f974922 |
%global pypi_name py-gql
|
|
 |
f974922 |
|
|
 |
f974922 |
Name: python-%{pypi_name}
|
|
 |
f974922 |
Version: 0.6.1
|
|
 |
b4ad1e8 |
Release: 6%{?dist}
|
|
 |
f974922 |
Summary: Comprehensive GraphQL implementation for Python
|
|
 |
f974922 |
|
|
 |
f974922 |
License: MIT
|
|
 |
f974922 |
URL: https://github.com/lirsacc/py-gql
|
|
 |
f974922 |
Source0: %{url}/releases/download/v%{version}/py_gql-%{version}.tar.gz
|
|
 |
f974922 |
BuildArch: noarch
|
|
 |
f974922 |
|
|
 |
f974922 |
%description
|
|
 |
f974922 |
py-gql is a pure Python GraphQL implementation aimed at creating GraphQL
|
|
 |
f974922 |
servers and providing common tooling.
|
|
 |
f974922 |
|
|
 |
f974922 |
It supports:
|
|
 |
f974922 |
|
|
 |
f974922 |
- Parsing the GraphQL query language and schema definition language.
|
|
 |
f974922 |
- Building a GraphQL type schema programmatically and from Schema Definition
|
|
 |
f974922 |
files (including support for schema directives).
|
|
 |
f974922 |
- Validating and Executing a GraphQL request against a type schema.
|
|
 |
f974922 |
|
|
 |
f974922 |
%package -n python3-%{pypi_name}
|
|
 |
f974922 |
Summary: %{summary}
|
|
 |
f974922 |
|
|
 |
f974922 |
BuildRequires: python3-devel
|
|
 |
f974922 |
BuildRequires: python3-coverage
|
|
 |
f974922 |
BuildRequires: python3-pytest
|
|
 |
f974922 |
BuildRequires: python3-pytest-asyncio
|
|
 |
f974922 |
BuildRequires: python3-pytest-benchmark
|
|
 |
f974922 |
BuildRequires: python3-pytest-cov
|
|
 |
f974922 |
BuildRequires: python3-pytest-mock
|
|
 |
f974922 |
BuildRequires: python3-pytest-xdist
|
|
 |
f974922 |
BuildRequires: python3-setuptools
|
|
 |
f974922 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
 |
f974922 |
|
|
 |
f974922 |
%description -n python3-%{pypi_name}
|
|
 |
f974922 |
py-gql is a pure Python GraphQL implementation aimed at creating GraphQL
|
|
 |
f974922 |
servers and providing common tooling.
|
|
 |
f974922 |
|
|
 |
f974922 |
It supports:
|
|
 |
f974922 |
|
|
 |
f974922 |
- Parsing the GraphQL query language and schema definition language.
|
|
 |
f974922 |
- Building a GraphQL type schema programmatically and from Schema Definition
|
|
 |
f974922 |
files (including support for schema directives).
|
|
 |
f974922 |
- Validating and Executing a GraphQL request against a type schema.
|
|
 |
f974922 |
|
|
 |
f974922 |
%prep
|
|
 |
f974922 |
%autosetup -n py_gql-%{version}
|
|
 |
f974922 |
rm -rf %{pypi_name}.egg-info
|
|
 |
f974922 |
|
|
 |
f974922 |
%build
|
|
 |
f974922 |
%py3_build
|
|
 |
f974922 |
|
|
 |
f974922 |
%install
|
|
 |
f974922 |
%py3_install
|
|
 |
f974922 |
|
|
 |
f974922 |
%check
|
|
 |
f974922 |
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v tests
|
|
 |
f974922 |
|
|
 |
f974922 |
%files -n python3-%{pypi_name}
|
|
 |
f974922 |
%license LICENSE
|
|
 |
f974922 |
%doc README.md
|
|
 |
f974922 |
%{python3_sitelib}/py_gql/
|
|
 |
f974922 |
%{python3_sitelib}/py_gql-%{version}-py%{python3_version}.egg-info
|
|
 |
f974922 |
|
|
 |
f974922 |
%changelog
|
|
 |
b4ad1e8 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-6
|
|
 |
b4ad1e8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
b4ad1e8 |
|
|
 |
f6f6863 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.6.1-5
|
|
 |
f6f6863 |
- Rebuilt for Python 3.10
|
|
 |
f6f6863 |
|
|
 |
d4df1ec |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-4
|
|
 |
d4df1ec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
d4df1ec |
|
|
 |
0c968bc |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-3
|
|
 |
0c968bc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
0c968bc |
|
|
 |
f974922 |
* Fri Jun 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.6.1-2
|
|
 |
f974922 |
- Run tests as pytest is now available (rhbz#1837139)
|
|
 |
f974922 |
|
|
 |
f974922 |
* Mon May 18 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.6.1-1
|
|
 |
f974922 |
- Initial package for Fedora
|