diff --git a/pytest-git-1.7.0.tar.gz b/pytest-git-1.7.0.tar.gz deleted file mode 100644 index 56c25dd..0000000 --- a/pytest-git-1.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:356fef84eb0d663d2a5eceafb3ff6b2c3043b2b964b1872b67e51979dbbb43f8 -size 9122 diff --git a/pytest-git-1.8.0.tar.gz b/pytest-git-1.8.0.tar.gz new file mode 100644 index 0000000..c9fdbbe --- /dev/null +++ b/pytest-git-1.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e828ad716241f6485efda805aade5a17a034c720070a7121668155e6e706b415 +size 8754 diff --git a/python-pytest-git.changes b/python-pytest-git.changes index 45a72e9..b9697df 100644 --- a/python-pytest-git.changes +++ b/python-pytest-git.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. + ------------------------------------------------------------------- Tue Jan 7 15:56:27 UTC 2020 - Todd R diff --git a/python-pytest-git.spec b/python-pytest-git.spec index bdec8f8..08a00fb 100644 --- a/python-pytest-git.spec +++ b/python-pytest-git.spec @@ -1,7 +1,7 @@ # # 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 # 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 -Version: 1.7.0 +Version: 1.8.0 Release: 0 Summary: Git 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-git/pytest-git-%{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-GitPython @@ -48,10 +47,10 @@ Git repository fixture for py.test %setup -q -n pytest-git-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -60,6 +59,8 @@ Git repository fixture for py.test %files %{python_files} %doc CHANGES.md README.md %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