diff --git a/prompt_toolkit-2.0.10.tar.gz b/prompt_toolkit-2.0.10.tar.gz new file mode 100644 index 0000000..e280da0 --- /dev/null +++ b/prompt_toolkit-2.0.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f15af68f66e664eaa559d4ac8a928111eebd5feda0c11738b5998045224829db +size 347981 diff --git a/prompt_toolkit-2.0.9.tar.gz b/prompt_toolkit-2.0.9.tar.gz deleted file mode 100644 index c393163..0000000 --- a/prompt_toolkit-2.0.9.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2519ad1d8038fd5fc8e770362237ad0364d16a7650fb5724af6997ed5515e3c1 -size 348321 diff --git a/python-prompt_toolkit.changes b/python-prompt_toolkit.changes index 9f8d68a..577b8ad 100644 --- a/python-prompt_toolkit.changes +++ b/python-prompt_toolkit.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Oct 10 08:31:46 UTC 2019 - Tomáš Chvátal + +- Update to 2.0.10: + * minor bugfixes around + ------------------------------------------------------------------- Sat Mar 2 05:14:33 UTC 2019 - Arun Persaud diff --git a/python-prompt_toolkit.spec b/python-prompt_toolkit.spec index 3f7660f..000623a 100644 --- a/python-prompt_toolkit.spec +++ b/python-prompt_toolkit.spec @@ -18,16 +18,17 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python -%bcond_without test Name: python-prompt_toolkit -Version: 2.0.9 +Version: 2.0.10 Release: 0 Summary: Library for building interactive command lines in Python License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/jonathanslenders/python-prompt-toolkit Source: https://files.pythonhosted.org/packages/source/p/prompt_toolkit/prompt_toolkit-%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} +BuildRequires: %{python_module wcwidth} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six >= 1.9.0 @@ -35,11 +36,6 @@ Requires: python-wcwidth Recommends: python-Pygments Conflicts: python-prompt_toolkit1 BuildArch: noarch -%if %{with test} -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module six} -BuildRequires: %{python_module wcwidth} -%endif %ifpython2 Obsoletes: %{oldpython}-python-prompt-toolkit < %{version} Provides: %{oldpython}-python-prompt-toolkit = %{version} @@ -60,12 +56,8 @@ lines in Python. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} -py.test-%{$python_bin_suffix} -} -%endif +%pytest %files %{python_files} %license LICENSE