Blob Blame History Raw
Name:           python-aiofiles
Version:        22.1.0
Release:        %autorelease
Summary:        File support for asyncio

License:        ASL 2.0
Source0:        %{url}/archive/v%{version}/aiofiles-%{version}.tar.gz

BuildArch:      noarch

BuildRequires:  python3-devel
BuildRequires:  pyproject-rpm-macros

# For tests, from pyproject.toml []:
BuildRequires:  python3dist(pytest)
BuildRequires:  python3dist(pytest-asyncio)
# We do not require coverage and tox simply to run pytest.

%global _description \
aiofiles is an Apache2 licensed library, written in Python, for handling\
local disk files in asyncio applications.

%description %{_description}

%pyproject_buildrequires -r

%package -n python3-aiofiles
Summary:        %{summary}

%description -n python3-aiofiles %{_description}

%autosetup -n aiofiles-%{version}


%pyproject_save_files aiofiles


%files -n python3-aiofiles -f %{pyproject_files}
%license LICENSE
%doc README.rst