diff --git a/0.4.1.tar.gz b/0.4.1.tar.gz deleted file mode 100644 index 1b83268..0000000 --- a/0.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:02ae2729cf44f8aacbb5ff0f655d64b8fe47957591fc7ef0808b57b7d34292f9 -size 6809 diff --git a/0.4.2.tar.gz b/0.4.2.tar.gz new file mode 100644 index 0000000..17541ad --- /dev/null +++ b/0.4.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:38eb50fd3284c7353ccd4fcd3cbe149f97a3636c6e7f37b033797ebe6eb09a4d +size 7058 diff --git a/python-pytest-freezegun.changes b/python-pytest-freezegun.changes index 005b65e..cd18197 100644 --- a/python-pytest-freezegun.changes +++ b/python-pytest-freezegun.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Aug 21 15:01:49 UTC 2020 - Marketa Calabkova + +- Update to version 0.4.2 + * Work with pre-release pytest versions, by [chandlernine](https://github.com/chandlernine), + with a different implementation proposed by [Aly Sivji](https://github.com/alysivji). + * Marking a test with `freeze_time` should freeze time in fixtures, even if the `freezer` + fixture is also used explicitly late in the fixture list. Thanks to + [Christian Grossmüller](https://github.com/chgad) for pointing out the problem. + ------------------------------------------------------------------- Wed Mar 11 12:42:02 UTC 2020 - pgajdos@suse.com diff --git a/python-pytest-freezegun.spec b/python-pytest-freezegun.spec index e5d91f2..cbf09b5 100644 --- a/python-pytest-freezegun.spec +++ b/python-pytest-freezegun.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-freezegun # -# Copyright (c) 2020 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,32 +12,31 @@ # 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-%{**}} +%define skip_python2 1 Name: python-pytest-freezegun -Version: 0.4.1 +Version: 0.4.2 Release: 0 -License: MIT Summary: Fixtures in freeze_time -Url: https://github.com/ktosiek/pytest-freezegun +License: MIT Group: Development/Languages/Python -#Source: https://files.pythonhosted.org/packages/source/p/pytest-freezegun/pytest-freezegun-%{version}.zip +URL: https://github.com/ktosiek/pytest-freezegun Source: https://github.com/ktosiek/pytest-freezegun/archive/%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-freezegun > 0.3 +Requires: python-pytest >= 3.0.0 +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module freezegun > 0.3} BuildRequires: %{python_module pytest >= 3.0.0} # /SECTION -BuildRequires: unzip -BuildRequires: fdupes -Requires: python-freezegun > 0.3 -Requires: python-pytest >= 3.0.0 -BuildArch: noarch - %python_subpackages %description