14
0

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
This commit is contained in:
Tomáš Chvátal
2020-04-01 08:03:51 +00:00
committed by Git OBS Bridge
parent ad726542fb
commit ce9992dfc1
4 changed files with 18 additions and 8 deletions

3
1.2.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0fe160d568210e438fd1d2d43a485dfdcb053b0f725fd6aa04a307414a365e1a
size 55567

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:142f5e8865a422ad2d67b9c67a382e3296e8f1633dbccd0e322180fba7d5303d
size 36959

View File

@@ -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 <tchvatal@suse.com> Mon Apr 8 08:58:08 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-mockito # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python3 1
Name: python-mockito Name: python-mockito
Version: 1.1.1 Version: 1.2.1
Release: 0 Release: 0
Summary: Spying framework Summary: Spying framework
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/kaste/mockito-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 numpy}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} 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. Mockito is a spying framework originally based on the Java library with the same name.
%prep %prep
%setup -q -n mockito-%{version} %setup -q -n mockito-python-%{version}
%build %build
%python_build %python_build