From 3bec86b7920eb4818f4f3344e4f4765872d9910b0047590f7b04edfd17fb0bd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 12 Mar 2019 15:41:28 +0000 Subject: [PATCH] - Update to 0.10.3: - fix compatibility with py.test 4.1 - minor documentation fixes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=8 --- flexmock-0.10.2.tar.gz | 3 --- flexmock-0.10.3.tar.gz | 3 +++ python-flexmock.changes | 7 +++++++ python-flexmock.spec | 15 ++++----------- 4 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 flexmock-0.10.2.tar.gz create mode 100644 flexmock-0.10.3.tar.gz diff --git a/flexmock-0.10.2.tar.gz b/flexmock-0.10.2.tar.gz deleted file mode 100644 index a613bfe..0000000 --- a/flexmock-0.10.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fe95c8727f4db73dc8f2f7b4548bffe7992440a965fefd60da291abda5352c2b -size 44425 diff --git a/flexmock-0.10.3.tar.gz b/flexmock-0.10.3.tar.gz new file mode 100644 index 0000000..dc7ce40 --- /dev/null +++ b/flexmock-0.10.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41cc082cd40513644ed0237c99d712b6e397cc2cdf13d80163a7e27689302c0c +size 45017 diff --git a/python-flexmock.changes b/python-flexmock.changes index 9b54efd..6d02309 100644 --- a/python-flexmock.changes +++ b/python-flexmock.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Mar 12 15:40:27 UTC 2019 - Tomáš Chvátal + +- Update to 0.10.3: + - fix compatibility with py.test 4.1 + - minor documentation fixes + ------------------------------------------------------------------- Wed Dec 5 01:06:27 UTC 2018 - Jan Engelhardt diff --git a/python-flexmock.spec b/python-flexmock.spec index 99007e6..d7a3574 100644 --- a/python-flexmock.spec +++ b/python-flexmock.spec @@ -1,7 +1,7 @@ # # spec file for package python-flexmock # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,23 +17,19 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-flexmock -Version: 0.10.2 +Version: 0.10.3 Release: 0 Summary: Testing library for creating mocks, stubs and fakes License: BSD-2-Clause Group: Development/Languages/Python URL: https://github.com/bkabrda/flexmock Source: https://files.pythonhosted.org/packages/source/f/flexmock/flexmock-%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch -%if %{with test} -BuildRequires: %{python_module nose} -BuildRequires: %{python_module pytest} -%endif %python_subpackages %description @@ -53,11 +49,8 @@ a number of Python-only features. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check -export PYTHONPATH="." -%python_exec tests/flexmock_unittest_test.py -%endif +%pytest %files %{python_files} %license LICENSE