Remove six dependency

This commit is contained in:
Carl George 2020-05-13 19:44:26 -05:00
parent 9185f5954c
commit 72d0d72d53

View File

@ -16,7 +16,7 @@ terminal applications in Python.}
Name: python-%{pkgname}
Version: 3.0.5
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Library for building powerful interactive command lines in Python
License: BSD
URL: https://github.com/prompt-toolkit/python-prompt-toolkit
@ -30,16 +30,12 @@ BuildArch: noarch
%package -n python3-%{pkgname}
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: %{py3_dist setuptools}
%if %{with tests}
BuildRequires: python3-pytest
BuildRequires: python3-six >= 1.9.0
BuildRequires: python3-wcwidth
BuildRequires: %{py3_dist pytest wcwidth}
%endif
Requires: python3-six >= 1.9.0
Requires: python3-wcwidth
# https://github.com/jonathanslenders/python-prompt-toolkit/issues/94
Recommends: python3-pygments
Recommends: %{py3_dist pygments}
# renamed from python3-prompt_toolkit
Obsoletes: python3-prompt_toolkit < 1.0.16-2
Provides: python3-prompt_toolkit = %{version}-%{release}
@ -64,7 +60,7 @@ rm -rf %{eggname}.egg-info
%if %{with tests}
%check
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} --verbose
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} --verbose
%endif
@ -76,6 +72,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} --verbose
%changelog
* Thu May 14 2020 Carl George <carl@george.computer> - 3.0.5-2
- Remove six dependency
* Tue May 05 2020 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 3.0.5-1
- Latest upstream