|
 |
01e20eb |
%global pypi_name aiorestapi
|
|
 |
01e20eb |
|
|
 |
01e20eb |
Name: python-%{pypi_name}
|
|
 |
01e20eb |
Version: 0.1.1
|
|
 |
af4ac61 |
Release: 4%{?dist}
|
|
 |
01e20eb |
Summary: Rapid rest resources for aiohttp
|
|
 |
01e20eb |
|
|
 |
01e20eb |
License: ASL 2.0
|
|
 |
01e20eb |
URL: https://github.com/aiselis/aiorestapi
|
|
 |
01e20eb |
Source0: https://files.pythonhosted.org/packages/source/a/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
 |
01e20eb |
BuildArch: noarch
|
|
 |
01e20eb |
|
|
 |
01e20eb |
%description
|
|
 |
01e20eb |
aiorestapi allows you to quickly create a rest resource in a few steps. It
|
|
 |
01e20eb |
automatically creates the resource routes on the collections or individual
|
|
 |
01e20eb |
items; it's simply to specify the suffix '_collection' or '_item' on the
|
|
 |
01e20eb |
methods. The serialization/deserialization of results/requests occurs
|
|
 |
01e20eb |
transparently using python dictionaries.
|
|
 |
01e20eb |
|
|
 |
01e20eb |
%package -n python3-%{pypi_name}
|
|
 |
01e20eb |
Summary: %{summary}
|
|
 |
01e20eb |
|
|
 |
01e20eb |
BuildRequires: python3-devel
|
|
 |
01e20eb |
BuildRequires: python3-setuptools
|
|
 |
01e20eb |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
 |
01e20eb |
|
|
 |
01e20eb |
%description -n python3-%{pypi_name}
|
|
 |
01e20eb |
aiorestapi allows you to quickly create a rest resource in a few steps. It
|
|
 |
01e20eb |
automatically creates the resource routes on the collections or individual
|
|
 |
01e20eb |
items; it's simply to specify the suffix '_collection' or '_item' on the
|
|
 |
01e20eb |
methods. The serialization/deserialization of results/requests occurs
|
|
 |
01e20eb |
transparently using python dictionaries.
|
|
 |
01e20eb |
|
|
 |
01e20eb |
%prep
|
|
 |
01e20eb |
%autosetup -n %{pypi_name}-%{version}
|
|
 |
01e20eb |
rm -rf %{pypi_name}.egg-info
|
|
 |
01e20eb |
|
|
 |
01e20eb |
%build
|
|
 |
01e20eb |
%py3_build
|
|
 |
01e20eb |
|
|
 |
01e20eb |
%install
|
|
 |
01e20eb |
%py3_install
|
|
 |
01e20eb |
|
|
 |
01e20eb |
%files -n python3-%{pypi_name}
|
|
 |
01e20eb |
%doc README.md
|
|
 |
01e20eb |
%{python3_sitelib}/%{pypi_name}/
|
|
 |
01e20eb |
%{python3_sitelib}/%{pypi_name}-%{version}-py*.egg-info/
|
|
 |
01e20eb |
|
|
 |
01e20eb |
%changelog
|
|
 |
af4ac61 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-4
|
|
 |
af4ac61 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
af4ac61 |
|
|
 |
f0e1560 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-3
|
|
 |
f0e1560 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
f0e1560 |
|
|
 |
a42b756 |
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.1.1-2
|
|
 |
a42b756 |
- Rebuilt for Python 3.9
|
|
 |
a42b756 |
|
|
 |
01e20eb |
* Mon Mar 02 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.1-1
|
|
 |
01e20eb |
- Initial package for Fedora
|