From d0365a55e4596abb4ece1fe0dee9b3abce0e611cd9311ade9bbc5527b6c689c4 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 14 Nov 2024 14:20:44 +0000 Subject: [PATCH] - 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 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mockito?expand=0&rev=23 --- 1.5.0.tar.gz | 3 --- 1.5.3.tar.gz | 3 +++ python-mockito.changes | 9 +++++++++ python-mockito.spec | 19 +++++++++++-------- 4 files changed, 23 insertions(+), 11 deletions(-) delete mode 100644 1.5.0.tar.gz create mode 100644 1.5.3.tar.gz diff --git a/1.5.0.tar.gz b/1.5.0.tar.gz deleted file mode 100644 index 615f025..0000000 --- a/1.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:599356409c790bc663d51a076696d59b84789acd013207355d98a47dd040389f -size 59902 diff --git a/1.5.3.tar.gz b/1.5.3.tar.gz new file mode 100644 index 0000000..d67d396 --- /dev/null +++ b/1.5.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3411e06f6cbe717d2702b5513e5a668f4ee887b39120f80768c8e3cfe699b357 +size 60234 diff --git a/python-mockito.changes b/python-mockito.changes index 251abb3..a77d1f6 100644 --- a/python-mockito.changes +++ b/python-mockito.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Nov 14 14:19:46 UTC 2024 - Dirk Müller + +- 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 diff --git a/python-mockito.spec b/python-mockito.spec index b4f46a4..a587a02 100644 --- a/python-mockito.spec +++ b/python-mockito.spec @@ -16,19 +16,21 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python36 1 +%{?sle15_python_module_pythons} Name: python-mockito -Version: 1.5.0 +Version: 1.5.3 Release: 0 Summary: Spying framework License: MIT URL: https://github.com/kaste/mockito-python # 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 hatch_vcs} +BuildRequires: %{python_module numpy >= 2} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -41,13 +43,13 @@ Requires: python2-funcsigs Mockito is a spying framework originally based on the Java library with the same name. %prep -%setup -q -n mockito-python-%{version} +%autosetup -p1 -n mockito-python-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -56,6 +58,7 @@ Mockito is a spying framework originally based on the Java library with the same %files %{python_files} %doc AUTHORS CHANGES.txt README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/mockito +%{python_sitelib}/mockito-%{version}.dist-info %changelog