17
0

6 Commits

Author SHA256 Message Date
6de48793fa 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
3bbb049663 - 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
fac6bc46f1 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
6c98654802 Accepting request 1239213 from home:glaubitz:branches:devel:languages:python
- 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/request/show/1239213
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
374994f19d Accepting request 1186412 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1186412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flexmock?expand=0&rev=8
2024-07-09 18:06:01 +00:00
b802008253 Accepting request 1185797 from home:smolsheep:upgrades
- Replace deprecated %setup with %autosetup
- Fix source URL -- pythonhosted no longer includes setup.py
- Update to 0.12.1:
  * Flexmock Pytest plugin entrypoint missing from setup.py.
- Updates from 0.12.0:
  * Add tox.ini to sdist to make the downstream testing easier.
  * Add Python 3.12 and 3.13 support.
  * Drop Python 3.6 and 3.7 support.
  * Drop Pytest 5.x support.
  * Fixed the pytest integration by switching from wrapping of the
    test runner to the pytest plugin system.

OBS-URL: https://build.opensuse.org/request/show/1185797
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flexmock?expand=0&rev=18
2024-07-09 13:27:49 +00:00
4 changed files with 41 additions and 11 deletions

View File

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

View File

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

View File

@@ -1,3 +1,32 @@
-------------------------------------------------------------------
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>
- Replace deprecated %setup with %autosetup
- Fix source URL -- pythonhosted no longer includes setup.py
- Update to 0.12.1:
* Flexmock Pytest plugin entrypoint missing from setup.py.
- Updates from 0.12.0:
* Add tox.ini to sdist to make the downstream testing easier.
* Add Python 3.12 and 3.13 support.
* Drop Python 3.6 and 3.7 support.
* Drop Pytest 5.x support.
* Fixed the pytest integration by switching from wrapping of the
test runner to the pytest plugin system.
-------------------------------------------------------------------
Mon Nov 27 18:51:02 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-flexmock
#
# Copyright (c) 2023 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.11.3
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: https://files.pythonhosted.org/packages/source/f/flexmock/flexmock-%{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
@@ -39,13 +40,13 @@ redundancies in the Ruby flexmock API, alters some defaults, and introduces
a number of Python-only features.
%prep
%setup -q -n flexmock-%{version}
%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