Hello community, here is the log from the commit of package python-entrypoint2 for openSUSE:Factory checked in at 2020-03-05 23:20:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-entrypoint2 (Old) and /work/SRC/openSUSE:Factory/.python-entrypoint2.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-entrypoint2" Thu Mar 5 23:20:16 2020 rev:13 rq:781453 version:0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-entrypoint2/python-entrypoint2.changes 2018-08-12 20:54:53.405408420 +0200 +++ /work/SRC/openSUSE:Factory/.python-entrypoint2.new.26092/python-entrypoint2.changes 2020-03-05 23:20:25.609249696 +0100 @@ -1,0 +2,9 @@ +Mon Mar 2 16:33:16 UTC 2020 - Marketa Calabkova <[email protected]> + +- Update to version 0.2 + * remove py34 support + * drop py35, add py38 + * few docs and test fixes +- Launch tests using multibuild + +------------------------------------------------------------------- Old: ---- entrypoint2-0.0.6.tar.gz New: ---- _multibuild entrypoint2-0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-entrypoint2.spec ++++++ --- /var/tmp/diff_new_pack.hoZYKg/_old 2020-03-05 23:20:26.929250422 +0100 +++ /var/tmp/diff_new_pack.hoZYKg/_new 2020-03-05 23:20:26.929250422 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-entrypoint2 # -# Copyright (c) 2018 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 @@ -12,24 +12,39 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif Name: python-entrypoint2 -Version: 0.0.6 +Version: 0.2 Release: 0 Summary: Command-line interface for python modules License: BSD-2-Clause Group: Development/Languages/Python URL: https://github.com/ponty/entrypoint2 -Source: https://files.pythonhosted.org/packages/source/e/entrypoint2/entrypoint2-%{version}.tar.gz +Source: https://github.com/ponty/entrypoint2/archive/%{version}.tar.gz#/entrypoint2-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-decorator BuildArch: noarch +%if %{with test} +BuildRequires: %{python_module EasyProcess} +BuildRequires: %{python_module coverage} +BuildRequires: %{python_module decorator} +BuildRequires: %{python_module entrypoint2 = %{version}} +BuildRequires: %{python_module nose} +BuildRequires: %{python_module path.py} +%endif %python_subpackages %description @@ -41,16 +56,27 @@ # argparse is py2.6 or older sed -i -e '/argparse/d' requirements.txt +%if !%{with test} %build %python_build +%endif +%if !%{with test} %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif +%if %{with test} +%check +%python_expand nosetests-%{$python_bin_suffix} +%endif + +%if !%{with test} %files %{python_files} %license LICENSE.txt %doc README.rst %{python_sitelib}/* +%endif %changelog ++++++ _multibuild ++++++ <multibuild> <package>test</package> </multibuild> ++++++ entrypoint2-0.0.6.tar.gz -> entrypoint2-0.2.tar.gz ++++++ ++++ 1944 lines of diff (skipped)
