From b802008253c414eeaf8919ca2e44af21543f670f011c4988814c438917d4c6d1 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 9 Jul 2024 13:27:49 +0000 Subject: [PATCH] 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 --- flexmock-0.11.3.tar.gz | 3 --- python-flexmock-0.12.1.tar.gz | 3 +++ python-flexmock.changes | 15 +++++++++++++++ python-flexmock.spec | 8 ++++---- 4 files changed, 22 insertions(+), 7 deletions(-) delete mode 100644 flexmock-0.11.3.tar.gz create mode 100644 python-flexmock-0.12.1.tar.gz diff --git a/flexmock-0.11.3.tar.gz b/flexmock-0.11.3.tar.gz deleted file mode 100644 index 139ac37..0000000 --- a/flexmock-0.11.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b1fe35f6a5f32547b5cd31a15c060d9ab863dc08aff018cd73dc78d1b651edd4 -size 52509 diff --git a/python-flexmock-0.12.1.tar.gz b/python-flexmock-0.12.1.tar.gz new file mode 100644 index 0000000..a4bb117 --- /dev/null +++ b/python-flexmock-0.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f329605039eb43fe549aa163eb34d302e6765a2f7fc841e6b992c01678cdfcc +size 104093 diff --git a/python-flexmock.changes b/python-flexmock.changes index fb4829d..737e097 100644 --- a/python-flexmock.changes +++ b/python-flexmock.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Fri Jul 5 13:21:48 UTC 2024 - Joshua Smith + +- 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 diff --git a/python-flexmock.spec b/python-flexmock.spec index 93dc228..e98629e 100644 --- a/python-flexmock.spec +++ b/python-flexmock.spec @@ -1,7 +1,7 @@ # # spec file for package python-flexmock # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,12 +18,12 @@ %{?sle15_python_module_pythons} Name: python-flexmock -Version: 0.11.3 +Version: 0.12.1 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/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -39,7 +39,7 @@ 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