14
0
forked from pool/python-requre

Accepting request 1151858 from devel:languages:python

- restrict to new python stack in sle15

- update to 0.8.4:
  * Provide `__version__` of the package so it can be easily
    checked when installed on the system.
  * Fix an issue of clashing with the _coverage_.
  * Packaging has been modernized.

  * class shortcut decorators

OBS-URL: https://build.opensuse.org/request/show/1151858
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requre?expand=0&rev=4
This commit is contained in:
2024-02-26 18:47:06 +00:00
committed by Git OBS Bridge
4 changed files with 23 additions and 14 deletions

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Feb 26 16:32:40 UTC 2024 - Dirk Müller <dmueller@suse.com>
- restrict to new python stack in sle15
-------------------------------------------------------------------
Mon Feb 26 12:27:18 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.8.4:
* Provide `__version__` of the package so it can be easily
checked when installed on the system.
* Fix an issue of clashing with the _coverage_.
* Packaging has been modernized.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 17 07:00:01 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com> Mon Jul 17 07:00:01 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
@@ -12,7 +26,7 @@ Mon Jun 20 06:04:36 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.8.2: - Update to 0.8.2:
* default decorator if not given * default decorator if not given
* guess output decorator class * guess output decorator class
* class shortcut decorators * class shortcut decorators
* python tuple support as base type * python tuple support as base type
* Fix a performance issue when detecting cassettes following the old * Fix a performance issue when detecting cassettes following the old
naming format. naming format.

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-requre # spec file for package python-requre
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,16 +16,16 @@
# #
%{?sle15_python_module_pythons}
Name: python-requre Name: python-requre
Version: 0.8.2 Version: 0.8.4
Release: 0 Release: 0
Summary: Python libray for storing and using objects for testing Summary: Python libray for storing and using objects for testing
License: MIT License: MIT
URL: https://github.com/packit-service/requre URL: https://github.com/packit-service/requre
Source: https://files.pythonhosted.org/packages/source/r/requre/requre-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/r/requre/requre-%{version}.tar.gz
BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@@ -35,7 +35,7 @@ Requires: python-click
Requires: python-requests Requires: python-requests
Suggests: python-pytest Suggests: python-pytest
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun): update-alternatives
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module PyYAML}
@@ -52,11 +52,6 @@ various objects and use stored data for testing.
%prep %prep
%setup -q -n requre-%{version} %setup -q -n requre-%{version}
sed -i '1{/#!/d}' requre/requre_patch.py
# https://github.com/packit/requre/issues/131
sed -i 's/not network_connection_avalilable()/False/' tests/*.py
# Remove cyclic dependency with ogr # Remove cyclic dependency with ogr
rm tests/test_E2E_ogr.py rm tests/test_E2E_ogr.py

View File

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

3
requre-0.8.4.tar.gz Normal file
View File

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