- update to 1.4.1:

* Replace usage of ``tmpdir`` by ``tmp_path``
  * Fix package so the ``LICENSE`` file is no longer in the root
    of the package.
  * Python 3.9 and 3.10 are now officially supported.
  * Python 2.7, 3.4 and 3.5 are no longer supported.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-datadir?expand=0&rev=6
This commit is contained in:
2023-05-04 23:14:33 +00:00
committed by Git OBS Bridge
parent 98b41554de
commit 905d937809
4 changed files with 18 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-datadir
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,9 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-pytest-datadir
Version: 1.3.1
Version: 1.4.1
Release: 0
Summary: Plugin for test data directories and files
License: MIT
@@ -48,7 +48,6 @@ pytest plugin for test data directories and files.
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
rm %{buildroot}%{_prefix}/LICENSE
%check
%pytest
@@ -56,6 +55,7 @@ rm %{buildroot}%{_prefix}/LICENSE
%files %{python_files}
%doc AUTHORS CHANGELOG.rst README.md
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/pytest_datadir
%{python_sitelib}/pytest_datadir*.egg-info
%changelog