forked from pool/python-pytest-mockito
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| bb8120d20a | |||
| 9a731fa902 | |||
| 9e67ce6afd | |||
| 58cffda573 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:211b81ce8c71deb00718a3111ee0f7fe4e99d4acfca4aa0126becdd74d84f1e8
|
||||
size 3462
|
||||
BIN
0.0.5.tar.gz
LFS
Normal file
BIN
0.0.5.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 18 06:41:09 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Update to 0.0.5:
|
||||
- Compatibility with python 3.14
|
||||
- Wrap exception for a clean error message
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 17 09:25:35 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Skip failing tests in python 3.14, gh#kaste/pytest-mockito#2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 7 06:53:50 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
- Be more explicit about the metadata directory name.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 23 09:06:19 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-mockito
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2021 Fabrice Bauzac-Stehly
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -17,22 +17,18 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
|
||||
# python-mockito is not available for Python 3.6
|
||||
%define skip_python36 1
|
||||
|
||||
Name: python-pytest-mockito
|
||||
Version: 0.0.4
|
||||
Version: 0.0.5
|
||||
Release: 0
|
||||
Summary: Convenience plugin on top of mockito
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/kaste/pytest-mockito
|
||||
Source: https://github.com/kaste/pytest-mockito/archive/refs/tags/%{version}.tar.gz
|
||||
BuildRequires: %{python_module mockito}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: ca-certificates
|
||||
@@ -51,12 +47,15 @@ For example:
|
||||
|
||||
%prep
|
||||
%autosetup -n pytest-mockito-%{version}
|
||||
# Replace the dynamic version that's calculated with hatch-vcs without
|
||||
# as git checkout
|
||||
sed -i 's/dynamic.*/version="%{version}"/' pyproject.toml
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -65,7 +64,7 @@ For example:
|
||||
%files %python_files
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitelib}/pytest_mockito/
|
||||
%{python_sitelib}/pytest_mockito-*
|
||||
%{python_sitelib}/pytest_mockito
|
||||
%{python_sitelib}/pytest_mockito-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user