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