Blob Blame History Raw
%global pypi_name aiocmd

Name:           python-%{pypi_name}
Version:        0.1.5
Release:        3%{?dist}
Summary:        Coroutine-based CLI generator using prompt_toolkit

License:        MIT
URL:            http://github.com/KimiNewt/aiocmd
Source0:        %{pypi_source}
Source1:        https://raw.githubusercontent.com/KimiNewt/aiocmd/master/LICENSE
BuildArch:      noarch

%description
Coroutine-based CLI generator using prompt_toolkit, similarly to the built-in
cmd module.

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

BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
%{?python_provide:%python_provide python3-%{pypi_name}}

%description -n python3-%{pypi_name}
Coroutine-based CLI generator using prompt_toolkit, similarly to the built-in
cmd module.

%prep
%autosetup  -n %{pypi_name}-%{version} -p 1
rm -rf %{pypi_name}.egg-info
cp -a %{SOURCE1} LICENSE

%build
%py3_build

%install
%py3_install

%files -n python3-%{pypi_name}
%doc README.md
%license LICENSE
%{python3_sitelib}/%{pypi_name}/
%{python3_sitelib}/%{pypi_name}-%{version}-py*.egg-info

%changelog
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Tue Jun 23 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.5-1
- Update to latest upstream release 0.1.5 (rhbz#1849114)

* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.1.2-4
- Rebuilt for Python 3.9

* Thu May 14 2020 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.1.2-3
- include 0.1.2-prompt_toolkit3.patch

* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Sun Jan 12 2020 Fabian Affolter <mail@fabian-affolter.ch> - 0.1.2-1
- Initial package for Fedora