From f37038871138534608b5c6080b692de663274ca7004b76ac3e257ec3d2b58efa Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 22 Oct 2024 06:11:17 +0000 Subject: [PATCH] - 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 --- pytest-svn-1.7.0.tar.gz | 3 --- pytest-svn-1.8.0.tar.gz | 3 +++ python-pytest-svn.changes | 8 ++++++++ python-pytest-svn.spec | 18 ++++++++++-------- 4 files changed, 21 insertions(+), 11 deletions(-) delete mode 100644 pytest-svn-1.7.0.tar.gz create mode 100644 pytest-svn-1.8.0.tar.gz diff --git a/pytest-svn-1.7.0.tar.gz b/pytest-svn-1.7.0.tar.gz deleted file mode 100644 index e98c625..0000000 --- a/pytest-svn-1.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:548e46a3e8507c619d1142102939a9fe700ceeacbaa598e3048d697c3a4642d9 -size 8880 diff --git a/pytest-svn-1.8.0.tar.gz b/pytest-svn-1.8.0.tar.gz new file mode 100644 index 0000000..7b68166 --- /dev/null +++ b/pytest-svn-1.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ad89ca6326b99c2281288ed77869150a813b4a9fc56e029ee5f0c4b5281f1ed +size 8127 diff --git a/python-pytest-svn.changes b/python-pytest-svn.changes index 7134286..64aa701 100644 --- a/python-pytest-svn.changes +++ b/python-pytest-svn.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Oct 22 06:08:51 UTC 2024 - Steve Kowalik + +- 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 diff --git a/python-pytest-svn.spec b/python-pytest-svn.spec index c7bd41f..f143db7 100644 --- a/python-pytest-svn.spec +++ b/python-pytest-svn.spec @@ -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