From ce9992dfc189fcc1d409c5cafe193e50cb309023954ffe54a63ecc1c0c1ae339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 1 Apr 2020 08:03:51 +0000 Subject: [PATCH] Accepting request 790462 from home:pgajdos:python - version update to 1.2.1 - @nielsvaneck fixed how we can lookup inherited classmethods. - Code base now is python 3 compatible. No 2to3 anymore. - Fine tune error messages on unexpected calls or verifications. - @felixonmars fixed a small compatibility issue with python 3.8 - Mocking properties has become a bit easier. (#26) OBS-URL: https://build.opensuse.org/request/show/790462 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mockito?expand=0&rev=15 --- 1.2.1.tar.gz | 3 +++ mockito-1.1.1.tar.gz | 3 --- python-mockito.changes | 10 ++++++++++ python-mockito.spec | 10 +++++----- 4 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 1.2.1.tar.gz delete mode 100644 mockito-1.1.1.tar.gz diff --git a/1.2.1.tar.gz b/1.2.1.tar.gz new file mode 100644 index 0000000..0e31d92 --- /dev/null +++ b/1.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fe160d568210e438fd1d2d43a485dfdcb053b0f725fd6aa04a307414a365e1a +size 55567 diff --git a/mockito-1.1.1.tar.gz b/mockito-1.1.1.tar.gz deleted file mode 100644 index 03e6886..0000000 --- a/mockito-1.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:142f5e8865a422ad2d67b9c67a382e3296e8f1633dbccd0e322180fba7d5303d -size 36959 diff --git a/python-mockito.changes b/python-mockito.changes index ecd8eb7..d4855d8 100644 --- a/python-mockito.changes +++ b/python-mockito.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Apr 1 07:13:22 UTC 2020 - pgajdos@suse.com + +- version update to 1.2.1 + - @nielsvaneck fixed how we can lookup inherited classmethods. + - Code base now is python 3 compatible. No 2to3 anymore. + - Fine tune error messages on unexpected calls or verifications. + - @felixonmars fixed a small compatibility issue with python 3.8 + - Mocking properties has become a bit easier. (#26) + ------------------------------------------------------------------- Mon Apr 8 08:58:08 UTC 2019 - Tomáš Chvátal diff --git a/python-mockito.spec b/python-mockito.spec index eca42e3..310b9f4 100644 --- a/python-mockito.spec +++ b/python-mockito.spec @@ -1,7 +1,7 @@ # # spec file for package python-mockito # -# 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,15 +17,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python3 1 Name: python-mockito -Version: 1.1.1 +Version: 1.2.1 Release: 0 Summary: Spying framework License: MIT Group: Development/Languages/Python URL: https://github.com/kaste/mockito-python -Source: https://files.pythonhosted.org/packages/source/m/mockito/mockito-%{version}.tar.gz +# https://github.com/kaste/mockito-python/issues/36 +Source: https://github.com/kaste/mockito-python/archive/%{version}.tar.gz BuildRequires: %{python_module numpy} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -41,7 +41,7 @@ Requires: python2-funcsigs Mockito is a spying framework originally based on the Java library with the same name. %prep -%setup -q -n mockito-%{version} +%setup -q -n mockito-python-%{version} %build %python_build