Hello community, here is the log from the commit of package python-Glymur for openSUSE:Factory checked in at 2019-12-07 15:08:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Glymur (Old) and /work/SRC/openSUSE:Factory/.python-Glymur.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Glymur" Sat Dec 7 15:08:31 2019 rev:2 rq:754758 version:0.8.18 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Glymur/python-Glymur.changes 2019-09-27 14:54:45.475780355 +0200 +++ /work/SRC/openSUSE:Factory/.python-Glymur.new.4691/python-Glymur.changes 2019-12-07 15:08:54.875850848 +0100 @@ -1,0 +2,6 @@ +Fri Dec 6 18:44:56 UTC 2019 - Todd R <[email protected]> + +- Disable python2 support since dependencies dropped python2 +- Use pytest to simplify test invocation + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Glymur.spec ++++++ --- /var/tmp/diff_new_pack.vlpE6L/_old 2019-12-07 15:08:56.267850652 +0100 +++ /var/tmp/diff_new_pack.vlpE6L/_new 2019-12-07 15:08:56.271850651 +0100 @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-Glymur Version: 0.8.18 Release: 0 @@ -25,23 +26,19 @@ Group: Development/Languages/Python URL: https://github.com/quintusdias/glymur Source: https://files.pythonhosted.org/packages/source/G/Glymur/Glymur-%{version}.tar.gz -BuildRequires: %{python_module lxml} -BuildRequires: %{python_module numpy >= 1.7.1} -BuildRequires: %{python_module scikit-image} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: procps -BuildRequires: python-contextlib2 >= 0.4 -BuildRequires: python-importlib_resources -BuildRequires: python-mock >= 0.7.2 BuildRequires: python-rpm-macros Requires: python-numpy >= 1.7.1 -Requires: python-setuptools +Recommends: python-lxml BuildArch: noarch -%ifpython2 -Requires: python-contextlib2 >= 0.4 -Requires: python-mock >= 0.7.2 -%endif +# SECTION test requirements +BuildRequires: %{python_module lxml} +BuildRequires: %{python_module numpy >= 1.7.1} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module scikit-image} +# /SECTION %python_subpackages %description @@ -61,14 +58,12 @@ %check touch tests/data/__init__.py -# python_expand makes the discovery go crazy in this package -PYTHONPATH=%{buildroot}%{python3_sitelib} python3 -m unittest discover -v -PYTHONPATH=%{buildroot}%{python_sitelib} python -m unittest discover -v +%pytest %files %{python_files} %doc README.md CHANGES.txt %license LICENSE.txt -%{python_sitelib}/* %python3_only %{_bindir}/jp2dump +%{python_sitelib}/* %changelog
