1
0

4 Commits

Author SHA256 Message Date
b3bf79a514 Accepting request 1286224 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1286224
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flexmock?expand=0&rev=10
2025-06-17 16:22:47 +00:00
61e521c827 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=22
2025-06-17 04:20:03 +00:00
4def9d6edf Accepting request 1239249 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1239249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flexmock?expand=0&rev=9
2025-01-21 20:11:00 +00:00
980d5201d8 - Update to 0.12.2
* Fix typing of and_raise (exception instances are allowed).
  * Fix teardown for spying on derived class methods.
  * Remove python 3.6 mentions and add py-version config to pylint.
- Adjust URL to upstream source tarball on Github

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=20
2025-01-21 11:44:12 +00:00
4 changed files with 25 additions and 10 deletions

View File

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

View File

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

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue Jun 17 04:13:59 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Tue Jan 21 09:17:16 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.12.2
* Fix typing of and_raise (exception instances are allowed).
* Fix teardown for spying on derived class methods.
* Remove python 3.6 mentions and add py-version config to pylint.
- Adjust URL to upstream source tarball on Github
-------------------------------------------------------------------
Fri Jul 5 13:21:48 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-flexmock
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,15 @@
%{?sle15_python_module_pythons}
Name: python-flexmock
Version: 0.12.1
Version: 0.12.2
Release: 0
Summary: Testing library for creating mocks, stubs and fakes
License: BSD-2-Clause
URL: https://github.com/bkabrda/flexmock
Source: %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -42,10 +43,10 @@ a number of Python-only features.
%autosetup -n flexmock-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -55,6 +56,6 @@ a number of Python-only features.
%license LICENSE
%doc README.md CHANGELOG.md
%{python_sitelib}/flexmock
%{python_sitelib}/flexmock-%{version}-py*.egg-info
%{python_sitelib}/flexmock-%{version}.dist-info
%changelog