Hello community, here is the log from the commit of package python-entrypoints for openSUSE:Factory checked in at 2020-03-27 00:25:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-entrypoints (Old) and /work/SRC/openSUSE:Factory/.python-entrypoints.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-entrypoints" Fri Mar 27 00:25:33 2020 rev:6 rq:785570 version:0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-entrypoints/python-entrypoints.changes 2019-02-08 13:46:13.738819789 +0100 +++ /work/SRC/openSUSE:Factory/.python-entrypoints.new.3160/python-entrypoints.changes 2020-03-27 00:25:37.300266659 +0100 @@ -1,0 +2,6 @@ +Mon Mar 16 10:30:18 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Fix build without python2 +- Really execute tests + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-entrypoints.spec ++++++ --- /var/tmp/diff_new_pack.3cLi31/_old 2020-03-27 00:25:38.376267204 +0100 +++ /var/tmp/diff_new_pack.3cLi31/_new 2020-03-27 00:25:38.380267205 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-entrypoints # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,22 +17,21 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test +%bcond_without python2 Name: python-entrypoints Version: 0.3 Release: 0 Summary: Discover and load entry points from installed packages License: MIT -Group: Development/Languages/Python URL: https://github.com/takluyver/entrypoints Source: https://files.pythonhosted.org/packages/source/e/entrypoints/entrypoints-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch -BuildRequires: %{python_module devel} -%if %{with test} -BuildRequires: %{python_module pytest} -BuildRequires: python-configparser +%if %{with python2} +BuildRequires: python-configparser >= 3.5 %endif %ifpython2 Requires: python-configparser >= 3.5 @@ -59,14 +58,8 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check -pushd tests -%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} -$python test_entrypoints.py -} -popd -%endif +%pytest %files %{python_files} %license LICENSE