Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-MiniMock for openSUSE:Factory checked in at 2022-02-17 23:40:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-MiniMock (Old) and /work/SRC/openSUSE:Factory/.python-MiniMock.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-MiniMock" Thu Feb 17 23:40:09 2022 rev:20 rq:955504 version:1.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-MiniMock/python-MiniMock.changes 2019-11-13 13:14:36.414840636 +0100 +++ /work/SRC/openSUSE:Factory/.python-MiniMock.new.1958/python-MiniMock.changes 2022-02-17 23:41:13.975700564 +0100 @@ -1,0 +2,20 @@ +Wed Feb 16 23:33:05 UTC 2022 - Matej Cepl <mc...@suse.com> + +- Update to 1.3.0: + - pkg: add initial conda recipe and workflow (plus .gitattributes) + - Add some flake8 cleanup and tool cfgs. + - Use nose wth coverage and detailed-errors for smoke test. + - Replace os.path.isfile in lookup_by_name (fails on windows <py38) + - cleanup python/pkg versions, update tox cfg, switch CI + +------------------------------------------------------------------- +Fri Feb 11 13:11:28 UTC 2022 - Matej Cepl <mc...@suse.com> + +- Deduplicate files in python_sitelib. + +------------------------------------------------------------------- +Fri Feb 11 10:30:15 UTC 2022 - pgaj...@suse.com + +- require python3-tools instead of python3-2to3 for build + +------------------------------------------------------------------- Old: ---- MiniMock-1.2.8.tar.gz New: ---- minimock-1.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-MiniMock.spec ++++++ --- /var/tmp/diff_new_pack.5k2WFN/_old 2022-02-17 23:41:14.563700559 +0100 +++ /var/tmp/diff_new_pack.5k2WFN/_new 2022-02-17 23:41:14.583700559 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-MiniMock # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,17 +17,22 @@ %define oldpython python +%define skip_python2 1 +%define modname minimock %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-MiniMock -Version: 1.2.8 +Version: 1.3.0 Release: 0 Summary: A mock library for Python License: MIT -URL: https://pypi.python.org/pypi/MiniMock -Source: https://files.pythonhosted.org/packages/source/M/MiniMock/MiniMock-%{version}.tar.gz +URL: https://github.com/lowks/minimock/ +Source: https://github.com/lowks/%{modname}/archive/refs/tags/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: python3-2to3 +BuildRequires: python3-tools BuildArch: noarch %ifpython2 Provides: %{oldpython}-minimock = %{version} @@ -40,26 +45,23 @@ When using doctest, mock objects can be very simple. %prep -%setup -q -n MiniMock-%{version} +%setup -q -n %{modname}-%{version} %build -%python_build +%pyproject_wheel %install -%python_install -%if %{have_python3} && ! 0%{?skip_python3} -2to3 -wn %{buildroot}%{python3_sitelib}/minimock.py -python3 -m compileall -d %{python3_sitelib} %{buildroot}%{python3_sitelib}/ -python3 -O -m compileall -d %{python3_sitelib} %{buildroot}%{python3_sitelib}/ -%endif +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_expand $python -B %{buildroot}%{$python_sitelib}/minimock.py %files %{python_files} -%license docs/license.txt -%pycache_only %{python_sitelib}/__pycache__/* -%{python_sitelib}/minimock.py* -%{python_sitelib}/MiniMock-%{version}-py%{python_version}.egg-info +%license LICENSE.txt +%doc CHANGELOG.txt README.rst +%pycache_only %{python_sitelib}/__pycache__/minimock* +%{python_sitelib}/minimock.py +%{python_sitelib}/minimock-*-info %changelog