Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 9705617f91 | |||
| 868729083c | |||
| ed40fd83e1 | |||
| d0365a55e4 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:599356409c790bc663d51a076696d59b84789acd013207355d98a47dd040389f
|
|
||||||
size 59902
|
|
||||||
3
1.5.4.tar.gz
Normal file
3
1.5.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:20cd741cb1c74fe55b2f16c04802002d840d4cf448f59badf1d4d0c1397dd116
|
||||||
|
size 61465
|
||||||
@@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 12 07:08:07 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.5.4
|
||||||
|
* Implement defined behavior for `deepcopy` for mocks. (#91)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 14 14:19:46 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 1.5.3:
|
||||||
|
* Remove now unsupported "asyncio_mode" configuration
|
||||||
|
* Avoid partial when constructing answers
|
||||||
|
* Update numpy dev dependency
|
||||||
|
* Add Python 3.13 to the test matrix
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 16 08:57:47 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Sat Mar 16 08:57:47 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-mockito
|
# spec file for package python-mockito
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 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
|
||||||
@@ -16,19 +16,21 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?sle15_python_module_pythons}
|
||||||
%define skip_python36 1
|
|
||||||
Name: python-mockito
|
Name: python-mockito
|
||||||
Version: 1.5.0
|
Version: 1.5.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Spying framework
|
Summary: Spying framework
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/kaste/mockito-python
|
URL: https://github.com/kaste/mockito-python
|
||||||
# https://github.com/kaste/mockito-python/issues/36
|
# https://github.com/kaste/mockito-python/issues/36
|
||||||
Source: https://github.com/kaste/mockito-python/archive/%{version}.tar.gz
|
Source: https://github.com/kaste/mockito-python/archive/%{version}.tar.gz
|
||||||
BuildRequires: %{python_module numpy}
|
BuildRequires: %{python_module hatch_vcs}
|
||||||
|
BuildRequires: %{python_module numpy >= 2}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -41,13 +43,13 @@ 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-python-%{version}
|
%autosetup -p1 -n mockito-python-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -56,6 +58,7 @@ Mockito is a spying framework originally based on the Java library with the same
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc AUTHORS CHANGES.txt README.rst
|
%doc AUTHORS CHANGES.txt README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/mockito
|
||||||
|
%{python_sitelib}/mockito-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user