From 53bc317e48a3b5e27747d670e248a65b033bf7384802596771d9a9d916afa970 Mon Sep 17 00:00:00 2001 From: Todd R Date: Mon, 6 Jan 2020 14:58:36 +0000 Subject: [PATCH] Accepting request 761182 from home:TheBlackCat:branches:devel:languages:python - Remove unneeded python2 ipython-related testing dependencies. These packages are no longer available for python2 and the test suite will automatically skip them if they aren't available. OBS-URL: https://build.opensuse.org/request/show/761182 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tqdm?expand=0&rev=66 --- python-tqdm.changes | 7 +++++++ python-tqdm.spec | 10 ++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/python-tqdm.changes b/python-tqdm.changes index 2df1f1d..bbbe70e 100644 --- a/python-tqdm.changes +++ b/python-tqdm.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jan 6 14:46:46 UTC 2020 - Todd R + +- Remove unneeded python2 ipython-related testing dependencies. + These packages are no longer available for python2 and the test + suite will automatically skip them if they aren't available. + ------------------------------------------------------------------- Sun Jan 5 02:47:11 UTC 2020 - Arun Persaud diff --git a/python-tqdm.spec b/python-tqdm.spec index dec844f..0235069 100644 --- a/python-tqdm.spec +++ b/python-tqdm.spec @@ -42,12 +42,12 @@ Requires(postun): update-alternatives BuildArch: noarch %if %{with test} # SECTION test requirements -BuildRequires: %{python_module ipython} -BuildRequires: %{python_module ipywidgets} BuildRequires: %{python_module nose} BuildRequires: %{python_module numpy} BuildRequires: %{python_module pandas} BuildRequires: %{python_module tqdm} +BuildRequires: python3-ipython +BuildRequires: python3-ipywidgets # /SECTION %endif %python_subpackages @@ -91,10 +91,8 @@ nosetests-%%{$python_bin_suffix} --ignore-files="tests_perf\.py" --ignore-files= %doc README.rst logo.png %doc examples/ %license LICENCE -%dir %{python_sitelib}/tqdm -%dir %{python_sitelib}/tqdm-%{version}-py%{py_ver}.egg-info -%{python_sitelib}/tqdm/* -%{python_sitelib}/tqdm-%{version}-py%{py_ver}.egg-info/* +%{python_sitelib}/tqdm/ +%{python_sitelib}/tqdm-%{version}-py*.egg-info %python_alternative %{_bindir}/tqdm %endif