From 46b8d9663bd0799772ad76018e3c0ca4e5f2304e9df0ee396c7939cbb0b5f420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 22 Jan 2020 10:38:41 +0000 Subject: [PATCH] - Update to 1.3.0: * Fix build on 32bit arches with 64bit time_t * Add functionality to query device properties. * Add InputDevice.set_absinfo() and InputDevice.absinfo(). * Instruct the asyncio event loop to stop monitoring the fd of the input device when the device is closed. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ddt?expand=0&rev=20 --- ddt-1.2.1.tar.gz | 3 --- ddt-1.2.2.tar.gz | 3 +++ python-ddt.changes | 6 ++++++ python-ddt.spec | 10 ++++++---- 4 files changed, 15 insertions(+), 7 deletions(-) delete mode 100644 ddt-1.2.1.tar.gz create mode 100644 ddt-1.2.2.tar.gz diff --git a/ddt-1.2.1.tar.gz b/ddt-1.2.1.tar.gz deleted file mode 100644 index aaf0060..0000000 --- a/ddt-1.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d13e6af8f36238e89d00f4ebccf2bda4f6d1878be560a6600689e42077e164e3 -size 8981 diff --git a/ddt-1.2.2.tar.gz b/ddt-1.2.2.tar.gz new file mode 100644 index 0000000..0afa99a --- /dev/null +++ b/ddt-1.2.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f79cf234064cf9b43492b72da35c473de3f03163d37bd13cec5bd8d200dda6b +size 8969 diff --git a/python-ddt.changes b/python-ddt.changes index 9538c28..b9f1c7b 100644 --- a/python-ddt.changes +++ b/python-ddt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 22 10:35:00 UTC 2020 - Tomáš Chvátal + +- Update to 1.2.2: + * use mock only when it is really needed + ------------------------------------------------------------------- Thu Mar 7 14:07:30 UTC 2019 - Tomáš Chvátal diff --git a/python-ddt.spec b/python-ddt.spec index 19e2c1e..52be95d 100644 --- a/python-ddt.spec +++ b/python-ddt.spec @@ -1,7 +1,7 @@ # # spec file for package python-ddt # -# 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,12 +17,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without python2 Name: python-ddt -Version: 1.2.1 +Version: 1.2.2 Release: 0 Summary: Data-Driven/Decorated Tests License: MIT -Group: Development/Languages/Python URL: https://github.com/txels/ddt Source: https://files.pythonhosted.org/packages/source/d/ddt/ddt-%{version}.tar.gz BuildRequires: %{python_module setuptools} @@ -31,8 +31,10 @@ BuildRequires: python-rpm-macros BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module PyYAML} -BuildRequires: %{python_module mock} BuildRequires: %{python_module nose} +%if %{with python2} +BuildRequires: python-mock +%endif # /SECTION %python_subpackages