forked from pool/python-pytest-git
Accepting request 1216908 from devel:languages:python:pytest
- 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/request/show/1216908 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-git?expand=0&rev=4
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:356fef84eb0d663d2a5eceafb3ff6b2c3043b2b964b1872b67e51979dbbb43f8
|
|
||||||
size 9122
|
|
||||||
3
pytest-git-1.8.0.tar.gz
Normal file
3
pytest-git-1.8.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e828ad716241f6485efda805aade5a17a034c720070a7121668155e6e706b415
|
||||||
|
size 8754
|
||||||
@@ -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.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 7 15:56:27 UTC 2020 - Todd R <toddrme2178@gmail.com>
|
Tue Jan 7 15:56:27 UTC 2020 - Todd R <toddrme2178@gmail.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-git
|
# spec file for package python-pytest-git
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 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,18 +16,17 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
Name: python-pytest-git
|
Name: python-pytest-git
|
||||||
Version: 1.7.0
|
Version: 1.8.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Git repository fixture for pytest
|
Summary: Git repository fixture for pytest
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
URL: https://github.com/man-group/pytest-plugins
|
||||||
URL: https://github.com/manahl/pytest-plugins
|
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-git/pytest-git-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pytest-git/pytest-git-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools-git}
|
BuildRequires: %{python_module setuptools-git}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-GitPython
|
Requires: python-GitPython
|
||||||
@@ -48,10 +47,10 @@ Git repository fixture for py.test
|
|||||||
%setup -q -n pytest-git-%{version}
|
%setup -q -n pytest-git-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -60,6 +59,8 @@ Git repository fixture for py.test
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGES.md README.md
|
%doc CHANGES.md README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pytest_git.py
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__/pytest_git.*.pyc
|
||||||
|
%{python_sitelib}/pytest_git-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user