- Update to 1.8.0:

* Drop support for Python 2 and <3.6, removing compatibility code.
  * Use stdlib unittest.mock instead of mock package.
  * Removed usage of path.py and path in favour of pathlib.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-svn?expand=0&rev=5
This commit is contained in:
2024-10-22 06:11:17 +00:00
committed by Git OBS Bridge
parent dc33440607
commit f370388711
4 changed files with 21 additions and 11 deletions

View File

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

3
pytest-svn-1.8.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Oct 22 06:08:51 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.8.0:
* Drop support for Python 2 and <3.6, removing compatibility code.
* Use stdlib unittest.mock instead of mock package.
* Removed usage of path.py and path in favour of pathlib.
-------------------------------------------------------------------
Mon Jun 3 09:04:42 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-svn
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -16,17 +16,17 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-svn
Version: 1.7.0
Version: 1.8.0
Release: 0
Summary: SVN repository fixture for pytest
License: MIT
Group: Development/Languages/Python
URL: https://github.com/manahl/pytest-plugins
URL: https://github.com/man-group/pytest-plugins
Source: https://files.pythonhosted.org/packages/source/p/pytest-svn/pytest-svn-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools-git}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest
@@ -47,10 +47,10 @@ SVN repository fixture for py.test.
%setup -q -n pytest-svn-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -59,6 +59,8 @@ SVN repository fixture for py.test.
%files %{python_files}
%doc CHANGES.md README.md
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/pytest_svn.py
%pycache_only %{python_sitelib}/__pycache__/pytest_svn*.pyc
%{python_sitelib}/pytest_svn-%{version}.dist-info
%changelog